VSCode

· · 个人记录

vecode for win7

缺省源

{
    "#include": {
        "prefix": "#include",
        "body": [
            "#include <bits/stdc++.h>",
            "using namespace std;",
            "typedef long long ll;",
            "$1",
            "void solve(){",
            "    ",
            "}",
            "int main(){",
            "    int T=1;",
            "    cin >>T;",
            "    while(T--)solve();",
            "    return 0;",
            "}"
        ]
    }
}

c_cpp_properties.json

{
    "configurations": [
        {
            "name": "Win32",
            "includePath": [
                "${workspaceFolder}/**"
            ],
            "defines": [
                "_DEBUG",
                "UNICODE",
                "_UNICODE"
            ],
            "compilerPath": "D:\\Applications\\TDM-GCC-64\\bin\\gcc.exe",
            "cStandard": "gnu17",
            "cppStandard": "gnu++14",
            "intelliSenseMode": "windows-gcc-x64"
        }
    ],
    "version": 4
}

settings.json

{
    "editor.cursorBlinking": "smooth",
    "editor.smoothScrolling": true,
    "editor.tabCompletion": "on",
    "editor.fontLigatures": true,
    "editor.detectIndentation": false,
    "editor.insertSpaces": true,
    "editor.copyWithSyntaxHighlighting": false,
    "editor.suggest.snippetsPreventQuickSuggestions": false,
    "editor.stickyTabStops": true,
    "editor.wordBasedSuggestions": false,
    "editor.cursorSmoothCaretAnimation": true,
    "terminal.integrated.defaultProfile.windows": "Command Prompt",
    "terminal.integrated.cursorBlinking": true,
    "terminal.integrated.rightClickBehavior": "default",
    "files.autoGuessEncoding": true,
    "files.autoSave": "onFocusChange",
    "files.exclude": {
        "**/.git": true,
        "**/.svn": true,
        "**/*.exe": true,
        "**/.hg": true,
        "**/CVS": true,
        "**/.DS_Store": true,
        "**/tmp": true,
        "**/node_modules": true,
        "**/bower_components": true
    },
    "files.watcherExclude": {
        "**/.git/objects/**": true,
        "**/.git/subtree-cache/**": true,
        "**/node_modules/**": true,
        "**/tmp/**": true,
        "**/bower_components/**": true,
        "**/dist/**": true
    },
    "workbench.list.smoothScrolling": true,
    "workbench.editor.enablePreview": true,
    "workbench.editor.untitled.hint": "hidden",
    "explorer.confirmDelete": false,
    "explorer.confirmDragAndDrop": false,
    "search.followSymlinks": false,
    "window.dialogStyle": "custom",
    "debug.showBreakpointsInOverviewRuler": true,
    "debug.toolBarLocation": "docked",
    "debug.onTaskErrors": "showErrors",
    "code-runner.runInTerminal": true,
    "code-runner.executorMap": {"cpp": " cls && cd /d $dir && g++ $fullFileName -static-libgcc -std=c++14  -fexec-charset=GBK -o \"$fileNameWithoutExt.exe\" && D:\\Codes\\ConsolePauser.exe $dirWithoutTrailingSlash\\$fileNameWithoutExt.exe\""},
    "code-runner.saveFileBeforeRun": true,
    "code-runner.customCommand": " cls",
    "code-runner.respectShebang": false,
    "code-runner.preserveFocus": false,
    "editor.tokenColorCustomizations": {
        "comments": "#399afc",
        "variables": "#AAB5BB",
    },
    "editor.mouseWheelZoom": true,
    "editor.wordWrap": "on"
}