<p dir="auto"><em>From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mlakmal/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mlakmal">@mlakmal</a> on March 8, 2016 0:47</em></p>
<p dir="auto">We are extensively using javascript auto format code feature in vs code to reduce js lint errors.<br>
Ex: spaces after function and function name etc ...</p>
<p dir="auto">after updating to v0.10.10 above formatting is not working any more and it reset all the formatted functions without spaces.</p>
<p dir="auto">Can someone help or give information how to override this rule ?</p>
<p dir="auto">var test = function() { }; //this is what new version format js code to.</p>
<p dir="auto">but we are expecting and previously worked before like below.<br>
var test = function () { };</p>
<p dir="auto"><em>Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="139139930" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/3796" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/3796/hovercard" href="https://github.com/microsoft/vscode/issues/3796">microsoft/vscode#3796</a></em></p>
<p dir="auto"><em>From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/isidorn/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/isidorn">@isidorn</a> on January 26, 2016 15:50</em></p>
<ol dir="auto">
<li>js workspace, have salsa enabled</li>
<li>"editor.formatOnType": true</li>
<li>The format on type is too aggrressive and does not respect current indentiation. This is especially noticable when trying to create object literals</li>
<li>if salse is disabled this works nicely</li>
</ol>
<p dir="auto"><em>Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="128860721" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/2377" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/2377/hovercard" href="https://github.com/microsoft/vscode/issues/2377">microsoft/vscode#2377</a></em></p>