w.b*_*ian 7 visual-studio-code vscode-extensions
是否可以使用扩展API更改Visual Studio代码中的光标外观?知道VS Code是建立在Chromium之上的,并且没有办法使用CSS在浏览器中设置文本光标的样式,这似乎不太可能.
我正在搞乱并试图实现一些简单的模态编辑,我想在正常模式下创建像vim一样的块游标.
Dan*_*ard 10
我不确定使用扩展API,但您可以通过您的用户首选项文件(扩展必须能够修改,因为"Vim"扩展程序如上面的评论中所述)执行此操作:
文件 - >首选项 - >用户设置
将以下内容放入settings.json:
// Place your settings in this file to overwrite the default settings
{
// Controls the cursor style, accepted values are 'block', 'line' and 'underline'
"editor.cursorStyle": "block"
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5250 次 |
| 最近记录: |