问题
The VS Code displays comments at the end of array. How to disable this feature?
Original code
var foo = <Foo>[
new Foo()
];
Displayed as
var foo = <Foo>[
new Foo()
]; // Foo[]
Where the comment // Foo[]
was displayed automatically.
来源:https://stackoverflow.com/questions/49710847/how-to-disable-displaying-comments-at-the-end-of-array-in-vs-code