vscode配置cmake c++项目(编译、调试)-安装vscode插件,配置相关环境
最编程
2024-08-01 13:26:03
...
本人配置如下:(其中c++和cmake相关必要,其他选用即可,本博客主要用于个人整理记录)
注:vscode参数设置json文件配置如下:
点击左下角齿轮,打开设置按钮,右上角点击打开设置json按钮,如下所示:
将下述json键值对拷贝替换,原json文件中的设置,完成vscode相关配置。
{
"files.autoSave": "afterDelay",
"files.autoGuessEncoding": true,
"workbench.list.smoothScrolling": true,
"editor.cursorSmoothCaretAnimation": "on",
"editor.smoothScrolling": true,
"editor.cursorBlinking": "smooth",
"editor.mouseWheelZoom": true,
"editor.formatOnPaste": true,
"editor.formatOnType": true,
"editor.formatOnSave": true,
"editor.wordWrap": "on",
"editor.guides.bracketPairs": true,
"editor.bracketPairColorization.enabled": true, //(此设置vscode在较新版本已默认开启)
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.acceptSuggestionOnEnter": "smart",
"editor.suggestSelection": "recentlyUsed",
"window.dialogStyle": "custom",
"debug.showBreakpointsInOverviewRuler": true,
"workbench.colorTheme": "GitHub Dark",
}