How to disable displaying comments at the end of array in VS Code?

雨燕双飞 提交于 2021-01-28 09:18:43

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!