-
Notifications
You must be signed in to change notification settings - Fork 511
Formatting is ignoring the Code Formatting settings #4283
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
Comments
What do you have your |
This may be irrelevant to your issue but your log helpfully pointed out this new error to me:
Which I'm pretty sure is caused by PowerShell/PowerShellEditorServices#1947. |
In the simplest case (See image above) I have left |
Hello! Can you please try the latest PowerShell Preview for VS Code and see if this is fixed? |
YEAH!!! |
Great, thank you for confirming! |
This issue has been marked as fixed. It has been automatically closed for housekeeping purposes. |
Prerequisites
Summary
In Visual Studio Code, I have set Code Formatting settings to match my coding standards and have been using it successfully for a couple of years.
After an update I did a week or two ago, all of a sudden, when I save a file it reformats it, ignoring the settings:
NOTE: Formatting is done correctly if I run it from a PowerShell window:
PowerShell Version
Visual Studio Code Version
Extension Version
Steps to Reproduce
In Visual Studio Code:
The file is re-formatted ignoring the settings
Visuals
Logs
EditorServices.1.log
The text was updated successfully, but these errors were encountered: