VS Code config
Here are all my VS Code settings for: default profile, react profile, project specific vscode settings, and keyboard shortcut.
Default Profile
{
// console ninja extension
"console-ninja.featureSet": "Community",
// scope highlighter extension
"codeScopeHighlighter.bracketColor": "#dc2626dd",
// react-snippets extension
"reactSnippets.settings.importReactOnTop": false,
// template string extension
"template-string-converter.quoteType": "double",
"template-string-converter.autoRemoveTemplateString": true,
"template-string-converter.convertOutermostQuotes": true,
// project-manager extension
"projectManager.git.baseFolders": [
"\\\\wsl.localhost\\Ubuntu\\home\\jvaldiv8\\CMSC330\\projects",
"C:\\Users\\pjose\\Documents",
"/Users/joseavr/pr"
],
// biome extension
"editor.defaultFormatter": "biomejs.biome",
// extensions settings
"extensions.ignoreRecommendations": true,
"biome.suggestInstallingGlobally": false,
// language settings
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"[python]": {
"editor.formatOnType": true
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
// git
"git.autofetch": true,
"git.confirmSync": false,
"git.openRepositoryInParentFolders": "never",
"diffEditor.renderSideBySide": false,
// inline suggestion
"editor.inlineSuggest.enabled": true,
"emmet.triggerExpansionOnTab": true,
"emmet.useInlineCompletions": true,
"editor.suggest.showWords": false,
"editor.suggest.showKeywords": false,
"editor.parameterHints.enabled": false,
"editor.hover.enabled": true,
"editor.acceptSuggestionOnEnter": "on",
"editor.quickSuggestions": {
"other": "off", // wont appear suggestion as you type
"comments": "off",
"strings": "off"
},
// file explorer settings
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"workbench.tree.renderIndentGuides": "onHover",
"workbench.tree.indent": 16,
"workbench.tree.enableStickyScroll": true,
// markdown
"markdown.preview.typographer": true,
"markdown.preview.scrollPreviewWithEditor": false,
// file Nesting
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.patterns": {
"*.ts": "${capture}.test.ts",
"*.js": "${capture}.js.map, ${capture}.min.js, ${capture}.d.ts, ${capture}.test.js",
"package.json": "package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb, *.config.js, *.config.ts, *.config.cjs, *.config.mjs , *.json, .*, *.ts"
},
// terminal
"terminal.integrated.env.osx": {
"FIG_NEW_SESSION": "1"
},
"terminal.integrated.gpuAcceleration": "on",
"terminal.integrated.defaultProfile.windows": "Git Bash",
"terminal.integrated.env.windows": {},
"terminal.integrated.scrollback": 3000,
"terminal.integrated.smoothScrolling": true,
"terminal.integrated.enableMultiLinePasteWarning": "never",
// fonts
"editor.fontLigatures": false,
"terminal.integrated.fontFamily": "Cascadia Code PL, JetBrainsMono Nerd Font, MesloLGS NF, Roboto Mono",
"terminal.integrated.fontSize": 14,
"terminal.integrated.lineHeight": 1.2,
"terminal.integrated.fontWeight": "500",
// "terminal.integrated.letterSpacing": 1,
"editor.fontFamily": "Cascadia Code PL, MesloLGS NF, JetBrainsMono Nerd Font, Geist Mono, Menlo, Monaspace Argon",
"editor.fontSize": 12,
"editor.lineHeight": 1.5,
"editor.fontWeight": "500",
// "editor.letterSpacing": 0.2,
"editor.wordWrap": "on",
"window.zoomLevel": 1,
// editor theme
"workbench.colorTheme": "Pitch Black",
"workbench.preferredDarkColorTheme": "Pitch Black",
"workbench.preferredLightColorTheme": "GitHub Light Default",
// theme by Dark/Light
"workbench.colorCustomizations": {
"[Blue Moon theme]": {
//** color for dark
"editor.lineHighlightBackground": "#0b0b0ba9",
"tab.activeBorder": "#4c8bf0e5",
"tab.activeBorderTop": "#4c8bf000", // tab top border
"tab.border": "#ffffff00",
"titleBar.activeBackground": "#14181f",
"window.activeBorder": "#004dc1",
"window.inactiveBorder": "#032b6689",
"editorIndentGuide.background1": "#01052902",
"editorIndentGuide.activeBackground1": "#da3d77f1"
//** spotlight
// ,"quickInput.background": "#14181f8f" // BACKGROUND
},
"[Pitch Black]": {
// "editor.lineHighlightBackground": "#0b0b0ba9", // cursor line highlight
"tab.activeBorder": "#4c8bf0e5", // active tab bottom color
"editorIndentGuide.background1": "#01052902",
"editorIndentGuide.activeBackground1": "#da3d77f1"
},
"[GitHub Light Default]": {
//
}
},
// "editor.tokenColorCustomizations": {
// "comments": {
// "fontStyle": "italic",
// "foreground": "#9b979778"
// }
// },
// editor settings
"explorer.confirmPasteNative": false,
"editor.suggest.insertMode": "replace",
"editor.formatOnSave": true,
"editor.accessibilitySupport": "off",
"editor.screenReaderAnnounceInlineSuggestion": false,
"editor.stickyScroll.enabled": true,
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.tabCompletion": "on",
"editor.renderLineHighlightOnlyWhenFocus": true,
"editor.scrollBeyondLastLine": false,
"editor.defaultColorDecorators": "auto",
"editor.renderLineHighlight": "all",
"editor.guides.bracketPairsHorizontal": false,
"editor.guides.bracketPairs": "active",
"editor.matchBrackets": "never",
"editor.cursorBlinking": "solid",
"editor.cursorWidth": 2,
"editor.cursorStyle": "block",
"editor.cursorSurroundingLines": 5,
"editor.cursorSmoothCaretAnimation": "off",
"json.schemaDownload.enable": true,
"breadcrumbs.enabled": false,
"workbench.list.smoothScrolling": true,
"editor.smoothScrolling": true,
"editor.tabSize": 2,
"editor.renderWhitespace": "none",
"symbols.hidesExplorerArrows": false, // deprecated
"workbench.sideBar.location": "right",
"workbench.layoutControl.enabled": false,
"editor.minimap.enabled": false,
"editor.glyphMargin": true,
"window.commandCenter": true,
"workbench.activityBar.location": "default",
"explorer.compactFolders": false,
"workbench.iconTheme": "symbols",
// custom ui style
"window.titleBarStyle": "native",
"custom-ui-style.electron": {
"titleBarStyle": "hiddenInset",
"trafficLightPosition": {
"x": -100,
"y": 70
}
},
"custom-ui-style.external.imports": [
"file:///Users/joseavr/vscode-styles-cursor.css"
],
"custom-ui-style.stylesheet": {
// move tabs to the right
// ".monaco-workbench .part.editor > .content .editor-group-container > .title .tabs-container > div:first-child": "padding-left: 100px",
// tabs same theme color
".title.tabs.show-file-icons": "background-color: var(--vscode-editor-background) !important",
// right panel same theme color
".split-view-container > .visible": "background-color: var(--vscode-editor-background) !important;",
// animation on bottom statusbar
".statusbar": "opacity: 0.3; transition: 0.3s ease-in-out",
".statusbar:hover": "opacity: 1",
// comments font
// ".mtk14": "font-family: 'Monaspace Radon' !important; font-size: 14px !important",
// scrollbar
".find-widget": "border-radius:6px; backdrop-filter:blur(10px);",
".monaco-inputbox, .scm-editor": "border-radius:6px !important;",
".slider": "width: 6px !important; border-radius: 16px;",
".monaco-button-dropdown": "border-radius:6px !important;",
// testing options
".notification-toast": "backdrop-filter:blur(10px); border: 1px solid #ffffff09 !important; border-radius: 8px !important; ",
// fix editor color when using command pallete with blur
"body .monaco-workbench": "--al-transparency-percent: 25%; --al-tab-height: 46px; --al-tab-y-offset: 7px; --al-command-palette-blur-amount: 2px; --al-tab-fontSize: 14px;",
".tab-border-bottom-container": "height: 1.5px !important"
},
"window.customTitleBarVisibility": "auto",
}
React Profile
{
// console ninja extension
"console-ninja.featureSet": "Community",
// scope highlighter extension
"codeScopeHighlighter.bracketColor": "#dc2626dd",
// react-snippets extension
"reactSnippets.settings.importReactOnTop": false,
// template string extension
"template-string-converter.quoteType": "double",
"template-string-converter.autoRemoveTemplateString": true,
"template-string-converter.convertOutermostQuotes": true,
// project-manager extension
"projectManager.git.baseFolders": [
"\\\\wsl.localhost\\Ubuntu\\home\\jvaldiv8\\CMSC330\\projects",
"C:\\Users\\pjose\\Documents",
"/Users/joseavr/pr",
"/Users/joseavr/Downloads",
],
// biome extension
"editor.defaultFormatter": "biomejs.biome",
// extensions settings
"extensions.ignoreRecommendations": true,
"biome.suggestInstallingGlobally": false,
// language settings
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"[python]": {
"editor.formatOnType": true
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
// git
"git.autofetch": true,
"git.confirmSync": false,
"git.openRepositoryInParentFolders": "never",
"diffEditor.renderSideBySide": false,
// inline suggestion
"editor.inlineSuggest.enabled": true,
"emmet.triggerExpansionOnTab": true,
"emmet.useInlineCompletions": true,
"editor.suggest.showWords": false,
"editor.suggest.showKeywords": false,
"editor.parameterHints.enabled": false,
"editor.hover.enabled": false,
"editor.acceptSuggestionOnEnter": "on",
"editor.quickSuggestions": {
"other": "off", // wont appear suggestion as you type
"comments": "off",
"strings": "off"
},
// file explorer settings
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"workbench.tree.renderIndentGuides": "onHover",
"workbench.tree.indent": 16,
"workbench.tree.enableStickyScroll": true,
// markdown
"markdown.preview.typographer": true,
"markdown.preview.scrollPreviewWithEditor": false,
// file Nesting
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.patterns": {
"*.ts": "${capture}.test.ts",
"*.js": "${capture}.js.map, ${capture}.min.js, ${capture}.d.ts, ${capture}.test.js",
"package.json": "package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb, *.config.js, *.config.ts, *.config.cjs, *.config.mjs , *.json, .*, *.ts"
},
// terminal
"terminal.integrated.env.osx": {
"FIG_NEW_SESSION": "1"
},
"terminal.integrated.gpuAcceleration": "on",
"terminal.integrated.defaultProfile.windows": "Git Bash",
"terminal.integrated.env.windows": {},
"terminal.integrated.scrollback": 3000,
"terminal.integrated.smoothScrolling": true,
"terminal.integrated.enableMultiLinePasteWarning": "never",
// fonts
"editor.fontLigatures": false,
"terminal.integrated.fontFamily": "SF Mono, Cascadia Code PL, JetBrainsMono Nerd Font, MesloLGS NF, Roboto Mono",
"terminal.integrated.fontSize": 12,
"terminal.integrated.lineHeight": 1.2,
"terminal.integrated.fontWeight": "500",
// "terminal.integrated.letterSpacing": 1,
"editor.fontFamily": "Monaspace Neon, SF Mono, Cascadia Code, MesloLGS NF, JetBrainsMono Nerd Font, Geist Mono",
"editor.fontSize": 13,
"editor.lineHeight": 1.5,
"editor.fontWeight": "400",
// "editor.integrated.letterSpacing": 1,
"editor.wordWrap": "on",
"window.zoomLevel": 0.5,
// editor theme
"editor.bracketPairColorization.enabled": false,
"window.autoDetectColorScheme": true,
// "workbench.colorTheme": "default",
"workbench.preferredDarkColorTheme": "Blue Moon theme",
"workbench.preferredLightColorTheme": "Monochromator Light",
// theme by Dark/Light
"workbench.colorCustomizations": {
"[Blue Moon theme]": {
//** color for dark
"editor.lineHighlightBackground": "#0b0b0ba9",
"tab.activeBorder": "#4c8bf0e5",
"tab.activeBorderTop": "#4c8bf000", // tab top border
"tab.border": "#ffffff00",
"tab.inactiveBackground": "#14181f",
"titleBar.activeBackground": "#14181f",
"titleBar.inactiveBackground": "#14181f",
"window.activeBorder": "#004dc100",
"window.inactiveBorder": "#032b6689",
"editorIndentGuide.background1": "#01052902",
"editorIndentGuide.activeBackground1": "#da3d77f1"
//** spotlight
// ,"quickInput.background": "#14181f8f" // BACKGROUND
},
"[Pitch Black]": {
// "editor.lineHighlightBackground": "#0b0b0ba9", // cursor line highlight
"tab.activeBorder": "#4c8bf0e5", // active tab bottom color
"editorIndentGuide.background1": "#01052902",
"editorIndentGuide.activeBackground1": "#da3d77f1",
},
"[GitHub Light Default]": {
//
},
"[Monochromator Light]": {},
"[Monochromator Dark]": {},
},
// "editor.tokenColorCustomizations": {
// "comments": {
// "fontStyle": "italic",
// "foreground": "#9b97979a"
// }
// },
// editor settings
"explorer.confirmPasteNative": false,
"editor.suggest.insertMode": "replace",
"editor.formatOnSave": false,
"editor.accessibilitySupport": "off",
"editor.screenReaderAnnounceInlineSuggestion": false,
"editor.stickyScroll.enabled": true,
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.tabCompletion": "on",
"editor.renderLineHighlightOnlyWhenFocus": true,
"editor.scrollBeyondLastLine": false,
"editor.defaultColorDecorators": "auto",
"editor.renderLineHighlight": "all",
"editor.guides.bracketPairsHorizontal": false,
"editor.guides.bracketPairs": "active",
"editor.matchBrackets": "never",
"editor.cursorBlinking": "solid",
"editor.cursorWidth": 2,
"editor.cursorStyle": "block",
"editor.cursorSurroundingLines": 20,
"editor.cursorSmoothCaretAnimation": "off",
"json.schemaDownload.enable": true,
"editor.rulers": [ {
"column": 90, // vertical ruler
"color": "#212120"
}
],
"workbench.list.smoothScrolling": true,
"workbench.editor.editorActionsLocation": "titleBar",
"breadcrumbs.enabled": false,
"editor.smoothScrolling": true,
"editor.tabSize": 2,
"editor.renderWhitespace": "none",
"symbols.hidesExplorerArrows": false, // deprecated
"workbench.sideBar.location": "right",
"editor.minimap.enabled": false,
"editor.glyphMargin": true,
"workbench.activityBar.location": "default",
"explorer.compactFolders": false,
"workbench.iconTheme": "symbols",
"workbench.colorTheme": "Blue Moon theme",
"window.commandCenter": true,
"workbench.navigationControl.enabled": false,
"cursor.composer.shouldChimeAfterChatFinishes": true,
}
Project-based Settings
.vscode/settings.json
{
"editor.tabSize": 2,
"git.autofetch": true,
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.patterns": {
"*.ts": "${capture}.test.ts",
"*.js": "${capture}.js.map, ${capture}.min.js, ${capture}.d.ts, ${capture}.test.js",
"package.json": "package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb, *.config.js, *.config.ts, *.config.cjs, *.config.mjs , *.json, .*, *.ts"
},
"editor.codeActionsOnSave": {
"source.addMissingImports.ts": "explicit",
"quickfix.biome": "explicit",
"source.organizeImports.biome": "explicit",
"source.fixAll.biome": "explicit"
},
"notebook.codeActionsOnSave": {
"quickfix.biome": "explicit"
},
"editor.suggest.insertMode": "replace",
"editor.defaultFormatter": "biomejs.biome",
"diffEditor.ignoreTrimWhitespace": false,
"editor.formatOnSave": true,
"editor.formatOnPaste": false,
"files.insertFinalNewline": true,
"typescript.validate.enable": true,
"javascript.validate.enable": true,
"[javascript][javascriptreact][typescript][typescriptreact][json][css][tailwindcss]": {
"editor.defaultFormatter": "biomejs.biome"
}
}
Keyboard Shortcut
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "f12",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "cmd+b",
"command": "-workbench.action.toggleSidebarVisibility"
},
{
"key": "f5",
"command": "-debug.openView",
"when": "!debuggersAvailable"
},
{
"key": "cmd+y",
"command": "redo"
},
{
"key": "shift+cmd+z",
"command": "-redo"
},
{
"key": "cmd+g",
"command": "workbench.action.gotoLine"
},
{
"key": "cmd+g",
"command": "-workbench.action.gotoLine"
},
{
"key": "cmd+up",
"command": "-cursorTop",
"when": "textInputFocus"
},
{
"key": "cmd+down",
"command": "-cursorBottom",
"when": "textInputFocus"
},
{
"key": "alt+cmd+up",
"command": "-editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+down",
"command": "-editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "ctrl+up",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+up",
"command": "-editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+down",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+down",
"command": "-editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
// vim configuration for tabs
{
"key": "shift+tab",
"command": "outdent",
"when": "editorTextFocus && !editorTabMovesFocus"
},
{
"key": "k",
"command": "extension.vim_up",
"when": "editorTextFocus && vim.active && !inDebugRepl && vim.mode != 'Insert'"
},
{
"key": "j",
"command": "extension.vim_down",
"when": "editorTextFocus && vim.active && !inDebugRepl && vim.mode != 'Insert'"
},
{
"key": "cmd+n",
"command": "-workbench.action.files.newUntitledFile"
},
{
"key": "cmd+n",
"command": "explorer.newFile"
},
{
"key": "cmd+m",
"command": "explorer.newFolder"
},
{
"key": "shift+f12",
"command": "workbench.action.focusPreviousPart"
},
{
"key": "shift+f6",
"command": "-workbench.action.focusPreviousPart"
},
{
"key": "shift+cmd+c",
"command": "workbench.files.action.collapseExplorerFolders"
},
{
"key": "shift+cmd+down",
"command": "space-block-text-jumper.jumpSelectDown",
"when": "inputFocus && !filesExplorerFocus"
},
{
"key": "shift+cmd+up",
"command": "space-block-text-jumper.jumpSelectUp",
"when": "inputFocus && !filesExplorerFocus"
},
{
"key": "cmd+d `",
"command": "extension.selectBackTick",
"when": "editorFocus"
},
{
"key": "cmd+k `",
"command": "-extension.selectBackTick",
"when": "editorFocus"
},
{
"key": "cmd+d shift+]",
"command": "extension.selectCurlyBrackets",
"when": "editorFocus"
},
{
"key": "cmd+k shift+[",
"command": "-extension.selectCurlyBrackets",
"when": "editorFocus"
},
{
"key": "cmd+d shift+'",
"command": "extension.selectDoubleQuote",
"when": "editorFocus"
},
{
"key": "cmd+k shift+'",
"command": "-extension.selectDoubleQuote",
"when": "editorFocus"
},
{
"key": "cmd+d cmd+a",
"command": "extension.selectEitherQuote",
"when": "editorFocus"
},
{
"key": "cmd+k ;",
"command": "-extension.selectEitherQuote",
"when": "editorFocus"
},
{
"key": "cmd+d shift+0",
"command": "extension.selectParenthesis",
"when": "editorFocus"
},
{
"key": "cmd+k shift+9",
"command": "-extension.selectParenthesis",
"when": "editorFocus"
},
{
"key": "cmd+d '",
"command": "extension.selectSingleQuote",
"when": "editorFocus"
},
{
"key": "cmd+k '",
"command": "-extension.selectSingleQuote",
"when": "editorFocus"
},
{
"key": "cmd+d ]",
"command": "extension.selectSquareBrackets",
"when": "editorFocus"
},
{
"key": "cmd+k [",
"command": "-extension.selectSquareBrackets",
"when": "editorFocus"
},
{
"key": "cmd+k shift+.",
"command": "-extension.selectInTag",
"when": "editorFocus"
},
{
"key": "cmd+d shift+[",
"command": "extension.selectCurlyBracketsOuter",
"when": "editorFocus"
},
{
"key": "cmd+k shift+]",
"command": "-extension.selectCurlyBracketsOuter",
"when": "editorFocus"
},
{
"key": "cmd+d shift+9",
"command": "extension.selectParenthesisOuter",
"when": "editorFocus"
},
{
"key": "cmd+k shift+0",
"command": "-extension.selectParenthesisOuter",
"when": "editorFocus"
},
{
"key": "cmd+d [",
"command": "extension.selectSquareBracketsOuter",
"when": "editorFocus"
},
{
"key": "cmd+k ]",
"command": "-extension.selectSquareBracketsOuter",
"when": "editorFocus"
},
{
"key": "cmd+k shift+;",
"command": "-extension.switchQuotes",
"when": "editorFocus"
},
{
"key": "f1",
"command": "-workbench.action.showCommands"
},
{
"key": "cmd+down",
"command": "space-block-text-jumper.jumpDown",
"when": "inputFocus && !filesExplorerFocus"
},
{
"key": "shift+cmd+p",
"command": "-workbench.action.showCommands"
},
{
"key": "cmd+q",
"command": "editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly && !suggestWidgetVisible"
},
{
"key": "cmd+i",
"command": "-editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly && !suggestWidgetVisible"
},
{
"key": "cmd+i",
"command": "-toggleSuggestionDetails",
"when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus"
},
{
"key": "cmd+q",
"command": "-workbench.action.quit"
},
{
"key": "cmd+r",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "cmd+d",
"command": "-editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "cmd+'",
"command": "editor.emmet.action.wrapWithAbbreviation",
"when": "editorFocus"
},
{
"key": "cmd+.",
"command": "-editor.action.quickFix",
"when": "editorHasCodeActionsProvider && textInputFocus && !editorReadonly"
},
{
"key": "cmd+d cmd+q",
"command": "editor.action.revealDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "f12",
"command": "-editor.action.revealDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "cmd+-",
"command": "workbench.action.splitEditorDown",
"when": "editorFocus"
},
{
"key": "cmd+k cmd+\\",
"command": "-workbench.action.splitEditorDown"
},
{
"key": "alt+d",
"command": "workbench.action.splitEditor"
},
{
"key": "cmd+\\",
"command": "-workbench.action.splitEditor"
},
{
"key": "cmd+1",
"command": "workbench.action.openEditorAtIndex1"
},
{
"key": "ctrl+1",
"command": "-workbench.action.openEditorAtIndex1"
},
{
"key": "cmd+2",
"command": "workbench.action.openEditorAtIndex2"
},
{
"key": "ctrl+2",
"command": "-workbench.action.openEditorAtIndex2"
},
{
"key": "cmd+3",
"command": "workbench.action.openEditorAtIndex3"
},
{
"key": "ctrl+3",
"command": "-workbench.action.openEditorAtIndex3"
},
{
"key": "cmd+4",
"command": "workbench.action.openEditorAtIndex4"
},
{
"key": "ctrl+4",
"command": "-workbench.action.openEditorAtIndex4"
},
{
"key": "cmd+5",
"command": "workbench.action.openEditorAtIndex5"
},
{
"key": "ctrl+5",
"command": "-workbench.action.openEditorAtIndex5"
},
{
"key": "ctrl+1",
"command": "workbench.action.focusFirstEditorGroup"
},
{
"key": "cmd+1",
"command": "-workbench.action.focusFirstEditorGroup"
},
{
"key": "ctrl+2",
"command": "workbench.action.focusSecondEditorGroup"
},
{
"key": "cmd+2",
"command": "-workbench.action.focusSecondEditorGroup"
},
{
"key": "ctrl+3",
"command": "workbench.action.focusThirdEditorGroup"
},
{
"key": "cmd+3",
"command": "-workbench.action.focusThirdEditorGroup"
},
{
"key": "ctrl+4",
"command": "workbench.action.focusFourthEditorGroup"
},
{
"key": "cmd+4",
"command": "-workbench.action.focusFourthEditorGroup"
},
{
"key": "ctrl+5",
"command": "workbench.action.focusFifthEditorGroup"
},
{
"key": "cmd+5",
"command": "-workbench.action.focusFifthEditorGroup"
},
{
"key": "ctrl+6",
"command": "workbench.action.focusSixthEditorGroup"
},
{
"key": "cmd+6",
"command": "-workbench.action.focusSixthEditorGroup"
},
{
"key": "cmd+6",
"command": "workbench.action.openEditorAtIndex6"
},
{
"key": "ctrl+6",
"command": "-workbench.action.openEditorAtIndex6"
},
{
"key": "cmd+7",
"command": "workbench.action.openEditorAtIndex7"
},
{
"key": "ctrl+7",
"command": "-workbench.action.openEditorAtIndex7"
},
{
"key": "cmd+8",
"command": "workbench.action.openEditorAtIndex8"
},
{
"key": "ctrl+8",
"command": "-workbench.action.openEditorAtIndex8"
},
{
"key": "cmd+9",
"command": "workbench.action.openEditorAtIndex9"
},
{
"key": "ctrl+9",
"command": "-workbench.action.openEditorAtIndex9"
},
{
"key": "ctrl+7",
"command": "workbench.action.focusSeventhEditorGroup"
},
{
"key": "cmd+7",
"command": "-workbench.action.focusSeventhEditorGroup"
},
{
"key": "ctrl+8",
"command": "workbench.action.focusEighthEditorGroup"
},
{
"key": "cmd+8",
"command": "-workbench.action.focusEighthEditorGroup"
},
{
"key": "j",
"command": "list.focusDown",
"when": "listFocus && !inputFocus"
},
{
"key": "j",
"command": "-list.focusDown",
"when": "listFocus && !inputFocus"
},
{
"key": "shift+cmd+[",
"command": "editor.fold",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "alt+cmd+[",
"command": "-editor.fold",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "shift+cmd+]",
"command": "editor.unfold",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "alt+cmd+]",
"command": "-editor.unfold",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "ctrl+shift+r",
"command": "-editor.action.refactor",
"when": "editorHasCodeActionsProvider && textInputFocus && !editorReadonly"
},
{
"key": "ctrl+s",
"command": "cursorDown",
"when": "textInputFocus"
},
{
"key": "ctrl+n",
"command": "-cursorDown",
"when": "textInputFocus"
},
{
"key": "ctrl+w",
"command": "cursorUp",
"when": "textInputFocus"
},
{
"key": "ctrl+p",
"command": "-cursorUp",
"when": "textInputFocus"
},
{
"key": "ctrl+a",
"command": "cursorLeft",
"when": "textInputFocus"
},
{
"key": "ctrl+b",
"command": "-cursorLeft",
"when": "textInputFocus"
},
{
"key": "ctrl+f",
"command": "-cursorRight",
"when": "textInputFocus"
},
{
"key": "ctrl+cmd+d",
"command": "cursorLineEnd",
"when": "textInputFocus"
},
{
"key": "ctrl+e",
"command": "-cursorLineEnd",
"when": "textInputFocus"
},
{
"key": "ctrl+cmd+a",
"command": "cursorLineStart",
"when": "textInputFocus"
},
{
"key": "ctrl+a",
"command": "-cursorLineStart",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+cmd+a",
"command": "cursorLineStartSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+a",
"command": "-cursorLineStartSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+cmd+d",
"command": "cursorLineEndSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+e",
"command": "-cursorLineEndSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+cmd+a",
"command": "cursorHome",
"when": "textInputFocus"
},
{
"key": "ctrl+alt+a",
"command": "cursorWordLeft",
"when": "textInputFocus"
},
{
"key": "ctrl+alt+d",
"command": "cursorWordEndRight",
"when": "textInputFocus"
},
{
"key": "alt+right",
"command": "-cursorWordEndRight",
"when": "textInputFocus"
},
{
"key": "ctrl+cmd+s",
"command": "space-block-text-jumper.jumpDown",
"when": "inputFocus && !filesExplorerFocus"
},
{
"key": "ctrl+shift+cmd+w",
"command": "space-block-text-jumper.jumpSelectUp",
"when": "inputFocus && !filesExplorerFocus"
},
{
"key": "ctrl+shift+cmd+s",
"command": "space-block-text-jumper.jumpSelectDown",
"when": "inputFocus && !filesExplorerFocus"
},
{
"key": "ctrl+alt+right",
"command": "-cursorWordPartRight",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+alt+right",
"command": "-cursorWordPartRightSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+alt+left",
"command": "-cursorWordPartLeft",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+alt+left",
"command": "-cursorWordPartLeftSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+alt+a",
"command": "cursorWordLeftSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+cmd+w",
"command": "space-block-text-jumper.jumpUp",
"when": "inputFocus && !filesExplorerFocus"
},
{
"key": "ctrl+alt+w",
"command": "space-block-text-jumper.jumpUp",
"when": "inputFocus && !filesExplorerFocus"
},
{
"key": "cmd+up",
"command": "space-block-text-jumper.jumpUp",
"when": "inputFocus && !filesExplorerFocus"
},
{
"key": "ctrl+shift+alt+w",
"command": "space-block-text-jumper.jumpSelectUp",
"when": "inputFocus && !filesExplorerFocus"
},
{
"key": "ctrl+shift+alt+s",
"command": "space-block-text-jumper.jumpSelectDown",
"when": "inputFocus && !filesExplorerFocus"
},
{
"key": "ctrl+alt+s",
"command": "space-block-text-jumper.jumpDown",
"when": "inputFocus && !filesExplorerFocus"
},
{
"key": "ctrl+shift+a",
"command": "cursorLeftSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+w",
"command": "cursorUpSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+s",
"command": "cursorDownSelect",
"when": "textInputFocus"
},
{
"key": "cmd+right",
"command": "-editor.action.inlineSuggest.acceptNextWord",
"when": "inlineSuggestionVisible && !editorReadonly"
},
{
"key": "down",
"command": "selectNextSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion"
},
{
"key": "cmd+s",
"command": "workbench.action.files.saveWithoutFormatting"
},
{
"key": "cmd+k s",
"command": "-workbench.action.files.saveWithoutFormatting"
},
{
"key": "cmd+d cmd+s",
"command": "workbench.action.files.save"
},
{
"key": "cmd+s",
"command": "-workbench.action.files.save"
},
{
"key": "cmd+d q",
"command": "editor.action.revealDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "cmd+d a",
"command": "extension.selectEitherQuote",
"when": "editorFocus"
},
{
"key": "cmd+d shift+.",
"command": "editor.emmet.action.balanceOut",
"when": "editorFocus"
},
{
"key": "cmd+0",
"command": "-workbench.action.focusSideBar"
},
{
"key": "alt+cmd+0",
"command": "-workbench.action.toggleEditorGroupLayout"
},
{
"key": "cmd+0",
"command": "editor.action.jumpToBracket",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+\\",
"command": "-editor.action.jumpToBracket",
"when": "editorTextFocus"
},
{
"key": "cmd+w",
"command": "workbench.action.terminal.kill",
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus"
},
{
"key": "cmd+1",
"command": "workbench.action.terminal.focusAtIndex1",
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus"
},
{
"key": "cmd+2",
"command": "workbench.action.terminal.focusAtIndex2",
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus"
},
{
"key": "cmd+k shift+,",
"command": "-extension.selectAngleBrackets",
"when": "editorFocus"
},
{
"key": "cmd+d shift+,",
"command": "editor.emmet.action.balanceOut",
"when": "editorFocus"
},
{
"key": "cmd+-",
"command": "-workbench.action.zoomOut"
},
{
"key": "cmd+=",
"command": "-workbench.action.zoomIn"
},
{
"key": "cmd+\\",
"command": "workbench.action.splitEditorRight",
"when": "editorFocus"
},
{
"key": "cmd+k cmd+\\",
"command": "-workbench.action.splitEditorRight"
},
{
"key": "ctrl+k",
"command": "-deleteAllRight",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "cmd+d i",
"command": "editor.action.showDefinitionPreviewHover",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+]",
"command": "-workbench.action.nextEditor"
},
{
"key": "shift+cmd+w",
"command": "-workbench.action.closeWindow"
},
{
"key": "alt+right",
"command": "cursorWordStartRight",
"when": "textInputFocus"
},
{
"key": "shift+alt+right",
"command": "cursorWordStartRightSelect",
"when": "textInputFocus"
},
{
"key": "alt+cmd+down",
"command": "-quickInput.nextSeparator",
"when": "inQuickInput && quickInputType == 'quickPick'"
},
{
"key": "alt+cmd+down",
"command": "-workbench.action.terminal.focusNextPane",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+cmd+down",
"command": "-notebook.cell.focusInOutput",
"when": "notebookCellHasOutputs && notebookEditorFocused"
},
{
"key": "ctrl+cmd+down",
"command": "-notebook.focusNextEditor",
"when": "notebookEditorFocused && notebookOutputFocused"
},
{
"key": "ctrl+cmd+down",
"command": "-workbench.action.terminal.resizePaneDown",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+cmd+down",
"command": "-quickInput.nextSeparator",
"when": "inQuickInput && quickInputType == 'quickPick'"
},
{
"key": "ctrl+alt+cmd+down",
"command": "-quickInput.nextSeparator",
"when": "inQuickInput && quickInputType == 'quickPick'"
},
{
"key": "ctrl+cmd+pagedown",
"command": "-quickInput.pageNext",
"when": "inQuickInput && quickInputType == 'quickPick'"
},
{
"key": "ctrl+alt+cmd+pagedown",
"command": "-quickInput.pageNext",
"when": "inQuickInput && quickInputType == 'quickPick'"
},
{
"key": "ctrl+cmd+right",
"command": "-workbench.action.terminal.resizePaneRight",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+cmd+right",
"command": "-workbench.action.moveEditorToNextGroup"
},
{
"key": "ctrl+cmd+down",
"command": "cursorColumnSelectDown",
"when": "textInputFocus"
},
{
"key": "shift+alt+cmd+down",
"command": "-cursorColumnSelectDown",
"when": "textInputFocus"
},
{
"key": "ctrl+cmd+up",
"command": "cursorColumnSelectUp",
"when": "textInputFocus"
},
{
"key": "shift+alt+cmd+up",
"command": "-cursorColumnSelectUp",
"when": "textInputFocus"
},
{
"key": "shift+cmd+c",
"command": "-workbench.action.terminal.openNativeConsole",
"when": "!terminalFocus"
},
{
"key": "cmd+d r",
"command": "editor.action.quickFix",
"when": "editorHasCodeActionsProvider && textInputFocus && !editorReadonly"
},
{
"key": "shift+cmd+r",
"command": "workbench.view.scm",
"when": "workbench.scm.active"
},
{
"key": "ctrl+shift+g",
"command": "-workbench.view.scm",
"when": "workbench.scm.active"
},
{
"key": "shift+cmd+r",
"command": "-reactSnippets.search",
"when": "editorTextFocus"
},
{
"key": "f10",
"command": "workbench.action.toggleDevTools",
"when": "true"
},
{
"key": "alt+cmd+i",
"command": "-workbench.action.toggleDevTools",
"when": "isDevelopment"
},
{
"key": "cmd+k cmd+s",
"command": "workbench.action.openGlobalKeybindings"
},
{
"key": "cmd+r cmd+s",
"command": "-workbench.action.openGlobalKeybindings"
},
{
"key": "shift+cmd+p",
"command": "workbench.action.showAllEditors"
},
{
"key": "alt+cmd+tab",
"command": "-workbench.action.showAllEditors"
},
{
"key": "cmd+l",
"command": "-aichat.newchataction"
},
{
"key": "cmd+l",
"command": "-composer.sendToAgent",
"when": "editorHasPromptBar && editorPromptBarFocused"
},
{
"key": "shift+cmd+[",
"command": "-workbench.action.previousEditor"
},
{
"key": "shift+cmd+i",
"command": "-composer.newAgentChat"
},
{
"key": "alt+cmd+'",
"command": "-composer.showComposerHistory"
},
{
"key": "shift+cmd+i",
"command": "composer.startComposerPrompt"
},
{
"key": "cmd+i",
"command": "-composer.startComposerPrompt"
},
{
"key": "alt+f8",
"command": "-editor.action.marker.next",
"when": "editorFocus"
},
{
"key": "cmd+f2",
"command": "editor.action.marker.nextInFiles",
"when": "editorFocus"
},
{
"key": "f8",
"command": "-editor.action.marker.nextInFiles",
"when": "editorFocus"
},
{
"key": "shift+alt+f8",
"command": "-editor.action.marker.prev",
"when": "editorFocus"
},
{
"key": "shift+f8",
"command": "-editor.action.marker.prevInFiles",
"when": "editorFocus"
},
{
"key": "cmd+d shift+n",
"command": "workbench.action.newWindow"
},
{
"key": "shift+cmd+n",
"command": "-workbench.action.newWindow"
},
{
"key": "shift+cmd+n",
"command": "workbench.action.files.newUntitledFile"
},
{
"key": "cmd+]",
"command": "-editor.action.indentLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+]",
"command": "workbench.action.focusNextGroup"
},
{
"key": "cmd+[",
"command": "workbench.action.focusPreviousGroup"
},
{
"key": "cmd+f2",
"command": "-editor.action.changeAll",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+f1",
"command": "editor.action.marker.prevInFiles"
},
{
"key": "f1",
"command": "workbench.action.showCommands"
},
{
"key": "shift+cmd+k",
"command": "cursorai.action.generateInTerminal",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported || terminalHasBeenCreated && terminalPromptBarVisible || terminalProcessSupported && terminalPromptBarVisible"
},
{
"key": "cmd+k",
"command": "-cursorai.action.generateInTerminal",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported || terminalHasBeenCreated && terminalPromptBarVisible || terminalProcessSupported && terminalPromptBarVisible"
},
{
"key": "cmd+d o",
"command": "editor.action.referenceSearch.trigger",
"when": "editorTextFocus"
},
{
"key": "cmd+]",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus"
},
{
"key": "shift+cmd+]",
"command": "-workbench.action.terminal.focusNext",
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus"
},
{
"key": "cmd+[",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus"
},
{
"key": "shift+cmd+[",
"command": "-workbench.action.terminal.focusPrevious",
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus"
},
{
"key": "cmd+o",
"command": "-workbench.action.files.openFile",
"when": "false"
},
{
"key": "cmd+o",
"command": "-workbench.action.files.openFolderViaWorkspace",
"when": "!openFolderWorkspaceSupport && workbenchState == 'workspace'"
},
{
"key": "cmd+o",
"command": "-workbench.action.files.openFileFolder",
"when": "isMacNative && openFolderWorkspaceSupport"
}
]
Snippets
{
"useState": {
"prefix": "ust",
"body": [
"const [${1}, set${1/(.*)/${1:/capitalize}/}] = useState(${2})"
],
"description": "Jose snippets - create React useState.",
"scope": "typescript,typescriptreact,javascript,javascriptreact"
},
"useEffect": {
"prefix": "uef",
"body": [
"useEffect(() => {",
" $1",
"}. [$2])"
],
"description": "Jose snippets - create React useEffect.",
"scope": "typescript,typescriptreact,javascript,javascriptreact"
},
"reactFunctionComponent": {
"prefix": "rfc",
"body": [
"",
"interface ${1:Comp}Props {",
" $0",
"}",
"",
"export function ${1:${TM_FILENAME_BASE}}({}: ${1:Comp}Props) {",
" return (",
" <div>${1:Comp}</div>",
" )",
"}",
""
],
"description": "Jose snippets - create a function component with export.",
"scope": "typescript,typescriptreact,javascript,javascriptreact"
},
"reactFunctionComponentElement": {
"prefix": "rfche",
"body": [
"import type { ComponentProps } from 'react'",
"",
"interface ${1:Comp}Props extends ComponentProps<'${2:div}'>{",
" $0",
"}",
"",
"export function ${1:${TM_FILENAME_BASE}}({ children }: ${1:Comp}Props) {",
" return (",
" <${2:div}>{children}</${2:div}>",
" )",
"}",
""
],
"description": "Jose snippets - create a function component with export, typed HTML element.",
"scope": "typescript,typescriptreact,javascript,javascriptreact"
},
"reactArrowFunction": {
"prefix": "raf",
"body": [
"import type { FC } from 'react'",
"",
"interface ${1:fn}Props {",
" $0",
"}",
"",
"const ${1:fn}: FC<${1}Props> = () => {",
" return (",
" <div>$1</div>",
" )",
"}",
""
],
"description": "Jose snippets - create a function component with export.",
"scope": "typescript,typescriptreact,javascript,javascriptreact"
},
"reactArrowFunctionHTMLElement": {
"prefix": "rafhe",
"body": [
"import type { ComponentProps, FC } from 'react'",
"",
"interface ${1:fn}Props extends ComponentProps<'${2:div}'>{",
" $0",
"}",
"",
"const ${1}: FC<${1}Props> = ({ children }) => {",
" return (",
" <$2>{children}</$2>",
" )",
"}",
""
],
"description": "Jose snippets - create a arrow function component with export, type html element.",
"scope": "typescript,typescriptreact,javascript,javascriptreact"
}
}