text PowerShell开发的基本VSCode设置

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text PowerShell开发的基本VSCode设置相关的知识,希望对你有一定的参考价值。

{
    // editor
    "editor.quickSuggestionsDelay": 1,
    "editor.tabCompletion": "on",
    "files.defaultLanguage": "powershell",

    // default shell
    // Windows
        // PowerShell 6
            "terminal.integrated.shell.windows": "C:\\Program Files\\PowerShell\\6\\pwsh.exe",
            "powershell.powerShellExePath": "C:\\Program Files\\PowerShell\\6\\pwsh.exe",
        //PowerShell 5.1 and below
            // "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
            // "powershell.powerShellExePath": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
    // Linux
        // Ubuntu
            // "terminal.integrated.shell.linux": "/snap/powershell/36/opt/powershell/pwsh",
            // "powershell.powerShellExePath": "/snap/powershell/36/opt/powershell/pwsh",
    
    // powershell settings changes
    "powershell.codeFormatting.preset":"Stroustrup",
    "powershell.startAutomatically": true,
    "powershell.scriptAnalysis.enable": true,
    "powershell.integratedConsole.showOnStartup": false,
    "powershell.integratedConsole.focusConsoleOnExecute": true,
}

以上是关于text PowerShell开发的基本VSCode设置的主要内容,如果未能解决你的问题,请参考以下文章

史上最全VSCode插件,怪不得写代码头疼,VSCod安装与配置(适合小白)

vscod如何自定义 python虚拟环境

如何使用powershell new-SelfsignedCertificate将基本约束设置为最终实体?

杂记2--ubuntu的vscod直接调试编写.cpp

powershell https://win32.io/posts/How-To-Find-Text-PowerShell

text 用于检查sha-256下载的PowerShell脚本