Skip to content

Instantly share code, notes, and snippets.

@duiliogp
Last active February 13, 2023 12:56
Show Gist options
  • Save duiliogp/7a8afcd825baccf3271a5c91e62ce785 to your computer and use it in GitHub Desktop.
Save duiliogp/7a8afcd825baccf3271a5c91e62ce785 to your computer and use it in GitHub Desktop.
VSCode User Settings

settings.json

Main Settings

  "editor.tabSize": 2,
  "explorer.compactFolders": false,
  "explorer.confirmDelete": false,
  "explorer.confirmDragAndDrop": false,
  "explorer.sortOrder": "type",
  "files.autoSave": "onFocusChange",
  "editor.scrollBeyondLastLine": false,
  "extensions.autoCheckUpdates": false,
  "extensions.autoUpdate": false,
  "telemetry.telemetryLevel": "off",
  "update.mode": "none",
  "update.showReleaseNotes": false,

Clean Code

  "breadcrumbs.enabled": false,
  "editor.bracketPairColorization.enabled": false,
  "editor.codeLens": false,
  "editor.folding": false,
  "editor.glyphMargin": false,
  "editor.guides.indentation": false,
  "editor.occurrencesHighlight": false,
  "editor.minimap.enabled": false, 
  "editor.snippetSuggestions": "none",
  "editor.scrollbar.vertical": "visible",
  "editor.scrollbar.verticalScrollbarSize": 5,
  "editor.hover.enabled": false,
  "editor.inlayHints.enabled": "off",
  "editor.renderLineHighlight": "none",
  "editor.wordBasedSuggestions": false,
  "terminal.integrated.tabs.enabled": false,
  "window.menuBarVisibility": "hidden",
  "workbench.editor.decorations.colors": false,
  "workbench.editor.tabCloseButton": "off",
  "workbench.startupEditor": "none",
  "workbench.statusBar.visible": false,

Appearence

  "editor.fontSize": 11,
  "workbench.colorCustomizations": { 
  "editorBracketMatch.background": "#60D",
  "[Default Dark+]": { 
    "editor.background": "#111",
    "editorGroup.border": "#222",
    "sideBar.border": "#222",
  },
  "[Darcula Theme from IntelliJ]": {
      "merge.currentContentBackground": "#005",
      "merge.incomingHeaderBackground": "#500",
      "activityBar.background": "#000",
      "editor.background": "#0a0a0a",
      "sideBar.background": "#111",
      "panel.background": "#111",
      "sideBar.border": "#000",
      "editorGroup.border": "#000",
      "panel.border": "#1c8",
      "statusBar.background": "#076",
      "editor.lineHighlightBackground": "#1a1a1a",
      "titleBar.activeBackground": "#0a0a0a"
  }
  "editorBracketMatch.border": "#0000", 
  "editor.lineHighlightBorder": "#0000", 
  "editorOverviewRuler.border": "#0000",
  "panel.border": "#000", 
  "statusBar.background": "#111", 
  "statusBar.noFolderBackground": "#000" 
  },
  "terminal.integrated.fontSize": 11,
  "window.titleBarStyle": "custom",
  "workbench.panel.defaultLocation": "right",
  "workbench.sideBar.location": "right",

Extensions

  "workbench.iconTheme": "material-icon-theme",
  "material-icon-theme.folders.theme": "classic",
  "material-icon-theme.folders.color": "#4a67ce",
  "editor.codeActionsOnSave": {"source.fixAll.eslint": true},
  "eslint.validate": ["javascript"],

keybindings.json

Run command in terminal

  { "key": "F5", "command": "workbench.action.terminal.sendSequence", "args": { "text": "clear;\r" } },

Netbeans keybindings

  { "key": "ctrl+backspace", "command": "deleteWordPartLeft", "when": "textInputFocus"  },
  { "key": "ctrl+delete", "command": "deleteWordPartRight", "when": "textInputFocus"  },
  { "key": "ctrl+right", "command": "cursorWordPartRight", "when": "textInputFocus"  },
  { "key": "ctrl+left", "command": "cursorWordPartLeft", "when": "textInputFocus"  },
  { "key": "ctrl+shift+up", "command": "editor.action.copyLinesUpAction"},
  { "key": "ctrl+shift+down", "command": "editor.action.copyLinesDownAction"},
  { "key": "shift+alt+down", "command": "editor.action.moveLinesDownAction" },
  { "key": "shift+alt+up", "command": "editor.action.moveLinesUpAction" },
  { "key": "ctrl+E", "command": "editor.action.deleteLines" },

Change suggestions with tab

  { "key": "tab",  "command": "selectNextSuggestion", "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" },
  { "key": "shift+tab", "command": "selectPrevSuggestion", "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" },

Tmux

  { "key": "ctrl+b right", "command": "workbench.action.focusSecondEditorGroup" },
  { "key": "ctrl+b left", "command": "workbench.action.focusFirstEditorGroup" },
New File
  { "key": "ctrl+n", "command": "explorer.newFile" },

Next line with shift+enter

  { "key": "shift+enter", "command": "editor.action.insertLineAfter", "when": "editorTextFocus && !editorReadonly" },
  { "key": "shift+enter", "command": "-editor.action.goToDeclaration", "when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment