vscode 文件名绿色,提示数字1

https://stackoverflow.com/questions/48713409/files-in-a-folder-are-highlighted-green-with-a-number-1-next-to-them-what-does

····

问题

vscode里面文件名变成了绿色, 并有个绿色的数字1

原因

因为。 此文件产生了warning, 并且有且只有一个warning

Stack Overflow 回答
**Those are the file explorer’s problem decorations. They use colors and indicators to show which files have problems associated with them. The green here indicates there is a warning in the file, and the 1 indicates that there is one warning.
You can disable these by setting: “problems.decorations.enabled”: false**

猜你喜欢

转载自blog.csdn.net/qq_29007291/article/details/81326555