Skip to content

Instantly share code, notes, and snippets.

@Arcensoth
Last active April 8, 2019 17:29
Show Gist options
  • Save Arcensoth/b12177fbdadf495a458bc9ce3bd1f31b to your computer and use it in GitHub Desktop.
Save Arcensoth/b12177fbdadf495a458bc9ce3bd1f31b to your computer and use it in GitHub Desktop.
vscode

VSCode preferences

Extensions

General

  • Gruvbox Themes: tomphilbin.gruvbox-themes
  • File Utils: sleistner.vscode-fileutils
  • Todo Tree: gruntfuggly.todo-tree

Web dev

  • Debugger for Chrome: msjsdiag.debugger-for-chrome
  • Prettier - Code formatter: esbenp.prettier-vscode

Python

  • Python: ms-python.python
  • Importmagic: brainfit.vscode-importmagic

Minecraft

  • language-mcfunction: arcensoth.language-mcfunction
  • Minecraft JSON Schemas: levertion.mcjson
// Place your key bindings in this file to overwrite the defaults
[
// toggle console
{
"key": "alt+`",
"command": "workbench.action.terminal.toggleTerminal"
},
// toggle word wrap
{
"key": "ctrl+shift+w",
"command": "editor.action.toggleWordWrap"
},
// navigate panels up/down/left/right
{
"key": "alt+up",
"command": "workbench.action.navigateUp"
},
{
"key": "alt+down",
"command": "workbench.action.navigateDown"
},
{
"key": "alt+left",
"command": "workbench.action.navigateLeft"
},
{
"key": "alt+right",
"command": "workbench.action.navigateRight"
},
// move tab to panel up/down/left/right
{
"key": "alt+shift+up",
"command": "workbench.action.moveEditorToAboveGroup"
},
{
"key": "alt+shift+down",
"command": "workbench.action.moveEditorToBelowGroup"
},
{
"key": "alt+shift+left",
"command": "workbench.action.moveEditorToLeftGroup"
},
{
"key": "alt+shift+right",
"command": "workbench.action.moveEditorToRightGroup"
},
// (add these back)
{
"key": "ctrl+alt+w",
"command": "toggleFindWholeWord",
"when": "editorFocus"
},
{
"key": "ctrl+alt+w",
"command": "toggleSearchWholeWord",
"when": "searchInputBoxFocus && searchViewletVisible"
},
// move cursor by word part
{
"key": "ctrl+alt+left",
"command": "cursorWordPartStartLeft",
"when": "textInputFocus"
},
{
"key": "ctrl+alt+shift+left",
"command": "cursorWordPartStartLeftSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+alt+right",
"command": "cursorWordPartRight",
"when": "textInputFocus"
},
{
"key": "ctrl+alt+shift+right",
"command": "cursorWordPartRightSelect",
"when": "textInputFocus"
},
// cursor history back/forward
{
"key": "alt+home",
"command": "workbench.action.navigateBack"
},
{
"key": "alt+end",
"command": "workbench.action.navigateForward"
},
// move lines up/down
{
"key": "ctrl+shift+up",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+down",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
// insert cursor above/below
{
"key": "ctrl+alt+up",
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+down",
"command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
// duplicate lines
{
"key": "ctrl+shift+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
// maximize editor group
{
"key": "alt+m",
"command": "workbench.action.minimizeOtherEditors"
},
// file/explorer stuff
// new folder
{
"key": "ctrl+shift+alt+n",
"command": "explorer.newFolder"
},
// new file
{
"key": "ctrl+shift+n",
"command": "explorer.newFile"
},
// toggle terminal
{
"key": "alt+shift+`",
"command": "workbench.action.terminal.toggleTerminal"
},
// duplicate file
{
"key": "ctrl+alt+shift+d",
"command": "fileutils.duplicateFile"
},
// dev stuff
{
"key": "ctrl+alt+shift+i",
"command": "editor.action.inspectTMScopes"
},
// python sort imports
{
"key": "shift+alt+d",
"command": "python.sortImports",
"when": "editorTextFocus && editorLangId == python"
},
// reveal active file in side bar
{
"key": "shift+alt+r",
"command": "workbench.files.action.showActiveFileInExplorer",
"when": "editorTextFocus"
}
]
{
"workbench.startupEditor": "newUntitledFile",
"workbench.colorCustomizations": {
"statusBar.background": "#303030",
"statusBar.noFolderBackground": "#222225",
"statusBar.debuggingBackground": "#511f1f"
},
"window.menuBarVisibility": "default",
"explorer.autoReveal": false,
"editor.wordWrap": "on",
"editor.wrappingIndent": "deepIndent",
"explorer.confirmDragAndDrop": false,
"git.countBadge": "off",
"workbench.editor.closeEmptyGroups": false,
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
// https://github.com/Microsoft/vscode/issues/26776
"terminal.integrated.shellArgs.windows": ["-l"],
"workbench.activityBar.visible": true,
"editor.minimap.enabled": true,
"breadcrumbs.enabled": true,
"workbench.editor.enablePreviewFromQuickOpen": false,
"editor.fontLigatures": true,
"editor.fontFamily": "'Ubuntu Mono', Consolas, 'Courier New', monospace",
// python
"python.linting.pylintEnabled": true,
"python.linting.enabled": true,
// "python.sortImports.args": [],
// "python.formatting.provider": "black",
// "python.formatting.blackArgs": ["--line-length", "100"],
// todo-tree
"todo-tree.tags": ["TODO", "FIXME", "NOTE", "DELETE"],
"todo-tree.defaultHighlight": {
"type": "text",
"foreground": "#ebdbb2",
"background": "#fe8019",
"iconColour": "#fe8019",
"rulerColour": "#fe8019",
"opacity": 80
},
"todo-tree.customHighlight": {
"FIXME": {
"background": "#fb4934",
"iconColour": "#fb4934"
},
"NOTE": {
"background": "#b8bb26",
"iconColour": "#b8bb26",
"rulerColour": null
},
"DELETE": {
"background": "#928374",
"iconColour": "#928374",
"rulerColour": null
}
},
"workbench.colorTheme": "Gruvbox Dark (Hard)",
"typescript.updateImportsOnFileMove.enabled": "always"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment