Skip to content

Instantly share code, notes, and snippets.

@Falieson
Last active April 17, 2019 13:24
Show Gist options
  • Save Falieson/cc49deae2d36150a68095dd31ae39f30 to your computer and use it in GitHub Desktop.
Save Falieson/cc49deae2d36150a68095dd31ae39f30 to your computer and use it in GitHub Desktop.
vscode settings, extensions
# replaced with tgr-extension-pack, listed here:
# https://github.com/TGRstack/vscode-extensions/blob/master/package.json#L34
// keybindings
[
{
"key": "ctrl+shift+up",
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+up",
"command": "-editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+down",
"command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+down",
"command": "-editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+c",
"command": "-workbench.action.terminal.openNativeConsole",
"when": "!terminalFocus"
},
{
"key": "shift+cmd+c",
"command": "extension.colorHelper.pick",
"when": "editorTextFocus"
},
{
"key": "alt+c p",
"command": "-extension.colorHelper.pick",
"when": "editorTextFocus"
}
]
// $HOME/Library/Application Support/Code/User/settings.json
{
// startup
"window.zoomLevel": 1,
"workbench.startupEditor": "newUntitledFile",
"workbench.editor.enablePreview": false,
// linux
"[plaintext]": {}, // fixes linux bug where _ are missing from term
// excludes
"search.exclude": {
".happypack": true,
"build/": true,
"dist/": true,
"**/.meteor/local": true,
"**/node_modules": true,
"**/bower_components": true
},
// terminal
// "terminal.integrated.fontSize": 13, // osx
// "terminal.integrated.shell.linux": "zsh",
"terminal.integrated.rendererType": "dom",
// style
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"editor.tabSize": 2,
"editor.detectIndentation": false,
"editor.renderWhitespace": "all",
"editor.renderIndentGuides": true,
"editor.tabCompletion": true,
"editor.rulers": [100, 120],
"editor.minimap.enabled": false,
"editor.minimap.renderCharacters": false,
"editor.dragAndDrop": true,
"editor.wordWrap": "bounded",
"editor.wordWrapColumn": 120,
"files.eol": "\n",
// theme
"material-icon-theme.showUpdateMessage": false,
"material-icon-theme.showWelcomeMessage": false,
"workbench.iconTheme": "vs-seti",
"workbench.colorTheme": "OneDark++",
"workbench.activityBar.visible": true,
"search.location": "sidebar",
// Misc.
"editor.insertSpaces": true,
"editor.multiCursorModifier": "alt",
"editor.snippetSuggestions": "top",
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
// ----- EXTENSIONS -----
// TSLINT
"editor.codeActionsOnSave": {
"source.fixAll.tslint": true
},
// GPM
"gitProjectManager.baseProjectsFolders": [
"~/Code",
],
"gitProjectManager.storeRepositoriesBetweenSessions": true,
"gitProjectManager.codePath" : {
// "windows": "C:\\Program Files (x86)\\Microsoft VS Code\\bin\\code.cmd",
"linux": "/usr/local/bin/code"
},
"gitProjectManager.ignoredFolders": ["node_modules", "build"],
"gitProjectManager.openInNewWindow": true,
"gitProjectManager.maxDepthRecursion": 8,
// Code Metrics
// Treshold to show code lens for code metrics
"codemetrics.basics.CodeLensHiddenUnder": 10,
"codemetrics.basics.DecorationModeEnabled": false,
// Code lens message template {0}: actual value; {1}: description
"codemetrics.basics.ComplexityTemplate": "({0}) {1}",
// Treshold to determine extreme high complexity level
"codemetrics.basics.ComplexityLevelExtreme": 50,
// Code lens message for extreme high complexity level
"codemetrics.basics.ComplexityLevelExtremeDescription": "Bloody hell...",
// Treshold to determine high complexity level
"codemetrics.basics.ComplexityLevelHigh": 25,
// Code lens message for high complexity level
"codemetrics.basics.ComplexityLevelHighDescription": "Try to split it up!",
// Treshold to determine normal complexity level
"codemetrics.basics.ComplexityLevelNormal": 10,
// Code lens message for normal complexity level
"codemetrics.basics.ComplexityLevelNormalDescription": "Can you split it up?",
// Treshold to determine low complexity level
"codemetrics.basics.ComplexityLevelLow": 0,
// Code lens message for low complexity level
"codemetrics.basics.ComplexityLevelLowDescription": "Cool...",
// ToDos:
// https://marketplace.visualstudio.com/items?itemName=wayou.vscode-todo-highlight
"todohighlight.isEnable": true,
"todohighlight.isCaseSensitive": true,
"todohighlight.keywords": [
{
"text": "NOTE:",
"color": "#ff0000",
"backgroundColor": "yellow",
"overviewRulerColor": "grey"
},
{
"text": "ISSUE:",
"color": "#FFFFFF",
"backgroundColor": "red",
"overviewRulerColor": "grey"
},
"DEBUG:",
"REVIEW:",
{
"text": "ICE:",
"color": "#1600b3",
"backgroundColor": "white",
"overviewRulerColor": "grey"
}
],
"todohighlight.include": [
"**/*.js",
"**/*.jsx",
"**/*.json5",
"**/*.ts",
"**/*.tsx",
"**/*.html",
"**/*.css",
"**/*.scss"
],
"todohighlight.exclude": [
"**/node_modules/**",
"**/bower_components/**",
"**/dist/**",
"**/build/**",
"**/.vscode/**",
"**/.github/**",
"**/_output/**",
"**/*.min.*",
"**/*.map",
"**/.next/**"
],
"todohighlight.maxFilesForSearch": 5120,
"todohighlight.toggleURI": false,
"breadcrumbs.enabled": true,
}
# replaced w/ tgr-snippet-pack
# https://github.com/TGRstack/vscode-snippets/tree/master/snippets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment