Caphyon / clang-power-tools

Bringing clang-tidy magic to Visual Studio C++ developers.
http://www.clangpowertools.com
Apache License 2.0
472 stars 57 forks source link

Format adds an unnecessary empty line at the end of the file #1337

Open davidavetyan opened 6 months ago

davidavetyan commented 6 months ago

When using Format from the extension, an empty line is always added to the end of the file. This doesn't happen when using the built-in formatter from Visual Studio.

An empty line is added even when InsertNewlineAtEOF option is set to false in the .clang-format file.

Used versions: