Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
davidavetyan opened this issue Dec 16, 2023 · 0 comments
Open

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

davidavetyan opened this issue Dec 16, 2023 · 0 comments

Comments

@davidavetyan
Copy link

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:

  • Clang Power Tools: 2023.9.0
  • LLVM: 17.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant