-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
JavaScript code formatting not working properly after v0.10.10 #7459
Comments
This is a duplicate of #6700. |
Moving to Salsa |
@egamma This doesn't look like a dupe of #6700, which was a bug where it was removing indentation at the start of the line as you type (and is now fixed). This looks like a preference to have a space between the keyword |
@billti you are correct, sorry about that. For the March update we will expose the TS formatter settings to the user as user settings microsoft/vscode#3721 so this should cover this request and we will use this issue as a test case. |
From @mlakmal on March 8, 2016 0:47
We are extensively using javascript auto format code feature in vs code to reduce js lint errors.
Ex: spaces after function and function name etc ...
after updating to v0.10.10 above formatting is not working any more and it reset all the formatted functions without spaces.
Can someone help or give information how to override this rule ?
var test = function() { }; //this is what new version format js code to.
but we are expecting and previously worked before like below.
var test = function () { };
Copied from original issue: microsoft/vscode#3796
The text was updated successfully, but these errors were encountered: