Terminal process startup failed: the path of shell executable “C: \ installspace \ git \ bin \ bash. Exe”

Time:2022-4-29

**

Terminal process startup failed: the path of shell executable “C: \ installspace \ git \ bin \ bash. Exe”

1、 Settings – command panelTerminal process startup failed: the path of shell executable
2、 Search – open settings (JSON)
Terminal process startup failed: the path of shell executable
3、 Configure settings jsonTerminal process startup failed: the path of shell executable
4、 Replace the code inside with

{
    "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, // let prettier use the eslint code format for verification
    "Prettier. Singlequote": true, // prettier configuration --- use single quotation marks
    "Prettier. Semi": false, // prettier configuration --- no semicolon at the end
    "Prettier. Printwidth": 140, // prettier configuration --- the maximum number of characters displayed per line
    // 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
    //Compile less into CSS file and generate the location relative to the current less file
    // "less.compile": {
    //     "out": "../css/"
    // },
}

5、 Complete
If it is 2.0

{
    "workbench.iconTheme": "material-icon-theme",
    "explorer.confirmDragAndDrop": false,
    "explorer.confirmDelete": false,
    //Configure eslint
    "Eslint. Autofixonsave": true, // enable automatic repair when saving. By default, only JS file
    "eslint.validate": [
        "JavaScript", // use the rules of eslint to detect JS files
        {
            "Language": "Vue"
            "Autofix": true // enables the function of saving automatic repair for Vue files
        },
        {
            "language": "html",
            "autoFix": true
        },
    ],
    "editor.codeActionsOnSave": {
        "source.fixAll.eslint": true
    },
}