**
終端進(jìn)程啟動失敗: shell 可執(zhí)行文件“C:\instaillSpace\Git\bin\bash.exe”的路徑
一、設(shè)置–命令面板
二、搜索–打開設(shè)置(json)
三、配置settings.json
四、替換里面代碼為
{"workbench.iconTheme": "vscode-icons",// "editor.fontFamily": "Iosevka Term, Microsoft YaHei, Consolas, 'Courier New', monospace",// "debug.console.fontSize": 16,"editor.fontSize": 18,"editor.formatOnSave": true,"eslint.autoFixOnSave": true,"eslint.validate": ["javascript",{"language": "vue","autoFix": true},{"language": "html","autoFix": true}],"terminal.integrated.rendererType": "dom","terminal.integrated.fontFamily": "monospace","editor.renderWhitespace": "none","svn.enableProposedApi": "product","[markdown]": {"editor.defaultFormatter": "yzhang.markdown-all-in-one"},"prettier-eslint.eslintIntegration": true, //讓prettier使用eslint的代碼格式進(jìn)行校驗"prettier.singleQuote": true, // prettier配置 --- 使用單引號"prettier.semi": false, // prettier配置 --- 結(jié)尾不加分號"prettier.printWidth": 140, // prettier配置 --- 每行最多顯示的字符數(shù)// UP IS COSTOMER"vetur.format.defaultFormatter.html": "js-beautify-html","vetur.format.defaultFormatter.js": "vscode-typescript","javascript.format.insertSpaceBeforeFunctionParenthesis": true,"editor.quickSuggestions": {"strings": true},// "editor.tabSize": 2,"files.associations": {"*.vue": "vue","*.cjson": "jsonc","*.wxss": "css","*.wxs": "javascript"},"beautify.language": {"html": ["htm","html","vue"]},"explorer.confirmDelete": false,"vetur.validation.template": false,"[javascript]": {"editor.defaultFormatter": "vscode.typescript-language-features"},"[vue]": {"editor.defaultFormatter": "HookyQR.beautify"// "editor.defaultFormatter": "vscode.typescript-language-features"},"javascript.updateImportsOnFileMove.enabled": "always","[html]": {"editor.defaultFormatter": "HookyQR.beautify"},"emmet.includeLanguages": {"wxml": "html"},"minapp-vscode.disableAutoConfig": true,"window.zoomLevel": 0,"[json]": {"editor.defaultFormatter": "esbenp.prettier-vscode"},"vetur.experimental.templateInterpolationService": true,"editor.minimap.enabled": false,"editor.codeActionsOnSave": {"source.fixAll.eslint": true},"editor.mouseWheelZoom": true,"http.systemCertificates": false// 將less編譯成css文件生成的位置,相對于當(dāng)前l(fā)ess文件的位置// "less.compile": {// "out": "../css/"// },
}
五、完成
如若是2.0用
{"workbench.iconTheme": "material-icon-theme","explorer.confirmDragAndDrop": false,"explorer.confirmDelete": false,//配置eslint"eslint.autoFixOnSave": true, // 啟用保存時自動修復(fù),默認(rèn)只支持.js文件"eslint.validate": ["javascript", // 用eslint的規(guī)則檢測js文件{"language": "vue", // 檢測vue文件"autoFix": true // 為vue文件開啟保存自動修復(fù)的功能},{"language": "html","autoFix": true},],"editor.codeActionsOnSave": {"source.fixAll.eslint": true},
}
總結(jié)
以上是生活随笔為你收集整理的终端进程启动失败: shell 可执行文件“C:\instaillSpace\Git\bin\bash.exe”的路径的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。