Skip to content

Instantly share code, notes, and snippets.

@YT-er
Last active January 17, 2019 02:47
Show Gist options
  • Save YT-er/ed5f3b8dbd141fbe5a33700c16ec79de to your computer and use it in GitHub Desktop.
Save YT-er/ed5f3b8dbd141fbe5a33700c16ec79de to your computer and use it in GitHub Desktop.
vscode设置

VScode设置

{
    "workbench.colorTheme": "Atom One Light",
    "workbench.iconTheme": "vscode-icons",
    "code-runner.executorMap": {
        "javascript": "node",
        "java": "cd $dir && javac $fileName && java $fileNameWithoutExt",
        "c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
        "cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
        "objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
        "php": "php",
        "python": "set PYTHONIOENCODING=utf8 && python",
        "perl": "perl",
        "perl6": "perl6",
        "ruby": "ruby",
        "go": "go run",
        "lua": "lua",
        "groovy": "groovy",
        "powershell": "powershell -ExecutionPolicy ByPass -File",
        "bat": "cmd /c",
        "shellscript": "bash",
        "fsharp": "fsi",
        "csharp": "scriptcs",
        "vbscript": "cscript //Nologo",
        "typescript": "ts-node",
        "coffeescript": "coffee",
        "scala": "scala",
        "swift": "swift",
        "julia": "julia",
        "crystal": "crystal",
        "ocaml": "ocaml",
        "r": "Rscript",
        "applescript": "osascript",
        "clojure": "lein exec",
        "haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt",
        "rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt",
        "racket": "racket",
        "ahk": "autohotkey",
        "autoit": "autoit3",
        "dart": "dart",
        "pascal": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
        "d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt",
        "haskell": "runhaskell",
        "nim": "nim compile --verbosity:0 --hints:off --run"
    },
    "terminal.integrated.cursorBlinking": true,
    "fileheader.customMade": {
        "Author": "chenxj",
        "Github": "https://github.com/chenxj1101",
        "Mail": "ccj799@gmail.com",
        "Date": "Do not edit",
        "LastEditTime": "Do not edit",
        "Description": ""
    },
    "fileheader.configObj": {
        "createFileTime": true,
        "autoAdd": false,
        "autoAlready": true,
        "annotationStr": {
            "head": "/*",
            "middle": " * @",
            "end": " */",
            "use": false
        },
        "headInsertLine": {
            "php": 2,
            "py": 3
        }
    },
    "workbench.colorCustomizations": {
        "[Atom One Light]": {
        "foreground": "#519657",
        "editor.background": "#c8e6c9",
        "editor.lineHighlightBackground": "#dcedc8",
        "editor.selectionBackground":"#f0f4c3",
        "editorWidget.background": "#c8e6c9",
        "editorHoverWidget.background":"#c8e6c9",
        "editorHoverWidget.border":"#a5d6a7",
        "editorLineNumber.foreground": "#a5d6a7",
        "editorWhitespace.foreground": "#a5d6a7",
        "editorSuggestWidget.background": "#c8e6c9",
        "editorSuggestWidget.border":"#a5d6a7",
        "editorSuggestWidget.foreground": "#338a3e",
        "editorSuggestWidget.highlightForeground": "#338a3e",
        "editorSuggestWidget.selectedBackground": "#a5d6a7",
        "activityBar.background": "#c8e6c9",
        "activityBar.foreground": "#519657",
        "activityBarBadge.background": "#519657",
        "activityBarBadge.foreground": "#FFFFFF",
        "editorLineNumber.activeForeground": "#519657",
        "input.background": "#c8e6c9",
        "input.border": "#c5e1a5",
        "focusBorder": "#c5e1a5",
        "sideBar.background": "#c8e6c9",
        "sideBarSectionHeader.background": "#c8e6c9",
        "tab.activeBackground": "#c8e6c9",
        "tab.activeForeground": "#519657",
        "tab.inactiveBackground": "#c8e6c9",
        "tab.inactiveForeground": "#97b498",
        "tab.border": "#c8e6c9",
        "badge.background": "#519657",
        "statusBar.background": "#c8e6c9",
        "statusBar.foreground": "#519657",
        "statusBarItem.hoverBackground": "#dcedc8",
        "statusBar.noFolderBackground": "#519657",
        "statusBar.debuggingBackground": "#519657",
        "statusBar.debuggingForeground": "#00701a",
        "debugToolBar.background": "#a5d6a7",
        "editorGroupHeader.tabsBackground": "#c8e6c9",
        "button.background": "#519657",
        "button.foreground": "#FFFFFF",
        "button.hoverBackground": "#519657",
        "extensionButton.prominentBackground": "#3BBA54",
        "extensionButton.prominentHoverBackground": "#4CC263",
        "scrollbar.shadow":"#a5d6a7",
        "scrollbarSlider.background":"#a5d6a7",
        "scrollbarSlider.hoverBackground":"#81c784",
        "scrollbarSlider.activeBackground":"#81c784",
        "list.activeSelectionBackground":"#dcedc8",
        "list.activeSelectionForeground":"#519657",
        "list.inactiveSelectionBackground":"#dcedc8",
        "list.inactiveSelectionForeground":"#519657",
        "list.hoverBackground":"#dcedc8",
        "list.highlightForeground":"#dcedc8",
        "dropdown.background":"#c8e6c9",
        "dropdown.border":"#c5e1a5",
        "titleBar.activeBackground": "#c8e6c9",
        "titleBar.activeForeground": "#519657",
        "titleBar.inactiveBackground": "#c8e6c9",
        "titleBar.inactiveForeground": "#519657"
    },
},
    "code-runner.saveFileBeforeRun": true,
    "code-runner.fileDirectoryAsCwd": true,
    "editor.renderControlCharacters": true,
    "editor.renderWhitespace": "boundary",
    "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
    "editor.fontFamily": "Source Code Pro for Powerline, 'Courier New', Consolas, monospace",
    "terminal.integrated.fontFamily": "Source Code Pro for Powerline",
    "editor.tokenColorCustomizations": {
        "[Atom One Light]":{
            "textMateRules":[
                {
                    "name": "Comment",
                    "scope": [
                        "comment"
                    ],
                    "settings": {
                        "foreground": "#97b498",
                        "fontStyle": ""
                    }
                },
                {
                    "name": "String",
                    "scope": [
                        "string"
                    ],
                    "settings": {
                        "foreground": "#338a3e"
                    }
                },
                {
                    "name": "Variable",
                    "scope": [
                        "variable"
                    ],
                    "settings": {
                        "foreground": "#c51162"
                    }
                },
                {
                    "name": "[VSCODE-CUSTOM] PHP Punctuation Variable Definition",
                    "scope": "punctuation.definition.variable.php",
                    "settings": {
                        "foreground": "#c51162"
                    }
                },
            ]
        }
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment