Wumpf / IncludeToolbox

Visual Studio extension to format, prune, and inspect include directives.
https://marketplace.visualstudio.com/items?itemName=Wumpf.IncludeToolbox
MIT License
50 stars 22 forks source link

Remove check that prevents adding newlines before the last line #49

Closed dakotahawkins closed 6 years ago

dakotahawkins commented 6 years ago

de88fd1c added a check to prevent adding a newline before the last line in a batch. Since we're prepending, however, a newline is desirable if the last line is the only one in its group.

Fixes #48

dakotahawkins commented 6 years ago

I assume updating the packages is OK, but your comment in #47 worries me w.r.t. VS2015 compatibility.

I'll see if I can test it (my VS environments are a little messed up at the moment).

:-1: Doesn't work! :-1:

dakotahawkins commented 6 years ago

2015 is broken, probably by NuGet updates.

dakotahawkins commented 6 years ago

New PR: #50