I used ubuntu when building the development environment for python3 (django), A memorandum that I found when I checked if I could type a command on VScode used when coding
VScode has been downloaded ubuntu has been downloaded and the username and password have been set
VS code lower left setting (gear) ⇒ setting
If you search for [shell], the following sentences are in the middle.
Terminal › Integrated › Shell Args: Windows
Click below below Edit with `settings.json``
Since settings.json is opened, add the path of bash.exe in {} and complete
settings.json
{
    "editor.formatOnPaste": true,
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    "emmet.triggerExpansionOnTab": true,
    "window.zoomLevel": 0,
    "[html]": {
        "editor.defaultFormatter": "mohd-akram.vscode-html-format"
    },
    "files.associations": {
        "*.html": "html"
    },
    "terminal.integrated.shell.windows": "C:\\Windows\\System32\\bash.exe",
↑ Add this
}
[Ctrl + @] opens a terminal on VScode. If it has the same user name as when it was opened on ubuntu, it ends.
Recommended Posts