Skip to content

Instantly share code, notes, and snippets.

@vitormil
Last active August 22, 2020 20:54
Show Gist options
  • Save vitormil/3f994ce924bf5bdc8b21a0a684fac521 to your computer and use it in GitHub Desktop.
Save vitormil/3f994ce924bf5bdc8b21a0a684fac521 to your computer and use it in GitHub Desktop.
visual code settings
# CLI:
# code --list-extensions > ~/tmp/vscode-extensions.txt
# code --install-extension <name>
adpyke.codesnap
angryobject.react-pure-to-class-vscode
artdiniz.quitcontrol-vscode
aslamanver.vsc-export
bierner.markdown-preview-github-styles
BriteSnow.vscode-toggle-quotes
bung87.rails
bung87.vscode-gemfile
CoenraadS.bracket-pair-colorizer-2
dbaeumer.vscode-eslint
debugpig.highlight
dracula-theme.theme-dracula
dunstontc.viml
eamodio.gitlens
esbenp.prettier-vscode
formulahendry.auto-rename-tag
geeebe.duplicate
jack89ita.open-file-from-path
jcbuisson.vue
jobe451.lorem-whatever
jock.svg
jpoissonnier.vscode-styled-components
kamikillerto.vscode-colorize
khaeransori.json2csv
lihui.vs-color-picker
mde.select-highlight-minimap
mechatroner.rainbow-csv
mikeburgh.xml-format
mikestead.dotenv
msjsdiag.vscode-react-native
NathanRidley.autotrim
nick-rudenko.back-n-forth
PKief.material-icon-theme
qezhu.gitlink
rocketseat.rocketseatreactjs
rocketseat.rocketseatreactnative
sianglim.slim
SimonSiefke.html-language-features
sleistner.vscode-fileutils
sysoev.language-stylus
usernamehw.errorlens
uyiosa-enabulele.reopenclosedtab
VisualStudioExptTeam.vscodeintellicode
wix.vscode-import-cost
xyz.plsql-language
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "shift+cmd+k",
"command": "-editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "cmd+k cmd+k",
"command": "-editor.action.defineKeybinding",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'jsonc'"
},
{
"key": "cmd+k cmd+k",
"command": "-keybindings.editor.defineKeybinding",
"when": "inKeybindings && keybindingFocus"
},
{
"key": "cmd+k cmd+k",
"command": "deleteAllRight",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+k",
"command": "-deleteAllRight",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "cmd+delete",
"command": "-deleteAllRight",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+shift+k",
"command": "editor.action.deleteLines"
},
{
"key": "ctrl+q",
"command": "editor.togglequotes"
},
{
"key": "cmd+'",
"command": "-editor.togglequotes"
},
{
"key": "cmd+.",
"command": "workbench.files.action.showActiveFileInExplorer"
},
{
"key": "cmd+d",
"command": "-geeebe.duplicateText",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+d",
"command": "geeebe.duplicateText"
},
{
"key": "shift+cmd+d",
"command": "-workbench.view.debug"
},
{
"key": "ctrl+r",
"command": "-workbench.action.openRecent"
},
{
"key": "cmd+e",
"command": "workbench.action.openRecent"
},
{
"key": "ctrl+alt+cmd+e",
"command": "workbench.action.clearRecentFiles"
},
{
"key": "cmd+k cmd+b",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "cmd+b",
"command": "-workbench.action.toggleSidebarVisibility"
},
{
"key": "ctrl+alt+cmd+b",
"command": "gitlens.toggleFileBlame",
"when": "editorTextFocus && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /blameable/"
},
{
"key": "alt+cmd+g b",
"command": "-gitlens.toggleFileBlame",
"when": "editorTextFocus && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /blameable/"
},
{
"key": "ctrl+shift+cmd+right",
"command": "-editor.action.smartSelect.expand",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+i",
"command": "editor.action.smartSelect.expand"
},
{
"key": "alt+cmd+i",
"command": "-workbench.action.toggleDevTools",
"when": "isDevelopment"
},
{
"key": "shift+cmd+d",
"command": "editor.action.duplicateSelection"
},
{
"key": "cmd+s",
"command": "workbench.action.files.saveWithoutFormatting"
},
{
"key": "cmd+k s",
"command": "-workbench.action.files.saveWithoutFormatting"
},
{
"key": "cmd+k cmd+s",
"command": "workbench.action.files.save"
},
{
"key": "cmd+s",
"command": "-workbench.action.files.save"
},
{
"key": "alt+enter",
"command": "-notebook.cell.executeAndInsertBelow",
"when": "notebookEditorFocused"
},
{
"key": "alt+enter",
"command": "-debug.openBreakpointToSide",
"when": "breakpointsFocused"
},
{
"key": "alt+enter",
"command": "-editor.action.selectAllMatches",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "cmd+.",
"command": "-editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+.",
"command": "-problems.action.showQuickFixes",
"when": "problemFocus"
},
{
"key": "alt+enter",
"command": "editor.action.quickFix"
},
{
"key": "cmd+[",
"command": "workbench.action.navigateBack"
},
{
"key": "cmd+]",
"command": "workbench.action.navigateForward"
},
{
"key": "cmd+1",
"command": "workbench.action.openEditorAtIndex1"
},
{
"key": "cmd+2",
"command": "workbench.action.openEditorAtIndex2"
},
{
"key": "cmd+3",
"command": "workbench.action.openEditorAtIndex3"
},
{
"key": "cmd+4",
"command": "workbench.action.openEditorAtIndex4"
},
{
"key": "cmd+5",
"command": "workbench.action.openEditorAtIndex5"
},
{
"key": "cmd+6",
"command": "workbench.action.openEditorAtIndex6"
},
{
"key": "cmd+7",
"command": "workbench.action.openEditorAtIndex7"
},
{
"key": "cmd+8",
"command": "workbench.action.openEditorAtIndex8"
},
{
"key": "cmd+9",
"command": "workbench.action.openEditorAtIndex9"
}
]
{
"workbench.colorTheme": "Dracula",
"workbench.iconTheme": "material-icon-theme",
"workbench.startupEditor": "newUntitledFile",
"editor.tabSize": 2,
"editor.fontSize": 18,
"editor.lineHeight": 26,
"editor.fontFamily": "Hack Nerd Font Mono",
"editor.fontLigatures": false,
"terminal.integrated.fontSize": 14,
"prettier.tabWidth": 2,
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"node_modules": true
},
"explorer.compactFolders": false,
"editor.renderLineHighlight": "all",
"workbench.editor.labelFormat": "short",
"extensions.ignoreRecommendations": true,
"javascript.updateImportsOnFileMove.enabled": "never",
"typescript.updateImportsOnFileMove.enabled": "never",
"breadcrumbs.enabled": true,
"editor.parameterHints.enabled": false,
"explorer.confirmDragAndDrop": false,
"editor.rulers": [80, 120],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"files.associations": {
".sequelizerc": "javascript",
".stylelintrc": "json",
".prettierrc": "json"
},
"window.zoomLevel": 1,
"emmet.syntaxProfiles": { "javascript": "jsx" },
"emmet.includeLanguages": { "javascript": "javascriptreact" },
"gitlens.codeLens.recentChange.enabled": false,
"gitlens.codeLens.authors.enabled": false,
"gitlens.codeLens.enabled": false,
"git-commit.subjectFormat.branchRegex": "(DEV-\\d+)",
"git.enableSmartCommit": true,
"terminal.integrated.shell.osx": "/bin/zsh",
"liveshare.featureSet": "insiders",
"typescript.tsserver.log": "verbose",
"javascript.suggest.autoImports": true,
"typescript.suggest.autoImports": true,
"screencastMode.onlyKeyboardShortcuts": true,
"material-icon-theme.folders.associations": {
"infra": "app",
"entities": "class",
"schemas": "class",
"typeorm": "database",
"repositories": "mappings",
"http": "container",
"migrations": "tools",
"modules": "components",
"implementations": "core",
"dtos": "typescript",
"fakes": "mock",
"websockets": "pipe",
"protos": "pipe",
"grpc": "pipe"
},
"material-icon-theme.files.associations": {
"ormconfig.json": "database",
"tsconfig.json": "tune",
"*.proto": "3d"
},
"colorize.languages": [
"javascript",
"typescript",
"javascriptreact",
"typescriptreact",
"json",
"html",
"css"
],
"workbench.colorCustomizations": {
"editorLineNumber.activeForeground": "#eefa80",
"editorCursor.foreground": "#eefa80",
"editor.lineHighlightBackground": "#45475b",
"menu.selectionBackground": "#fc6bca",
},
"workbench.editor.highlightModifiedTabs": true,
"workbench.editor.enablePreview": false,
"editor.renderWhitespace": "all",
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"explorer.confirmDelete": false,
"editor.cursorStyle": "block",
"annotator.git.ignoreWhitespaceOnBlame": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"errorLens.followCursor": "activeLine",
"errorLens.fontStyleItalic": true,
"errorLens.gutterIconsEnabled": true,
"eslint.alwaysShowStatus": true,
"svg.preview.mode": "img"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment