wuxing164 / go-tour

Automatically exported from code.google.com/p/go-tour
0 stars 0 forks source link

"Format Source Code" adds a new line to the bottom, which is understandable; however, gofmt remov... #103

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
https://feedback.corp.google.com/#/Report/1039280450

Description:
"Format Source Code" adds a new line to the bottom, which is understandable; 
however, gofmt removes ALL blank lines from the bottom of a .go file.

UI language: en
Detected language: en

Original issue reported on code.google.com by feedback...@gmail.com on 28 Jul 2013 at 1:43

GoogleCodeExporter commented 8 years ago
There's always a trailing newline after the final statement in a file. It's up 
to the editor how that is displayed.

Original comment by a...@golang.org on 28 Jul 2013 at 11:55