text VSCode用户设置

Posted

tags:

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

{
    //SETTINGS CHANGES
    "workbench.settings.editor": "json",

    //LOOK AND FEEL CHANGES
        //editor
            "editor.renderWhitespace": "all",
            "editor.mouseWheelZoom": true,
            "editor.quickSuggestionsDelay": 1,
            "editor.tabCompletion": "on",
            "editor.parameterHints.enabled": false,
            "editor.minimap.enabled": false,
            "editor.wordSeparators": "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/?",
            //"editor.fontFamily": "Lucida Console",
            "editor.fontSize": 14,
        //window
            "window.zoomLevel": 1,
        //files
            "files.trimTrailingWhitespace": true,
        //icons & themes & colors
            "material-icon-theme.showWelcomeMessage": false,
            "workbench.iconTheme": "material-icon-theme",
            "files.defaultLanguage": "powershell",
            "workbench.colorTheme": "Dark+ Material",

    //TERMINAL
        //Default Shell
            "terminal.integrated.shell.windows": "C:\\Program Files\\PowerShell\\6\\pwsh.exe",
            // "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
            // "terminal.integrated.shell.linux": "/snap/powershell/36/opt/powershell/pwsh",
        "terminal.integrated.scrollback": 8000,

    //LANGUAGE SPECIFIC CHANGES
        //PowerShell
            //"powershell.powerShellExePath": "C:\\Program Files\\PowerShell\\6\\pwsh.exe",
            "powershell.powerShellExePath": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",

            "powershell.codeFormatting.preset":"Stroustrup",
            "powershell.startAutomatically": true,
            "powershell.scriptAnalysis.enable": true,
            "powershell.integratedConsole.showOnStartup": false,
            "powershell.integratedConsole.focusConsoleOnExecute": true,
            "powershell.codeFormatting.ignoreOneLineBlock": false,
            "powershell.developer.editorServicesLogLevel": "Normal",
            "powershell.developer.featureFlags": ["PSReadLine"],
        //csharp
            "csharp.suppressDotnetInstallWarning": true,
        //yaml
            "yaml.customTags": [
                "!And",
                "!If",
                "!Not",
                "!Equals sequence",
                "!Or",
                "!FindInMap sequence",
                "!Base64",
                "!Cidr",
                "!Ref",
                "!Sub",
                "!GetAtt",
                "!GetAZs",
                "!ImportValue",
                "!Select sequence",
                "!Split",
                "!Join sequence"
            ],
    //EXTENSION SPECIFIC SETTINGS
        //yaml
            "yaml.validate": false,
        //shell launcher
            "shellLauncher.shells.windows": [
                {
                    "shell": "C:\\Windows\\system32\\cmd.exe",
                    "label": "cmd"
                },
                {
                    "shell": "C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe",
                    "label": "PowerShell 5.1"
                },
                {
                    "shell": "C:\\Program Files\\PowerShell\\6\\pwsh.exe",
                    "label": "PowerShell 6.1"
                }
            ],
        "terminal.integrated.rendererType": "dom",
        "explorer.confirmDragAndDrop": false,
        //better comments
            "better-comments.tags": [
                {
                    "tag": "!",
                    "color": "#FF2D00",
                    "strikethrough": false,
                    "backgroundColor": "transparent"
                },
                {
                    "tag": "?",
                    "color": "#3498DB",
                    "strikethrough": false,
                    "backgroundColor": "transparent"
                },
                {
                    "tag": "//",
                    "color": "#474747",
                    "strikethrough": true,
                    "backgroundColor": "transparent"
                },
                {
                    "tag": "todo",
                    "color": "#FF8C00",
                    "strikethrough": false,
                    "backgroundColor": "transparent"
                },
                {
                    "tag": "*",
                    "color": "#98C379",
                    "strikethrough": false,
                    "backgroundColor": "transparent"
                }
            ]
}

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

text VsCode同步设置

text VSCode设置+ Prettier + Eslint集成

text VScode设置

text 只是我的vscode设置

text VSCode的Python设置

text VScode云设置