Vscode大纲视图,默认显示全部变量,就很丑。
只需要ctrl+shift+p,修改setting.json的outline.showVariables的默认设置,为false就行了。
"outline.showVariables": false,
效果图
这样,大纲视图就只显示类名和函数名了。
Vscode大纲视图,默认显示全部变量,就很丑。
只需要ctrl+shift+p,修改setting.json的outline.showVariables的默认设置,为false就行了。
"outline.showVariables": false,
效果图
这样,大纲视图就只显示类名和函数名了。