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

Running formatter removes last line of file if there is no trailing newline #13

Closed
beefsack opened this issue Jul 3, 2017 · 0 comments

Comments

@beefsack
Copy link
Contributor

beefsack commented Jul 3, 2017

I'm using Arch Linux, and VSCode Hack 0.5.0. If there is no newline at the end of the file, the last line gets removed when formatting, which can remove closing braces and create syntax errors.

PranayAgarwal added a commit that referenced this issue Nov 19, 2017
Fix #13 to ensure last character is preserved by increasing the forma…
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