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
Razor Formatting Issues with :w #1349
Comments
Thanks for filing the issue! Can you clariify one point. Is the |
Didn't think to check this before. It seems that when :w is hit, it'll save it to disk, then run the formatter. Opening the file in sublime text shows the text changes, but not the formatting changes it will sometimes attempt. |
I came to report this and a cursory search turned up this issue. |
This sounds a bit like what I'm observing. When I try to |
I'm on MacOS and VSVim will not allow me to press Also while I'm here, VSVim doesn't work at all in XML files. |
I've noticed this mostly in razor template files, (specifically .cshtml files, but once or twice in plain html) but when using :w to save, the formatter tries to format, and the lines will be marked as unsaved. Ctrl+s works properly. Repeated attempts at :w will run the formatter, but still won't properly save.
It's especially bad around Razor if statements, or anything that requires curly braces.
I'm running Visual Studio 2013 Update 2 RC, but this has been a problem since before that installation. Windows 7 x64, if that matters.
Plugins installed:
Productivity Power Tools 2013 (format on save is off)
Web Essentials 2013
This is the code sample that led me to filing the bug:
The text was updated successfully, but these errors were encountered: