VS Code config
Here are all my VS Code settings for: default profile, react profile, project specific vscode settings, and keyboard shortcut.
👨💻 Default Profile
{
//! project-manager extension
"projectManager.git.baseFolders": [
"\\\\wsl.localhost\\Ubuntu\\home\\jvaldiv8\\CMSC330\\projects",
"C:\\Users\\pjose\\Documents",
"/Users/joseavr/pr",
"/Users/joseavr/Downloads",
],
"projectManager.openInNewWindowWhenClickingInStatusBar": true,
//! git
"scm.diffDecorations": "all",
"git.autofetch": true,
"git.confirmSync": false,
"git.openRepositoryInParentFolders": "never",
"diffEditor.renderSideBySide": false,
//! inline suggestion
"emmet.triggerExpansionOnTab": true,
"emmet.useInlineCompletions": true,
"editor.inlineSuggest.enabled": true,
"editor.suggest.showWords": false,
"editor.suggest.showKeywords": false,
"editor.parameterHints.enabled": false,
"editor.hover.enabled": false,
"editor.acceptSuggestionOnEnter": "on",
"editor.quickSuggestions": {
"other": "off", // appear suggestion as you type
"comments": "off",
"strings": "off"
},
"editor.suggestOnTriggerCharacters": false, // appear suggestion on type '.', '/', etc
"editor.tabCompletion": "on", // press key <tab> to autocomplete
"editor.snippetSuggestions": "top",
//! 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, *.jsonc, .*, *.ts"
},
//! terminal
"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",
"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": "400",
//! fonts
"editor.fontLigatures": false,
"editor.fontFamily": "SF Mono, Monaspace Neon, Cascadia Code, MesloLGS NF, JetBrainsMono Nerd Font, Geist Mono",
"editor.fontSize": 15,
"editor.lineHeight": 1.3,
"editor.fontWeight": "400",
"editor.wordWrap": "on",
"window.zoomLevel": 1,
//! editor theme
"editor.bracketPairColorization.enabled": false,
"workbench.iconTheme": "symbols",
"workbench.colorTheme": "Blue Moon theme",
"window.autoDetectColorScheme": true,
"workbench.preferredLightColorTheme": "Vercel 2024 Light",
"workbench.preferredDarkColorTheme": "Blue Moon theme",
// theme by Dark/Light
"workbench.colorCustomizations": {
// hide overview ruler indicators
// "editorOverviewRuler.wordHighlightStrongForeground": "#0000",
// "editorOverviewRuler.selectionHighlightForeground": "#0000",
// "editorOverviewRuler.rangeHighlightForeground": "#0000",
// "editorOverviewRuler.wordHighlightForeground": "#0000",
// "editorOverviewRuler.bracketMatchForeground": "#0000",
// "editorOverviewRuler.findMatchForeground": "#0000",
// "editorOverviewRuler.modifiedForeground": "#0000",
// "editorOverviewRuler.deletedForeground": "#0000",
// "editorOverviewRuler.warningForeground": "#0000",
// "editorOverviewRuler.addedForeground": "#0000",
// "editorOverviewRuler.errorForeground": "#0000",
// "editorOverviewRuler.infoForeground": "#0000",
// "editorOverviewRuler.border": "#0000",
"[Blue Moon theme]": {
//** color for dark
////v1
// "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"
//// v2
// "editor.background": "#0c0e1a",
// "terminal.background": "#0c0e1a",
// "editor.lineHighlightBackground": "#0b0b0ba9",
// "tab.activeBorder": "#4c8bf0e5",
// "tab.activeBorderTop": "#4c8bf000", // tab top border
// "tab.border": "#ffffff00",
// "tab.inactiveBackground": "#0c0e1a",
// "titleBar.activeBackground": "#0c0e1a",
// "titleBar.inactiveBackground": "#0c0e1a",
// "window.activeBorder": "#004dc100",
// "window.inactiveBorder": "#032b6689",
// "editorIndentGuide.background1": "#01052902",
// "editorIndentGuide.activeBackground1": "#da3d77f1",
//// v3
"editor.background": "#0b1522",
"terminal.background": "#0b1522",
// "editor.lineHighlightBackground": "#0b0b0ba9",
"tab.activeBorder": "#4c8bf0e5",
"tab.activeBorderTop": "#4c8bf000", // tab top border
"tab.border": "#ffffff00",
"tab.inactiveBackground": "#0b1522",
"titleBar.activeBackground": "#0b1522",
"titleBar.inactiveBackground": "#0b1522",
"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
"editor.trimAutoWhitespace": true,
"editor.lightbulb.enabled": "off",
"editor.suggest.localityBonus": true, // suggest local packages first than externals
"typescript.preferences.importModuleSpecifier": "non-relative", // Prefer your alias instead of relative imports
"editor.suggestSelection": "recentlyUsedByPrefix", // Make VS Code stick to the import style you just used
"explorer.confirmPasteNative": false,
"editor.suggest.insertMode": "replace",
"editor.formatOnSave": true,
"editor.accessibilitySupport": "off",
"editor.screenReaderAnnounceInlineSuggestion": false,
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.renderLineHighlightOnlyWhenFocus": true,
"editor.defaultColorDecorators": "auto",
"editor.colorDecorators": false, // show color picker next to text (tailwind classes or css color prop)
"editor.renderLineHighlight": "none", // whole line highlight on cursor pos.
"editor.cursorBlinking": "solid",
"editor.cursorWidth": 2,
"editor.cursorStyle": "block",
"editor.scrollBeyondLastLine": false,
"editor.cursorSurroundingLines": 5, // prev: 20, screen follows cursor
"editor.cursorSmoothCaretAnimation": "off",
"json.schemaDownload.enable": true,
"editor.rulers": [
{
"column": 90, // vertical ruler
"color": "#212120"
}
],
"editor.smoothScrolling": true,
"editor.tabSize": 2,
"editor.renderWhitespace": "none",
//! editor ui
"symbols.hidesExplorerArrows": false,
"window.commandCenter": true,
"scm.diffDecorationsGutterVisibility": "hover", // git decoration next to the folding caret icon
"editor.showFoldingControls": "mouseover", // folding caret icon
"editor.stickyScroll.enabled": false, // sticky on func, classes or parent scopes
"editor.guides.bracketPairsHorizontal": false,
"editor.guides.indentation": false, // codeblock vertical indentantion level line
"editor.guides.bracketPairs": false, // codeblock vertical indentantion level line
"editor.matchBrackets": "never", // highlight open-closed brackets chars
"editor.hideCursorInOverviewRuler": true,
"editor.overviewRulerBorder": false, // remove vertical scrollbar border
"editor.scrollbar.verticalScrollbarSize": 6, // vertical scrollbar width
"editor.scrollbar.horizontal": "hidden",
"workbench.editor.decorations.colors": true, // git colors on tab
"workbench.editor.decorations.badges": false, // git info on tab
"git.decorations.enabled": true, // color decoration on file explorer
"workbench.editor.labelFormat": "default",
"workbench.navigationControl.enabled": false,
"workbench.list.smoothScrolling": true,
"workbench.sideBar.location": "right",
"editor.minimap.enabled": false,
"editor.glyphMargin": true,
"explorer.compactFolders": false,
//! cursor config
"cursor.composer.usageSummaryDisplay": "always",
"cursor.composer.shouldChimeAfterChatFinishes": true,
// 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": {
// Tabs: align right
// ".monaco-workbench .part.editor > .content .editor-group-container > .title .tabs-container > div:first-child": "padding-left: 100px",
// Tabs: set primary theme color + tabs floating + tabs shadow
".title.tabs.show-file-icons": "background-color: var(--vscode-editor-background) !important",
// Right Panel: set primary theme color
".split-view-container > .visible": "background-color: var(--vscode-editor-background) !important;",
// StatusBar: opacity + animation
".statusbar": "opacity: 0.3; transition: 0.3s ease-in-out",
".statusbar:hover": "opacity: 1",
// Font Style: comments
// ".mtk4": "font-family: 'Monaspace Radon' !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; ",
// Underlay: 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",
// Title Bar: hide actions (cursor)
".layout-actions-container ul li div.upgrade-pro-button": "display: none; !important",
".layout-actions-container ul li div.monaco-dropdown": "display: none; !important",
// Sidebar: hide actions (cursor)
".titlebar-right ul li div.upgrade-pro-button" : "display: none; !important",
".titlebar-right ul li div.monaco-dropdown" : "display: none; !important",
},
"window.customTitleBarVisibility": "auto",
"update.releaseTrack": "stable",
"update.mode": "default",
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
}
⚛️ React Profile
{
//! cursor config
"cursor.composer.usageSummaryDisplay": "always",
"cursor.composer.shouldChimeAfterChatFinishes": true,
//! vim config
"vim.easymotion": true,
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
// To improve performance
// "extensions.experimental.affinity": {
// "vscodevim.vim": 1
// },
"vim.insertModeKeyBindings": [
{
"before": [
"k",
"k"
],
"after": [
"<Esc>"
]
}
],
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": [
"j"
],
"after": [
"k"
]
},
{
"before": [
"k"
],
"after": [
"j"
]
},
{
"before": [
"<leader>",
"d"
],
"after": [
"d",
"d"
]
},
{
"before": [
"<C-n>"
],
"commands": [
":nohl"
]
},
{
"before": [
"K"
],
"commands": [
"lineBreakInsert"
],
"silent": true
}
],
"vim.leader": "<space>",
"vim.handleKeys": {
"<C-a>": false,
"<C-f>": false
},
//! javascript
"javascript.updateImportsOnFileMove.enabled": "always",
//! typescript
"typescript.referencesCodeLens.showOnAllFunctions": true,
"typescript.updateImportsOnFileMove.enabled": "always",
//! tailwindcss
"files.associations": {
"*.css": "tailwindcss"
},
"tailwindCSS.suggestions": true,
//! html
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
//! python
"[python]": {
"editor.formatOnType": true
},
//! code scope highlighter extension
"codeScopeHighlighter.bracketColorLight": "#dc2626dd",
"codeScopeHighlighter.scopeColorLight": "#4d4d4d30",
//! 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",
],
"projectManager.openInNewWindowWhenClickingInStatusBar": true,
//! biome extension
"editor.defaultFormatter": "biomejs.biome",
//! extensions settings
"extensions.ignoreRecommendations": true,
"biome.suggestInstallingGlobally": false,
//! git
"scm.diffDecorations": "gutter",
"git.autofetch": true,
"git.confirmSync": false,
"git.openRepositoryInParentFolders": "never",
"diffEditor.renderSideBySide": false,
//! inline suggestion
"emmet.triggerExpansionOnTab": true,
"emmet.useInlineCompletions": true,
"editor.inlineSuggest.enabled": true,
"editor.suggest.showWords": false,
"editor.suggest.showKeywords": false,
"editor.parameterHints.enabled": false,
"editor.hover.enabled": false,
"editor.acceptSuggestionOnEnter": "on",
"editor.quickSuggestions": {
"other": "off", // appear suggestion as you type
"comments": "off",
"strings": "off"
},
"editor.suggestOnTriggerCharacters": false, // appear suggestion on type '.', '/', etc
"editor.tabCompletion": "on", // press key <tab> to autocomplete
// "editor.snippetSuggestions": "top",
//! 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, *.jsonc, .*, *.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",
"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": "400",
// "terminal.integrated.letterSpacing": 1,
//! fonts
"editor.fontLigatures": false,
"editor.fontFamily": "SF Mono, Monaspace Neon, Cascadia Code, MesloLGS NF, JetBrainsMono Nerd Font, Geist Mono",
"editor.fontSize": 15,
"editor.lineHeight": 1.3,
"editor.fontWeight": "400",
// "editor.integrated.letterSpacing": 1,
"editor.wordWrap": "on",
"window.zoomLevel": 1,
//! editor theme
"editor.bracketPairColorization.enabled": false,
"window.autoDetectColorScheme": true,
"workbench.iconTheme": "symbols",
"workbench.colorTheme": "Blue Moon theme",
"workbench.preferredLightColorTheme": "Vercel 2024 Light",
"workbench.preferredDarkColorTheme": "Blue Moon theme",
"gruvboxMaterial.darkContrast": "hard",
"gruvboxMaterial.highContrast": true,
"gruvboxMaterial.lightContrast": "hard",
// theme by Dark/Light
"workbench.colorCustomizations": {
"[Blue Moon theme]": {
//// v3
"editor.background": "#0b1522",
"terminal.background": "#0b1522",
// "editor.lineHighlightBackground": "#0b0b0ba9",
"tab.activeBorder": "#4c8bf0e5",
"tab.activeBorderTop": "#4c8bf000", // tab top border
"tab.border": "#ffffff00",
"tab.inactiveBackground": "#0b1522",
"titleBar.activeBackground": "#0b1522",
"titleBar.inactiveBackground": "#0b1522",
"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]": {},
"[Gruvbox Material Dark]": {
// customs one
// "editor.lineHighlightBackground": "#0b0b0b00",
// "editor.background" : "#0E1018",
"titleBar.inactiveBackground": "#0E1018",
"tab.activeBackground": "#0E1018",
"titleBar.activeBackground": "#0E1018",
"tab.inactiveBackground": "#0E1018",
// from sirmars
"editor.background": "#0E1018",
"editor.foreground": "#ebdbb2",
"editorLineNumber.activeForeground": "#fabd2f",
"editor.foldBackground": "#0E101830",
"editorGutter.foldingControlForeground": "#fe8019",
"editorHoverWidget.background": "#0E1018",
"editorHoverWidget.foreground": "#ebdbb2",
"editorInlayHint.foreground": "#ABB0B6",
"editorError.foreground": "#fb4934",
"editorBracketMatch.border": "#fe8019",
"editorBracketMatch.background": "#00000000",
"terminal.background": "#0E1018",
"terminal.foreground": "#ebdbb2"
}
},
// "editor.tokenColorCustomizations": {
// "comments": {
// "fontStyle": "italic",
// "foreground": "#9b97979a"
// }
// },
//! editor settings
"editor.trimAutoWhitespace": true,
"editor.lightbulb.enabled": "off",
"editor.suggest.localityBonus": true, // suggest local packages first than externals
"typescript.preferences.importModuleSpecifier": "non-relative", // Prefer your alias instead of relative imports
"editor.suggestSelection": "recentlyUsedByPrefix", // Make VS Code stick to the import style you just used
"explorer.confirmPasteNative": false,
"editor.suggest.insertMode": "replace",
"editor.formatOnSave": true,
"editor.accessibilitySupport": "off",
"editor.screenReaderAnnounceInlineSuggestion": false,
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.renderLineHighlightOnlyWhenFocus": true,
"editor.defaultColorDecorators": "auto",
"editor.colorDecorators": false, // show color picker next to text (tailwind classes or css color prop)
"editor.renderLineHighlight": "none", // whole line highlight on cursor pos.
"editor.cursorBlinking": "solid",
"editor.cursorWidth": 2,
"editor.cursorStyle": "block",
"editor.scrollBeyondLastLine": false,
"editor.cursorSurroundingLines": 5, // prev: 20, screen follows cursor
"editor.cursorSmoothCaretAnimation": "off",
"json.schemaDownload.enable": true,
"editor.rulers": [
{
"column": 90, // vertical ruler
"color": "#212120"
}
],
"editor.smoothScrolling": true,
"editor.tabSize": 2,
"editor.renderWhitespace": "none",
//! editor ui
"symbols.hidesExplorerArrows": false,
"window.commandCenter": true,
"scm.diffDecorationsGutterVisibility": "hover", // git decoration next to the folding caret icon
"editor.showFoldingControls": "mouseover", // folding caret icon
"editor.stickyScroll.enabled": false, // sticky on func, classes or parent scopes
"editor.guides.bracketPairsHorizontal": false,
"editor.guides.indentation": false, // codeblock vertical indentantion level line
"editor.guides.bracketPairs": false, // codeblock vertical indentantion level line
"editor.matchBrackets": "never", // highlight open-closed brackets chars
"editor.hideCursorInOverviewRuler": true,
"editor.overviewRulerBorder": false, // remove vertical scrollbar border
"editor.scrollbar.verticalScrollbarSize": 6, // vertical scrollbar width
"editor.scrollbar.horizontal": "hidden",
"workbench.editor.decorations.colors": true, // git colors on tab
"workbench.editor.decorations.badges": false, // git info on tab
"git.decorations.enabled": true, // color decoration on file explorer
"workbench.editor.labelFormat": "default",
"workbench.navigationControl.enabled": false,
"workbench.list.smoothScrolling": true,
"workbench.sideBar.location": "right",
"editor.minimap.enabled": false,
"editor.glyphMargin": true,
"explorer.compactFolders": false,
"breadcrumbs.enabled": false,
}
📁 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 Shortcuts
// 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",
"when": "editorFocus || filesExplorerFocus"
},
{
"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": "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": "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": "cmd+[",
"command": "editor.fold",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "alt+cmd+[",
"command": "-editor.fold",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "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": "alt+right",
"command": "cursorWordEndRight",
"when": "textInputFocus"
},
{
"key": "alt+right",
"command": "-cursorWordEndRight",
"when": "textInputFocus"
},
{
"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": "cmd+up",
"command": "space-block-text-jumper.jumpUp",
"when": "inputFocus && !filesExplorerFocus"
},
{
"key": "shift+cmd+up",
"command": "space-block-text-jumper.jumpSelectUp",
"when": "inputFocus && !filesExplorerFocus"
},
{
"key": "shift+cmd+down",
"command": "space-block-text-jumper.jumpSelectDown",
"when": "inputFocus && !filesExplorerFocus"
},
{
"key": "cmd+down",
"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+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": "shift+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+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": "shift+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"
},
{
"key": "shift+cmd+l",
"command": "-aichat.insertselectionintochat"
},
{
"key": "shift+cmd+b",
"command": "space-block-text-jumper.selectBlock"
},
{
"key": "shift+cmd+b",
"command": "-workbench.action.tasks.build",
"when": "taskCommandsRegistered"
},
{
"key": "cmd+d shift+.",
"command": "editor.emmet.action.balanceIn",
"when": "editorFocus"
},
{
"key": "shift+cmd+]",
"command": "workbench.action.focusNextGroup"
},
{
"key": "cmd+d t",
"command": "editor.action.goToTypeDefinition"
},
{
"key": "cmd+.",
"command": "cursor.composer.openAgentWindow",
"when": "cursor.appLayoutEnabled && cursor.appLayout != 'agent'"
},
{
"key": "cmd+e",
"command": "-cursor.composer.openAgentWindow",
"when": "cursor.appLayoutEnabled && cursor.appLayout != 'agent'"
},
{
"key": "cmd+.",
"command": "cursor.composer.openEditorWindow",
"when": "cursor.appLayoutEnabled && cursor.appLayout == 'agent'"
},
{
"key": "cmd+e",
"command": "-cursor.composer.openEditorWindow",
"when": "cursor.appLayoutEnabled && cursor.appLayout == 'agent'"
},
{
"key": "cmd+i",
"command": "composerMode.agent"
},
{
"key": "ctrl+`",
"command": "-workbench.action.terminal.toggleTerminal",
"when": "terminal.active"
},
{
"key": "cmd+=",
"command": "workbench.action.zoomIn"
},
{
"key": "shift+cmd+=",
"command": "-workbench.action.zoomIn"
},
{
"key": "cmd+-",
"command": "workbench.action.zoomOut"
},
{
"key": "shift+cmd+-",
"command": "-workbench.action.zoomOut"
},
{
"key": "shift+cmd+\\",
"command": "workbench.action.terminal.split",
"when": "terminalFocus && terminalProcessSupported || terminalFocus && terminalWebExtensionContributedProfile"
},
{
"key": "cmd+\\",
"command": "-workbench.action.terminal.split",
"when": "terminalFocus && terminalProcessSupported || terminalFocus && terminalWebExtensionContributedProfile"
},
{
"key": "ctrl+`",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "cmd+j",
"command": "-workbench.action.togglePanel",
"when": "!isAuxiliaryWindowFocusedContext"
},
{
"key": "ctrl+cmd+tab",
"command": "workbench.action.openLayoutSwitcher"
},
{
"key": "alt+cmd+tab",
"command": "-workbench.action.openLayoutSwitcher"
},
{
"key": "alt+cmd+s",
"command": "workbench.action.toggleUnifiedSidebarFromKeyboard",
"when": "cursor.agentIdeUnification.enabled == true && !isAuxiliaryWindowFocusedContext"
}
]✂️ Snippets
{
"consoleLog": {
"prefix": "clg",
"body": "console.log(${1})",
},
"consoleError": {
"prefix": "cer",
"body": "console.error(${1})"
},
"reactUseState": {
"prefix": "rus",
"body": [
"const [${1}, set${1/(.*)/${1:/capitalize}/}] = useState(${2})"
],
"description": "joseavr snippets: create React useState.",
"scope": "typescript,typescriptreact,javascript,javascriptreact"
},
"reactUseEffect": {
"prefix": "rue",
"body": [
"useEffect(() => {",
" $1",
"}, [$2])"
],
"description": "joseavr snippets: create React useEffect.",
"scope": "typescript,typescriptreact,javascript,javascriptreact"
},
"reactFunctionComponent": {
"prefix": "rfc",
"body": [
"",
"export function ${1:${TM_FILENAME_BASE}}() {",
" return (",
" <div>${1}</div>",
" )",
"}",
""
],
"description": "joseavr snippets: create a function component with export",
"scope": "typescript,typescriptreact,javascript,javascriptreact"
},
"reactFunctionComponentTyped": {
"prefix": "rfct",
"body": [
"",
"interface ${1}Props {",
" $0",
"}",
"",
"export function ${1:${TM_FILENAME_BASE}}({}: ${1}Props) {",
" return (",
" <div>${1}</div>",
" )",
"}",
""
],
"description": "joseavr snippets: create a function component with export, fully typed.",
"scope": "typescript,typescriptreact,javascript,javascriptreact"
},
"reactFunctionComponentIcon": {
"prefix": "rfci",
"body": [
"",
"export function ${1}({className, ...props}: SVGProps<SVGSVGElement>) {",
" return (",
" ${2}",
" )",
"}",
""
],
"description": "joseavr snippets: create a function component for SVGs with export.",
"scope": "typescript,typescriptreact,javascript,javascriptreact"
},
"reactFunctionComponentTypedElement": {
"prefix": "rfcte",
"body": [
"",
"interface ${1}Props extends ComponentProps<'${2:div}'>{",
" $0",
"}",
"",
"export function ${1:${TM_FILENAME_BASE}}({ children }: ${1}Props) {",
" return (",
" <${2:div}>{children}</${2:div}>",
" )",
"}",
""
],
"description": "joseavr snippets: create a function component with export, typed HTML element.",
"scope": "typescript,typescriptreact,javascript,javascriptreact"
},
"reactArrowFunctionComponent": {
"prefix": "rafc",
"body": [
"",
"interface ${1}Props {",
" $0",
"}",
"",
"const ${1}: FC<${1}Props> = () => {",
" return (",
" <div></div>",
" )",
"}",
""
],
"description": "joseavr snippets: create a arrow function component with export.",
"scope": "typescript,typescriptreact,javascript,javascriptreact"
},
"reactArrowFunctionTypedElement": {
"prefix": "rafcte",
"body": [
"",
"interface ${1:fn}Props extends ComponentProps<'${2:div}'>{",
" $0",
"}",
"",
"const ${1}: FC<${1}Props> = ({ children }) => {",
" return (",
" <$2>{children}</$2>",
" )",
"}",
""
],
"description": "joseavr snippets: create a arrow function component type html element.",
"scope": "typescript,typescriptreact,javascript,javascriptreact"
},
"lambdaFunction": {
"prefix": "lfn",
"body": [
"",
"const ${1} = () => {",
"",
"}",
""
],
"description": "joseavr snippets: create a lambda function (arrow function).",
"scope": "typescript,typescriptreact,javascript,javascriptreact"
},
}