打开VSCode

组合键ctrl+shift+p搜索”settings.json”,打开User Settings

加上这一句

"editor.cursorStyle": "block","workbench.colorCustomizations": {"editorCursor.foreground": "#5c8fb1","terminalCursor.foreground": "#5c8fb1"}

效果如下: