You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Object named One will not get indented correctly.
Indent it manually, so it is aligned with Two and Three.
Press Ctrl+Shift+i
Object One is misaligned again.
It does not understand how to format an object in this way (used in highcharts for example)
It works however if the first '{' is written in an extra line (which I do not like).
I may sound picky, but this is the first code formatter, that I actually use extensively and so I really care! It formats nicely without interfering too much!
Thank you!
From @zevero on May 13, 2016 8:28
There is a glitch of the (otherwise very perfect) Javascript Code Format:
Steps to Reproduce:
0. (Set "editor.tabSize": 2 for using 2 spaces as indentation)
It does not understand how to format an object in this way (used in highcharts for example)
It works however if the first '{' is written in an extra line (which I do not like).
I may sound picky, but this is the first code formatter, that I actually use extensively and so I really care! It formats nicely without interfering too much!
Thank you!
Copied from original issue: microsoft/vscode#6336