VSCode, Pytorch, PowerShell, Settings

settings.json
{
    "workbench.colorTheme": "Default High Contrast",
    "cmake.pinnedCommands": [
        "workbench.action.tasks.configureTaskRunner",
        "workbench.action.tasks.runTask"
    ],
    "terminal.integrated.profiles.windows": {
       
        "PowerShell": {
            "source": "PowerShell",
            "icon": "terminal-powershell"
        },
        "Command Prompt": {
            "path": [
                "${env:windir}\\Sysnative\\cmd.exe",
                "${env:windir}\\System32\\cmd.exe"
            ],
            "args": [],
            "icon": "terminal-cmd"
        },
        "Git Bash": {
            "source": "Git Bash"
        }
    }
}
--------------------------------------------------------
{ "workbench.colorTheme": "Default High Contrast", "cmake.pinnedCommands": [ "workbench.action.tasks.configureTaskRunner", "workbench.action.tasks.runTask" ], "terminal.integrated.profiles.windows": { "PowerShell-7": { "path": "C:\\Program Files\\PowerShell\\7\\pwsh.exe", "args": ["-noexit"], "icon": "terminal-powershell" }, "PowerShell-5": { "path": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", "args": ["-noexit"], "icon": "terminal-powershell" }, "Command Prompt": { "path": [ "${env:windir}\\Sysnative\\cmd.exe", "${env:windir}\\System32\\cmd.exe" ], "args": [], "icon": "terminal-cmd" }, "Git Bash": { "source": "Git Bash" } }, "terminal.integrated.defaultProfile.windows": "PowerShell-7" }

Real
------------------------------------
{
    "workbench.colorTheme": "Default High Contrast",
    "cmake.pinnedCommands": [
        "workbench.action.tasks.configureTaskRunner",
        "workbench.action.tasks.runTask"
    ],
    "terminal.integrated.profiles.windows": {
        "PowerShell-7": {
            "path": "D:\\Tools\\Pws\\7\\pwsh.exe",
            "args": ["-noexit"],
            "icon": "terminal-powershell"
        },
        "PowerShell-5": {
            "path": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
            "args": ["-noexit"],
            "icon": "terminal-powershell"
        },
        "Command Prompt": {
            "path": [
                "${env:windir}\\Sysnative\\cmd.exe",
                "${env:windir}\\System32\\cmd.exe"
            ],
            "args": [],
            "icon": "terminal-cmd"
        },
        "Git Bash": {
            "source": "Git Bash"
        }
    },
    "terminal.integrated.defaultProfile.windows": "PowerShell-7"
}


Комментарии