VSCode setting.json配置及解析

{
    "workbench.colorTheme": "βui - Tomorrow Dark",
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    "backgroundCover.randomImageFolder": "d:\\WorkSpace\\img",
    "editor.mouseWheelZoom": true,
    "backgroundCover.opacity": 0.8,
    "backgroundCover.imagePath": "d:\\WorkSpace\\img\\初音0.jpg",
    "git.path": "D:/software/Git/cmd/git.exe",
    "breadcrumbs.enabled": true,
    "git.enableSmartCommit": true,
    "files.exclude": {
        "**/.classpath": true,
        "**/.project": true,
        "**/.settings": true,
        "**/.factorypath": true
    },
    "workbench.iconTheme": "material-icon-theme",
    "cSpell.userWords": [
        "shany",
        "Shany",
		"Autowired"
    ],
    "editor.fontFamily": "Consolas, 'Source Code Pro', monospace",
    "editor.largeFileOptimizations": false,
    "code-runner.runInTerminal": true,
    "python.jediEnabled": true,
    "window.zoomLevel": 0,
    "sqltools.useNodeRuntime": true,
    "python.pythonPath": "D:\\software\\Python27\\python.exe",
    "terminal.integrated.fontFamily": "Consolas, 'Source Code Pro', monospace" ,
    "python.terminal.executeInFileDir": true,//修改爲true之後,terminal中用到python.exe執行的地方都會調用python。pythonPath中的python.exe的文件
    "java.home": "C:\\Program Files\\Java\\jdk1.8.0_201",
    "java.autobuild.enabled": true,
    "workbench.editor.enablePreview": false,
}

在切換python版本後,需要設置python.pythonPath,來指定python.exe的位置,雖然在系統環境變量裏修改,但是這裏還是需要修改,同時也需要指定python.terminal.executeInFileDir,來設置terminal裏面python.exe執行爲true(此處默認爲false)。

如果切換了jdk版本,這裏需要配置java.home,不然可能會找到不到jdk。

cSpell.userWords是一個檢測語法拼寫的插件的用戶自定義庫,用於處理一些自定義詞彙合法性。

workbench.editor.enablePreview是控制文件轉跳時是否打開一個新的標籤頁,默認爲true。

備註:以後可能會寫一篇關於vscode插件推薦的文章。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章