突出显示 Visual Studio 代码中的功能,例如 NetBeans
Highlight functions in Visual Studio Code like NetBeans
以下两个屏幕截图演示了我需要的内容,其中第一个来自 NetBeans IDE 8.2,第二个来自 VSCode 1.17.2。
我通常想要白色高亮,在左边,行出现在 NetBeans IDE 中可以找到,或者类似的东西,在 VSCode.
我试过以下设置:
"editor.showFoldingControls": "always",
我也尝试搜索任何关于折叠和代码高亮的插件,但我无法确定哪个适合在代码高亮上执行这种视觉效果。
VSCode 中编辑器的装订线部分没有可视指示器。
这是在 Microsoft/vscode
issue 25132 or issue 19690, closed in favor of issue 60670 and PR 77363 中提出的要求:“从区域末尾添加折叠”,从未合并过。
目前,VSCode 1.42(2020 年第一季度)提议“Folded region highlighting”
Folded code regions are now easier to discover with the addition of a background highlight.
The feature is controlled by the setting editor.foldingHighlight
and the color can be customized with the color editor.foldBackground
.
"workbench.colorCustomizations": {
"editor.foldBackground": "#355000"
}
这意味着那些功能(可折叠)更容易被发现。
从那里开始:
- Shift + 在折叠指示器上单击一次以首先折叠内部范围。
- Shift + 再次单击(当所有内部范围都已折叠时)将折叠父级。
- Shift + 再次点击展开全部。
有用 --> Ctrl + Shift + \ 跳转到匹配的括号
以下两个屏幕截图演示了我需要的内容,其中第一个来自 NetBeans IDE 8.2,第二个来自 VSCode 1.17.2。
我通常想要白色高亮,在左边,行出现在 NetBeans IDE 中可以找到,或者类似的东西,在 VSCode.
我试过以下设置:
"editor.showFoldingControls": "always",
我也尝试搜索任何关于折叠和代码高亮的插件,但我无法确定哪个适合在代码高亮上执行这种视觉效果。
VSCode 中编辑器的装订线部分没有可视指示器。
这是在 Microsoft/vscode
issue 25132 or issue 19690, closed in favor of issue 60670 and PR 77363 中提出的要求:“从区域末尾添加折叠”,从未合并过。
目前,VSCode 1.42(2020 年第一季度)提议“Folded region highlighting”
Folded code regions are now easier to discover with the addition of a background highlight.
The feature is controlled by the setting
editor.foldingHighlight
and the color can be customized with the coloreditor.foldBackground
.
"workbench.colorCustomizations": {
"editor.foldBackground": "#355000"
}
这意味着那些功能(可折叠)更容易被发现。
从那里开始:
- Shift + 在折叠指示器上单击一次以首先折叠内部范围。
- Shift + 再次单击(当所有内部范围都已折叠时)将折叠父级。
- Shift + 再次点击展开全部。
有用 --> Ctrl + Shift + \ 跳转到匹配的括号