summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorChangsu Park <19ds10718@dshs.kr>2021-08-04 09:22:40 +0900
committerGitHub <noreply@github.com>2021-08-04 01:22:40 +0100
commit9c69db47000c84671abd9e567c124b6f1893cba5 (patch)
tree4fdc9ef4481bcf061fcf3aafa06c898a9e73450d /docs
parent8802d28aade4c403c69daa45f9ff0dba790116c8 (diff)
Updated settings.json file to fit VSC's docs (#13829)
This change fixes the warning caused by deprecated way of configuring terminal profiles.

The warning caused by old settings.json is the following:
This is deprecated, the new recommended way to configure your default shell is by creating a terminal profile in `#terminal.integrated.profiles.windows#` and setting its profile name as the default in `#terminal.integrated.defaultProfile.windows#`. This will currently take priority over the new profiles settings but that will change in the future.

Refer to the link below for more information:
https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration
Diffstat (limited to 'docs')
-rw-r--r--docs/other_vscode.md17
1 files changed, 10 insertions, 7 deletions
diff --git a/docs/other_vscode.md b/docs/other_vscode.md
index 823f8b4982..2de3c8cb45 100644
--- a/docs/other_vscode.md
+++ b/docs/other_vscode.md
@@ -65,14 +65,17 @@ Now, we will set up the MSYS2 window to show up in VSCode as the integrated term
 
    ```json
    {
-        "terminal.integrated.shell.windows": "C:\\msys64\\usr\\bin\\bash.exe",
-        "terminal.integrated.env.windows": {
-            "MSYSTEM": "MINGW64",
-            "CHERE_INVOKING": "1"
+        "terminal.integrated.profiles.windows": {
+            "QMK_MSYS": {
+                "path": "C:/QMK_MSYS/usr/bin/bash.exe",
+                "env": {
+                    "MSYSTEM": "MINGW64",
+                    "CHERE_INVOKING": "1"
+                },
+                "args": ["--login"]
+            }
         },
-        "terminal.integrated.shellArgs.windows": [
-            "--login"
-        ],
+
         "terminal.integrated.cursorStyle": "line"
     }
     ```