codeformatter icon indicating copy to clipboard operation
codeformatter copied to clipboard

Using the /nocopyright switch produces 2 blank lines on the top of every file

Open matlus opened this issue 9 years ago • 5 comments

Using the /nocopyright switch produces 2 blank lines at the very top of every code file. I'd expect that it would not do this.

matlus avatar Apr 06 '15 10:04 matlus

Found out that the 2 blank lines is added not via CopyrightHeadersRule but NewLineAboveRule

zabulus avatar Jun 22 '15 11:06 zabulus

This is a frustrating bug.

hickford avatar Aug 03 '15 10:08 hickford

@hickford this should be fixed in the latest sources (I used /nocopyright on a number of projects). Are you still seeing this with the latest sources or a particular release?

jaredpar avatar Aug 03 '15 15:08 jaredpar

Hi Jared, thanks for your reply. I used the latest release but it dates from March https://github.com/dotnet/codeformatter/releases/tag/v1.0.0-alpha5

120 commits to master since this release

How do I install from master?

hickford avatar Aug 03 '15 15:08 hickford

@hickford I don't believe we have a newer release. I think we're going to have a new one shortly thougoh given all the bug fixes we made recently.

jaredpar avatar Aug 07 '15 20:08 jaredpar