My Vs Code Setup
info
My VsCode Profile: https://vscode.dev/profile/github/b7b37425d2644c7b89c968f8d08ef371 click on import this into vscode option on sidebar after this link opens in browser
My own VS Code Theme
- cosmicsarthak
tip
- Marketplace: https://marketplace.visualstudio.com/items?itemName=cosmicsarthak.cosmicsarthak-neon-theme
- Hub URL: https://marketplace.visualstudio.com/manage/publishers/cosmicsarthak/extensions/cosmicsarthak-neon-theme/hub
- https://marketplace.visualstudio.com/manage/publishers/cosmicsarthak
Published cosmicsarthak.cosmicsarthak-neon-theme v1.0.0 :::
Sarthak's VS Code Global Settings
Heading
~/.config/Code/User/settings.json
{
"code-runner.runInTerminal": true,
"editor.cursorBlinking": "expand",
"editor.fontLigatures": "'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'zero', 'onum', 'calt'",
// "editor.fontLigatures": true,
"editor.fontFamily": "'Cascadia Code PL', /* 'Cascadia Code PL SemiLight', */ 'Cascadia Code PL', 'Dank Mono', 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'", // 'Operator Mono Light'
"workbench.iconTheme": "material-icon-theme",
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"git.enableSmartCommit": true,
"git.autofetch": true,
"vsicons.dontShowNewVersionMessage": true,
"diffEditor.ignoreTrimWhitespace": false,
"workbench.editor.enablePreview": false,
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.formatOnSave": true,
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"git.ignoreRebaseWarning": true,
"liveServer.settings.donotShowInfoMsg": true,
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairsHorizontal": true,
"editor.guides.highlightActiveBracketPair": true,
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"workbench.colorCustomizations": {
// "editor.background": "#002B36",
// "editorCursor.foreground": "#000000",
// "editorCursor.foreground": "#ffff00"
// "terminalCursor.foreground": "#ffff00"
"editorBracketHighlight.foreground1": "#ffc2e8",
"editorBracketHighlight.foreground2": "#d8e700",
"editorBracketHighlight.foreground3": "#88D1C9",
"editorBracketHighlight.foreground4": "#98C379",
"editorBracketHighlight.foreground5": "#ec5f67",
"editorBracketHighlight.foreground6": "#bb80b3",
"editorBracketHighlight.unexpectedBracket.foreground": "#ffffff"
/* white high contrast 🔽 */
// "editorBracketHighlight.foreground1": "#ff0000",
// "editorBracketHighlight.foreground2": "#ff8800",
// "editorBracketHighlight.foreground3": "#ea00ff",
// "editorBracketHighlight.foreground4": "#618349",
// "editorBracketHighlight.foreground5": "#ec5f67",
// "editorBracketHighlight.foreground6": "#bb80b3",
},
/* "token colors" ported from theme "Eye Strain Dark" for getting 'italic' and 'bold' colors 🔽 */
"editor.tokenColorCustomizations": {
"[Solarized Dark]": {
"textMateRules": [
{
"scope": [
"support.function",
"support.constant",
"entity.name.function",
"variable.function",
"meta.function-call",
"variable.other.readwrite.powershell",
"meta.method.declaration storage.type.js",
"variable.parameter.function.python",
"meta.function-call.arguments.python",
"source.css.scss meta.at-rule variable",
"source.css.sass meta.at-rule variable",
"support.class.node.ts",
"support.class.node.tsx",
"meta.decorator punctuation.decorator.ts",
"meta.decorator punctuation.decorator.tsx",
"meta.tag.js meta.jsx.children.tsx",
"meta.method.declaration storage.type.ts",
"meta.method.declaration storage.type.tsx"
],
"settings": {
// "foreground": "#bbff00"
"foreground": "#ff9fff"
// "fontStyle": "italic bold"
}
},
{
"scope": [
"entity.name.function.operator.cpp",
"entity.name.function.operator.member.cpp",
"keyword.operator.bitwise"
],
"settings": {
"foreground": "#2d6151"
// "fontStyle": "bold"
}
},
{
"scope": ["entity.name.function.preprocessor.cpp"],
"settings": {
"foreground": "#a777ff"
// "fontStyle": "bold"
}
}
]
},
"textMateRules": [
{
"name": "Changed",
"scope": [
"markup.changed",
"meta.diff.header.git",
"meta.diff.header.from-file",
"meta.diff.header.to-file"
],
"settings": {
// "foreground": "#a2bffc",
"fontStyle": "italic"
}
},
{
"name": "Deleted",
"scope": "markup.deleted.diff",
"settings": {
// "foreground": "#EF535090",
"fontStyle": "italic"
}
},
{
"name": "Inserted",
"scope": "markup.inserted.diff",
"settings": {
// "foreground": "#c5e478ff",
"fontStyle": "italic"
}
},
{
"name": "Global settings",
"settings": {
// "background": "#010D18"
// "foreground": "#9AB3C1"
}
},
{
"name": "Comment",
"scope": "comment",
"settings": {
// "foreground": "#00456B",
"fontStyle": "italic"
}
},
{
"name": "String",
"scope": "string",
"settings": {
// "foreground": "#ecc48d"
}
},
{
"name": "String Quoted",
"scope": ["string.quoted", "variable.other.readwrite.js"],
"settings": {
// "foreground": "#ecc48d"
}
},
{
"name": "Support Constant Math",
"scope": "support.constant.math",
"settings": {
// "foreground": "#c5e478"
}
},
{
"name": "Number",
"scope": ["constant.numeric", "constant.character.numeric"],
"settings": {
// "foreground": "#00FFF0",
"fontStyle": ""
}
},
{
"name": "Built-in constant",
"scope": [
"constant.language",
"punctuation.definition.constant",
"variable.other.constant"
],
"settings": {
// "foreground": "#FFF500"
}
},
{
"name": "User-defined constant",
"scope": ["constant.character", "constant.other"],
"settings": {
// "foreground": "#FFF500"
}
},
{
"name": "Constant Character Escape",
"scope": "constant.character.escape",
"settings": {
// "foreground": "#F78C6C"
}
},
{
"name": "RegExp String",
"scope": ["string.regexp", "string.regexp keyword.other"],
"settings": {
// "foreground": "#5ca7e4"
}
},
{
"name": "Comma in functions",
"scope": "meta.function punctuation.separator.comma",
"settings": {
// "foreground": "#5f7e97"
}
},
{
"name": "Variable",
"scope": "variable",
"settings": {
// "foreground": "#758AFA"
}
},
{
"name": "Keyword",
"scope": ["punctuation.accessor", "keyword"],
"settings": {
// "foreground": "#c792ea",
"fontStyle": "italic"
}
},
{
"name": "Storage",
"scope": [
"storage",
"meta.var.expr",
"meta.class meta.method.declaration meta.var.expr storage.type.js",
"storage.type.property.js",
"storage.type.property.ts",
"storage.type.property.tsx"
],
"settings": {
// "foreground": "#c792ea",
"fontStyle": "italic"
}
},
{
"name": "Storage type",
"scope": "storage.type",
"settings": {
// "foreground": "#c792ea"
}
},
{
"name": "Storage type",
"scope": "storage.type.function.arrow.js",
"settings": {
"fontStyle": ""
}
},
{
"name": "Class name",
"scope": ["entity.name.class", "meta.class entity.name.type.class"],
"settings": {
// "foreground": "#ffcb8b"
}
},
{
"name": "Inherited class",
"scope": "entity.other.inherited-class",
"settings": {
// "foreground": "#c5e478"
}
},
{
"name": "Function name",
"scope": "entity.name.function",
"settings": {
// "foreground": "#c792ea",
"fontStyle": "italic"
}
},
{
"name": "Meta Tag",
"scope": ["punctuation.definition.tag", "meta.tag"],
"settings": {
// "foreground": "#7fdbca"
}
},
{
"name": "HTML Tag names",
"scope": [
"entity.name.tag",
"meta.tag.other.html",
"meta.tag.other.js",
"meta.tag.other.tsx",
"entity.name.tag.tsx",
"entity.name.tag.js",
"entity.name.tag",
"meta.tag.js",
"meta.tag.tsx",
"meta.tag.html"
],
"settings": {
// "foreground": "#caece6",
"fontStyle": ""
}
},
{
"name": "Tag attribute",
"scope": "entity.other.attribute-name",
"settings": {
"fontStyle": "italic"
// "foreground": "#c5e478"
}
},
{
"name": "Entity Name Tag Custom",
"scope": "entity.name.tag.custom",
"settings": {
// "foreground": "#f78c6c"
}
},
{
"name": "Library (function & constant)",
"scope": ["support.function", "support.constant"],
"settings": {
// "foreground": "#FFF500"
}
},
{
"name": "Support Constant Property Value meta",
"scope": "support.constant.meta.property-value",
"settings": {
// "foreground": "#7fdbca"
}
},
{
"name": "Library class/type",
"scope": ["support.type", "support.class"],
"settings": {
// "foreground": "#c5e478",
"fontStyle": "italic"
}
},
{
"name": "Support Variable DOM",
"scope": "support.variable.dom",
"settings": {
// "foreground": "#c5e478"
}
},
{
"name": "Invalid",
"scope": "invalid",
"settings": {
"background": "#ff2c83"
// "foreground": "#ffffff"
}
},
{
"name": "Invalid deprecated",
"scope": "invalid.deprecated",
"settings": {
// "foreground": "#ffffff",
"background": "#d3423e"
}
},
{
"name": "Keyword Operator",
"scope": "keyword.operator",
"settings": {
// "foreground": "#7fdbca",
"fontStyle": ""
}
},
{
"name": "Keyword Operator Relational",
"scope": "keyword.operator.relational",
"settings": {
// "foreground": "#c792ea",
"fontStyle": "italic"
}
},
{
"name": "Keyword Operator Assignment",
"scope": "keyword.operator.assignment",
"settings": {
// "foreground": "#c792ea"
}
},
{
"name": "Keyword Operator Arithmetic",
"scope": "keyword.operator.arithmetic",
"settings": {
// "foreground": "#c792ea"
}
},
{
"name": "Keyword Operator Bitwise",
"scope": "keyword.operator.bitwise",
"settings": {
// "foreground": "#c792ea"
}
},
{
"name": "Keyword Operator Increment",
"scope": "keyword.operator.increment",
"settings": {
// "foreground": "#c792ea"
}
},
{
"name": "Keyword Operator Ternary",
"scope": "keyword.operator.ternary",
"settings": {
// "foreground": "#c792ea"
}
},
{
"name": "Double-Slashed Comment",
"scope": "comment.line.double-slash",
"settings": {
// "foreground": "#00456B"
}
},
{
"name": "Object",
"scope": "object",
"settings": {
// "foreground": "#cdebf7"
}
},
{
"name": "Null",
"scope": "constant.language.null",
"settings": {
// "foreground": "#ff5874"
}
},
{
"name": "Meta Brace",
"scope": "meta.brace",
"settings": {
// "foreground": "#9AB3C1"
}
},
{
"name": "Meta Delimiter Period",
"scope": "meta.delimiter.period",
"settings": {
// "foreground": "#c792ea",
"fontStyle": "italic"
}
},
{
"name": "Punctuation Definition String",
"scope": "punctuation.definition.string",
"settings": {
// "foreground": "#00FF38"
}
},
{
"name": "Punctuation Definition String Markdown",
"scope": "punctuation.definition.string.begin.markdown",
"settings": {
// "foreground": "#ff5874"
}
},
{
"name": "Boolean",
"scope": "constant.language.boolean",
"settings": {
// "foreground": "#ff5874"
}
},
{
"name": "Object Comma",
"scope": "object.comma",
"settings": {
// "foreground": "#ffffff"
}
},
{
"name": "Variable Parameter Function",
"scope": "variable.parameter.function",
"settings": {
// "foreground": "#7fdbca",
"fontStyle": ""
}
},
{
"name": "Support Type Property Name & entity name tags",
"scope": [
"support.type.vendor.property-name",
"support.constant.vendor.property-value",
"support.type.property-name",
"meta.property-list entity.name.tag"
],
"settings": {
// "foreground": "#80CBC4",
"fontStyle": ""
}
},
{
"name": "Entity Name tag reference in stylesheets",
"scope": "meta.property-list entity.name.tag.reference",
"settings": {
// "foreground": "#57eaf1"
}
},
{
"name": "Constant Other Color RGB Value Punctuation Definition Constant",
"scope": "constant.other.color.rgb-value punctuation.definition.constant",
"settings": {
// "foreground": "#F78C6C"
}
},
{
"name": "Constant Other Color",
"scope": "constant.other.color",
"settings": {
// "foreground": "#FFEB95"
}
},
{
"name": "Keyword Other Unit",
"scope": "keyword.other.unit",
"settings": {
// "foreground": "#FFEB95"
}
},
{
"name": "Meta Selector",
"scope": "meta.selector",
"settings": {
// "foreground": "#c792ea",
"fontStyle": "italic"
}
},
{
"name": "Entity Other Attribute Name Id",
"scope": "entity.other.attribute-name.id",
"settings": {
// "foreground": "#FAD430"
}
},
{
"name": "Meta Property Name",
"scope": "meta.property-name",
"settings": {
// "foreground": "#80CBC4"
}
},
{
"name": "Doctypes",
"scope": ["entity.name.tag.doctype", "meta.tag.sgml.doctype"],
"settings": {
// "foreground": "#c792ea",
"fontStyle": "italic"
}
},
{
"name": "Punctuation Definition Parameters",
"scope": "punctuation.definition.parameters",
"settings": {
// "foreground": "#d9f5dd"
}
},
{
"name": "Keyword Control Operator",
"scope": "keyword.control.operator",
"settings": {
// "foreground": "#7fdbca"
}
},
{
"name": "Keyword Operator Logical",
"scope": "keyword.operator.logical",
"settings": {
// "foreground": "#c792ea",
"fontStyle": ""
}
},
{
"name": "Variable Instances",
"scope": [
"variable.instance",
"variable.other.instance",
"variable.readwrite.instance",
"variable.other.readwrite.instance",
"variable.other.property"
],
"settings": {
// "foreground": "#baebe2"
}
},
{
"name": "Variable Property Other object property",
"scope": ["variable.other.object.property"],
"settings": {
// "foreground": "#faf39f",
"fontStyle": "italic"
}
},
{
"name": "Variable Property Other object",
"scope": ["variable.other.object.js"],
"settings": {
"fontStyle": ""
}
},
{
"name": "Entity Name Function",
"scope": ["entity.name.function"],
"settings": {
// "foreground": "#FFF500",
"fontStyle": "italic"
}
},
{
"name": "Keyword Operator Comparison, imports, returns and Keyword Operator Ruby",
"scope": [
"keyword.operator.comparison",
"keyword.control.flow.js",
"keyword.control.flow.ts",
"keyword.control.flow.tsx",
"keyword.control.ruby",
"keyword.control.module.ruby",
"keyword.control.class.ruby",
"keyword.control.def.ruby",
"keyword.control.loop.js",
"keyword.control.loop.ts",
"keyword.control.import.js",
"keyword.control.import.ts",
"keyword.control.import.tsx",
"keyword.control.from.js",
"keyword.control.from.ts",
"keyword.control.from.tsx",
"keyword.operator.instanceof.js",
"keyword.operator.expression.instanceof.ts",
"keyword.operator.expression.instanceof.tsx"
],
"settings": {
// "foreground": "#c792ea",
"fontStyle": "italic"
}
},
{
"name": "Keyword Control Conditional",
"scope": [
"keyword.control.conditional.js",
"keyword.control.conditional.ts",
"keyword.control.switch.js",
"keyword.control.switch.ts"
],
"settings": {
// "foreground": "#c792ea",
"fontStyle": ""
}
},
{
"name": "Support Constant, `new` keyword, Special Method Keyword, `debugger`, other keywords",
"scope": [
"support.constant",
"keyword.other.special-method",
"keyword.other.new",
"keyword.other.debugger",
"keyword.control"
],
"settings": {
// "foreground": "#7fdbca"
}
},
{
"name": "Support Function",
"scope": "support.function",
"settings": {
// "foreground": "#c5e478"
}
},
{
"name": "Invalid Broken",
"scope": "invalid.broken",
"settings": {
// "foreground": "#020e14",
"background": "#F78C6C"
}
},
{
"name": "Invalid Unimplemented",
"scope": "invalid.unimplemented",
"settings": {
"background": "#8BD649"
// "foreground": "#ffffff"
}
},
{
"name": "Invalid Illegal",
"scope": "invalid.illegal",
"settings": {
// "foreground": "#ffffff",
"background": "#ec5f67"
}
},
{
"name": "Language Variable",
"scope": "variable.language",
"settings": {
// "foreground": "#00FF38"
}
},
{
"name": "Support Variable Property",
"scope": "support.variable.property",
"settings": {
// "foreground": "#7fdbca"
}
},
{
"name": "Variable Function",
"scope": "variable.function",
"settings": {
// "foreground": "#FFF500"
}
},
{
"name": "Variable Interpolation",
"scope": "variable.interpolation",
"settings": {
// "foreground": "#ec5f67"
}
},
{
"name": "Meta Function Call",
"scope": "meta.function-call",
"settings": {
// "foreground": "#FFF500"
}
},
{
"name": "Punctuation Section Embedded",
"scope": "punctuation.section.embedded",
"settings": {
// "foreground": "#d3423e"
}
},
{
"name": "Punctuation Tweaks",
"scope": [
"punctuation.terminator.expression",
"punctuation.definition.arguments",
"punctuation.definition.array",
"punctuation.section.array",
"meta.array"
],
"settings": {
// "foreground": "#9AB3C1"
}
},
{
"name": "More Punctuation Tweaks",
"scope": [
"punctuation.definition.list.begin",
"punctuation.definition.list.end",
"punctuation.separator.arguments",
"punctuation.definition.list"
],
"settings": {
// "foreground": "#d9f5dd"
}
},
{
"name": "Template Strings",
"scope": "string.template meta.template.expression",
"settings": {
// "foreground": "#d3423e"
}
},
{
"name": "Backtics(``) in Template Strings",
"scope": "string.template punctuation.definition.string",
"settings": {
// "foreground": "#9AB3C1"
}
},
{
"name": "Italics",
"scope": "italic",
"settings": {
// "foreground": "#c792ea",
"fontStyle": "italic"
}
},
{
"name": "Bold",
"scope": "bold",
"settings": {
// "foreground": "#c5e478",
"fontStyle": "bold"
}
},
{
"name": "Quote",
"scope": "quote",
"settings": {
// "foreground": "#697098",
"fontStyle": "italic"
}
},
{
"name": "Raw Code",
"scope": "raw",
"settings": {
// "foreground": "#80CBC4"
}
},
{
"name": "CoffeScript Variable Assignment",
"scope": "variable.assignment.coffee",
"settings": {
// "foreground": "#31e1eb"
}
},
{
"name": "CoffeScript Parameter Function",
"scope": "variable.parameter.function.coffee",
"settings": {
// "foreground": "#9AB3C1"
}
},
{
"name": "CoffeeScript Assignments",
"scope": "variable.assignment.coffee",
"settings": {
// "foreground": "#7fdbca"
}
},
{
"name": "C# Readwrite Variables",
"scope": "variable.other.readwrite.cs",
"settings": {
// "foreground": "#9AB3C1"
}
},
{
"name": "C# Classes & Storage types",
"scope": ["entity.name.type.class.cs", "storage.type.cs"],
"settings": {
// "foreground": "#ffcb8b"
}
},
{
"name": "C# Namespaces",
"scope": "entity.name.type.namespace.cs",
"settings": {
// "foreground": "#B2CCD6"
}
},
{
"name": "C# Unquoted String Zone",
"scope": "string.unquoted.preprocessor.message.cs",
"settings": {
// "foreground": "#9AB3C1"
}
},
{
"name": "C# Region",
"scope": [
"punctuation.separator.hash.cs",
"keyword.preprocessor.region.cs",
"keyword.preprocessor.endregion.cs"
],
"settings": {
// "foreground": "#ffcb8b",
"fontStyle": "bold"
}
},
{
"name": "C# Other Variables",
"scope": "variable.other.object.cs",
"settings": {
// "foreground": "#B2CCD6"
}
},
{
"name": "C# Enum",
"scope": "entity.name.type.enum.cs",
"settings": {
// "foreground": "#c5e478"
}
},
{
"name": "Dart String",
"scope": [
"string.interpolated.single.dart",
"string.interpolated.double.dart"
],
"settings": {
// "foreground": "#FFCB8B"
}
},
{
"name": "Dart Class",
"scope": "support.class.dart",
"settings": {
// "foreground": "#FFCB8B"
}
},
{
"name": "Tag names in Stylesheets",
"scope": [
"entity.name.tag.css",
"entity.name.tag.less",
"entity.name.tag.custom.css",
"support.constant.property-value.css"
],
"settings": {
// "foreground": "#ff6363",
"fontStyle": ""
}
},
{
"name": "Wildcard(*) selector in Stylesheets",
"scope": [
"entity.name.tag.wildcard.css",
"entity.name.tag.wildcard.less",
"entity.name.tag.wildcard.scss",
"entity.name.tag.wildcard.sass"
],
"settings": {
// "foreground": "#7fdbca"
}
},
{
"name": "CSS Keyword Other Unit",
"scope": "keyword.other.unit.css",
"settings": {
// "foreground": "#FFEB95"
}
},
{
"name": "Attribute Name for CSS",
"scope": [
"meta.attribute-selector.css entity.other.attribute-name.attribute",
"variable.other.readwrite.js"
],
"settings": {
// "foreground": "#F78C6C"
}
},
{
"name": "Elixir Classes",
"scope": [
"source.elixir support.type.elixir",
"source.elixir meta.module.elixir entity.name.class.elixir"
],
"settings": {
// "foreground": "#FFF500"
}
},
{
"name": "Elixir Functions",
"scope": "source.elixir entity.name.function",
"settings": {
// "foreground": "#c5e478"
}
},
{
"name": "Elixir Constants",
"scope": [
"source.elixir constant.other.symbol.elixir",
"source.elixir constant.other.keywords.elixir"
],
"settings": {
// "foreground": "#FFF500"
}
},
{
"name": "Elixir String Punctuations",
"scope": "source.elixir punctuation.definition.string",
"settings": {
// "foreground": "#c5e478"
}
},
{
"name": "Elixir",
"scope": [
"source.elixir variable.other.readwrite.module.elixir",
"source.elixir variable.other.readwrite.module.elixir punctuation.definition.variable.elixir"
],
"settings": {
// "foreground": "#c5e478"
}
},
{
"name": "Elixir Binary Punctuations",
"scope": "source.elixir .punctuation.binary.elixir",
"settings": {
// "foreground": "#c792ea",
"fontStyle": "italic"
}
},
{
"name": "Closure Constant Keyword",
"scope": "constant.keyword.clojure",
"settings": {
// "foreground": "#7fdbca"
}
},
{
"name": "Go Function Calls",
"scope": "source.go meta.function-call.go",
"settings": {
// "foreground": "#DDDDDD"
}
},
{
"name": "Go Keywords",
"scope": [
"source.go keyword.package.go",
"source.go keyword.import.go",
"source.go keyword.function.go",
"source.go keyword.type.go",
"source.go keyword.struct.go",
"source.go keyword.interface.go",
"source.go keyword.const.go",
"source.go keyword.var.go",
"source.go keyword.map.go",
"source.go keyword.channel.go",
"source.go keyword.control.go"
],
"settings": {
// "foreground": "#c792ea",
"fontStyle": "italic"
}
},
{
"name": "Go Constants e.g. nil, string format (%s, %d, etc.)",
"scope": [
"source.go constant.language.go",
"source.go constant.other.placeholder.go"
],
"settings": {
// "foreground": "#ff5874"
}
},
{
"name": "C++ Functions",
"scope": [
"entity.name.function.preprocessor.cpp",
"entity.scope.name.cpp"
],
"settings": {
// "foreground": "#7fdbcaff"
}
},
{
"name": "C++ Meta Namespace",
"scope": ["meta.namespace-block.cpp"],
"settings": {
// "foreground": "#e0dec6"
}
},
{
"name": "C++ Language Primitive Storage",
"scope": ["storage.type.language.primitive.cpp"],
"settings": {
// "foreground": "#ff5874"
}
},
{
"name": "C++ Preprocessor Macro",
"scope": ["meta.preprocessor.macro.cpp"],
"settings": {
// "foreground": "#9AB3C1"
}
},
{
"name": "C++ Variable Parameter",
"scope": ["variable.parameter"],
"settings": {
// "foreground": "#ffcb8b"
}
},
{
"name": "Powershell Variables",
"scope": ["variable.other.readwrite.powershell"],
"settings": {
// "foreground": "#FFF500"
}
},
{
"name": "Powershell Function",
"scope": ["support.function.powershell"],
"settings": {
// "foreground": "#7fdbcaff"
}
},
{
"name": "ID Attribute Name in HTML",
"scope": "entity.other.attribute-name.id.html",
"settings": {
// "foreground": "#c5e478"
}
},
{
"name": "HTML Punctuation Definition Tag",
"scope": "punctuation.definition.tag.html",
"settings": {
// "foreground": "#6ae9f0"
}
},
{
"name": "HTML Doctype",
"scope": "meta.tag.sgml.doctype.html",
"settings": {
// "foreground": "#c792ea",
"fontStyle": "italic"
}
},
{
"name": "JavaScript Classes",
"scope": "meta.class entity.name.type.class.js",
"settings": {
// "foreground": "#ffcb8b"
}
},
{
"name": "JavaScript Method Declaration e.g. `constructor`",
"scope": "meta.method.declaration storage.type.js",
"settings": {
// "foreground": "#FFF500"
}
},
{
"name": "JavaScript Terminator",
"scope": "terminator.js",
"settings": {
// "foreground": "#9AB3C1"
}
},
{
"name": "JavaScript Meta Punctuation Definition",
"scope": "meta.js punctuation.definition.js",
"settings": {
// "foreground": "#9AB3C1"
}
},
{
"name": "Entity Names in Code Documentations",
"scope": [
"entity.name.type.instance.jsdoc",
"entity.name.type.instance.phpdoc"
],
"settings": {
// "foreground": "#5f7e97"
}
},
{
"name": "Other Variables in Code Documentations",
"scope": ["variable.other.jsdoc", "variable.other.phpdoc"],
"settings": {
// "foreground": "#78ccf0"
}
},
{
"name": "JavaScript module imports and exports",
"scope": [
"variable.other.meta.import.js",
"meta.import.js variable.other",
"variable.other.meta.export.js",
"meta.export.js variable.other"
],
"settings": {
// "foreground": "#9AB3C1"
}
},
{
"name": "JavaScript Variable Parameter Function",
"scope": "variable.parameter.function.js",
"settings": {
// "foreground": "#7986E7"
}
},
{
"name": "JavaScript[React] Variable Other Object",
"scope": [
"variable.other.object.js",
"variable.other.object.jsx",
"variable.object.property.js",
"variable.object.property.jsx"
],
"settings": {
// "foreground": "#9AB3C1"
}
},
{
"name": "JavaScript Variables",
"scope": ["variable.js", "variable.other.js"],
"settings": {
// "foreground": "#9AB3C1"
}
},
{
"name": "JavaScript Entity Name Type",
"scope": ["entity.name.type.js", "entity.name.type.module.js"],
"settings": {
// "foreground": "#ffcb8b",
"fontStyle": ""
}
},
{
"name": "JavaScript Support Classes",
"scope": "support.class.js",
"settings": {
// "foreground": "#9AB3C1"
}
},
{
"name": "JSON Property Names",
"scope": "support.type.property-name.json",
"settings": {
// "foreground": "#7fdbca"
}
},
{
"name": "JSON Support Constants",
"scope": "support.constant.json",
"settings": {
// "foreground": "#c5e478"
}
},
{
"name": "JSON Property values (string)",
"scope": "meta.structure.dictionary.value.json string.quoted.double",
"settings": {
// "foreground": "#c789d6"
}
},
{
"name": "Strings in JSON values",
"scope": "string.quoted.double.json punctuation.definition.string.json",
"settings": {
// "foreground": "#80CBC4"
}
},
{
"name": "Specific JSON Property values like null",
"scope": "meta.structure.dictionary.json meta.structure.dictionary.value constant.language",
"settings": {
// "foreground": "#ff5874"
}
},
{
"name": "JavaScript Other Variable",
"scope": "variable.other.object.js",
"settings": {
// "foreground": "#7fdbca",
"fontStyle": "italic"
}
},
{
"name": "Ruby Variables",
"scope": ["variable.other.ruby"],
"settings": {
// "foreground": "#9AB3C1"
}
},
{
"name": "Ruby Class",
"scope": ["entity.name.type.class.ruby"],
"settings": {
// "foreground": "#ecc48d"
}
},
{
"name": "Ruby Hashkeys",
"scope": "constant.language.symbol.hashkey.ruby",
"settings": {
// "foreground": "#7fdbca"
}
},
{
"name": "Ruby Symbols",
"scope": "constant.language.symbol.ruby",
"settings": {
// "foreground": "#7fdbca"
}
},
{
"name": "LESS Tag names",
"scope": "entity.name.tag.less",
"settings": {
// "foreground": "#7fdbca"
}
},
{
"name": "LESS Keyword Other Unit",
"scope": "keyword.other.unit.css",
"settings": {
// "foreground": "#FFEB95"
}
},
{
"name": "Attribute Name for LESS",
"scope": "meta.attribute-selector.less entity.other.attribute-name.attribute",
"settings": {
// "foreground": "#F78C6C"
}
},
{
"name": "Markdown Headings",
"scope": [
"markup.heading.markdown",
"markup.heading.setext.1.markdown",
"markup.heading.setext.2.markdown"
],
"settings": {
// "foreground": "#82b1ff",
"fontStyle": "bold"
}
},
{
"name": "Markdown Italics",
"scope": "markup.italic.markdown",
"settings": {
// "foreground": "#c792ea",
"fontStyle": "italic"
}
},
{
"name": "Markdown Bold",
"scope": "markup.bold.markdown",
"settings": {
// "foreground": "#c5e478",
"fontStyle": "bold"
}
},
{
"name": "Markdown Quote + others",
"scope": "markup.quote.markdown",
"settings": {
// "foreground": "#697098",
"fontStyle": "italic"
}
},
{
"name": "Markdown Raw Code + others",
"scope": "markup.inline.raw.markdown",
"settings": {
// "foreground": "#80CBC4"
}
},
{
"name": "Markdown Links",
"scope": [
"markup.underline.link.markdown",
"markup.underline.link.image.markdown"
],
"settings": {
// "foreground": "#ff869a"
}
},
{
"name": "Markdown Link Title and Description",
"scope": [
"string.other.link.title.markdown",
"string.other.link.description.markdown"
],
"settings": {
// "foreground": "#9AB3C1"
}
},
{
"name": "Markdown Punctuation",
"scope": [
"punctuation.definition.string.markdown",
"punctuation.definition.string.begin.markdown",
"punctuation.definition.string.end.markdown",
"meta.link.inline.markdown punctuation.definition.string"
],
"settings": {
// "foreground": "#82b1ff"
}
},
{
"name": "Markdown MetaData Punctuation",
"scope": ["punctuation.definition.metadata.markdown"],
"settings": {
// "foreground": "#7fdbca"
}
},
{
"name": "Markdown List Punctuation",
"scope": ["beginning.punctuation.definition.list.markdown"],
"settings": {
// "foreground": "#82b1ff"
}
},
{
"name": "Markdown Inline Raw String",
"scope": "markup.inline.raw.string.markdown",
"settings": {
// "foreground": "#c5e478"
}
},
{
"name": "PHP Variables",
"scope": ["variable.other.php", "variable.other.property.php"],
"settings": {
// "foreground": "#bec5d4"
}
},
{
"name": "Support Classes in PHP",
"scope": "support.class.php",
"settings": {
// "foreground": "#ffcb8b"
}
},
{
"name": "Punctuations in PHP function calls",
"scope": "meta.function-call.php punctuation",
"settings": {
// "foreground": "#9AB3C1"
}
},
{
"name": "PHP Global Variables",
"scope": "variable.other.global.php",
"settings": {
// "foreground": "#c5e478"
}
},
{
"name": "Declaration Punctuation in PHP Global Variables",
"scope": "variable.other.global.php punctuation.definition.variable",
"settings": {
// "foreground": "#c5e478"
}
},
{
"name": "Language Constants in Python",
"scope": "constant.language.python",
"settings": {
// "foreground": "#ff5874"
}
},
{
"name": "Python Function Parameter and Arguments",
"scope": [
"variable.parameter.function.python",
"meta.function-call.arguments.python"
],
"settings": {
// "foreground": "#FFF500"
}
},
{
"name": "Python Function Call",
"scope": [
"meta.function-call.python",
"meta.function-call.generic.python"
],
"settings": {
// "foreground": "#B2CCD6"
}
},
{
"name": "Punctuations in Python",
"scope": "punctuation.python",
"settings": {
// "foreground": "#9AB3C1"
}
},
{
"name": "Decorator Functions in Python",
"scope": "entity.name.function.decorator.python",
"settings": {
// "foreground": "#c5e478"
}
},
{
"name": "Python Language Variable",
"scope": "source.python variable.language.special",
"settings": {
// "foreground": "#8EACE3"
}
},
{
"name": "Python import control keyword",
"scope": "keyword.control",
"settings": {
// "foreground": "#c792ea",
"fontStyle": "italic"
}
},
{
"name": "SCSS Variable",
"scope": [
"variable.scss",
"variable.sass",
"variable.parameter.url.scss",
"variable.parameter.url.sass"
],
"settings": {
// "foreground": "#c5e478"
}
},
{
"name": "Variables in SASS At-Rules",
"scope": [
"source.css.scss meta.at-rule variable",
"source.css.sass meta.at-rule variable"
],
"settings": {
// "foreground": "#FFF500"
}
},
{
"name": "Variables in SASS At-Rules",
"scope": [
"source.css.scss meta.at-rule variable",
"source.css.sass meta.at-rule variable"
],
"settings": {
// "foreground": "#bec5d4"
}
},
{
"name": "Attribute Name for SASS",
"scope": [
"meta.attribute-selector.scss entity.other.attribute-name.attribute",
"meta.attribute-selector.sass entity.other.attribute-name.attribute"
],
"settings": {
// "foreground": "#F78C6C"
}
},
{
"name": "Tag names in SASS",
"scope": ["entity.name.tag.scss", "entity.name.tag.sass"],
"settings": {
// "foreground": "#7fdbca"
}
},
{
"name": "SASS Keyword Other Unit",
"scope": ["keyword.other.unit.scss", "keyword.other.unit.sass"],
"settings": {
// "foreground": "#FFEB95"
}
},
{
"name": "TypeScript[React] Variables and Object Properties",
"scope": [
"variable.other.readwrite.alias.ts",
"variable.other.readwrite.alias.tsx",
"variable.other.readwrite.ts",
"variable.other.readwrite.tsx",
"variable.other.object.ts",
"variable.other.object.tsx",
"variable.object.property.ts",
"variable.object.property.tsx",
"variable.other.ts",
"variable.other.tsx",
"variable.tsx",
"variable.ts"
],
"settings": {
// "foreground": "#9AB3C1"
}
},
{
"name": "TypeScript[React] Entity Name Types",
"scope": ["entity.name.type.ts", "entity.name.type.tsx"],
"settings": {
// "foreground": "#ffcb8b"
}
},
{
"name": "TypeScript[React] Node Classes",
"scope": ["support.class.node.ts", "support.class.node.tsx"],
"settings": {
// "foreground": "#FFF500"
}
},
{
"name": "TypeScript[React] Entity Name Types as Parameters",
"scope": [
"meta.type.parameters.ts entity.name.type",
"meta.type.parameters.tsx entity.name.type"
],
"settings": {
// "foreground": "#5f7e97"
}
},
{
"name": "TypeScript[React] Import/Export Punctuations",
"scope": [
"meta.import.ts punctuation.definition.block",
"meta.import.tsx punctuation.definition.block",
"meta.export.ts punctuation.definition.block",
"meta.export.tsx punctuation.definition.block"
],
"settings": {
// "foreground": "#9AB3C1"
}
},
{
"name": "TypeScript[React] Punctuation Decorators",
"scope": [
"meta.decorator punctuation.decorator.ts",
"meta.decorator punctuation.decorator.tsx"
],
"settings": {
// "foreground": "#FFF500"
}
},
{
"name": "TypeScript[React] Punctuation Decorators",
"scope": "meta.tag.js meta.jsx.children.tsx",
"settings": {
// "foreground": "#FFF500"
}
},
{
"name": "YAML Entity Name Tags",
"scope": "entity.name.tag.yaml",
"settings": {
// "foreground": "#7fdbca"
}
},
{
"name": "JavaScript Variable Other ReadWrite",
"scope": ["variable.other.readwrite.js", "variable.parameter"],
"settings": {
// "foreground": "#d7dbe0"
}
},
{
"name": "Support Class Component",
"scope": ["support.class.component.js", "support.class.component.tsx"],
"settings": {
// "foreground": "#f78c6c",
"fontStyle": ""
}
},
{
"name": "Text nested in React tags",
"scope": [
"meta.jsx.children",
"meta.jsx.children.js",
"meta.jsx.children.tsx"
],
"settings": {
// "foreground": "#9AB3C1"
}
},
{
"name": "TypeScript Classes",
"scope": "meta.class entity.name.type.class.tsx",
"settings": {
// "foreground": "#ffcb8b"
}
},
{
"name": "TypeScript Entity Name Type",
"scope": ["entity.name.type.tsx", "entity.name.type.module.tsx"],
"settings": {
// "foreground": "#ffcb8b"
}
},
{
"name": "TypeScript Class Variable Keyword",
"scope": [
"meta.class.ts meta.var.expr.ts storage.type.ts",
"meta.class.tsx meta.var.expr.tsx storage.type.tsx"
],
"settings": {
// "foreground": "#C792EA"
}
},
{
"name": "TypeScript Method Declaration e.g. `constructor`",
"scope": [
"meta.method.declaration storage.type.ts",
"meta.method.declaration storage.type.tsx"
],
"settings": {
// "foreground": "#FFF500"
}
},
{
"name": "C++ Operators e.g. `bitwise << and >>`",
"scope": [
"entity.name.function.operator.cpp",
"entity.name.function.operator.member.cpp"
],
"settings": {
// "foreground": "#00FF38"
}
},
{
"scope": [
"entity.name.class",
"entity.name.type",
"entity.name.namespace",
"entity.name.scope-resolution"
],
"settings": {
// "foreground": "#00FF38"
"fontStyle": "italic"
}
},
{
"name": "normalize font style of certain components",
"scope": [
"meta.property-list.css meta.property-value.css variable.other.less",
"meta.property-list.scss variable.scss",
"meta.property-list.sass variable.sass",
"meta.brace",
"keyword.operator.operator",
"keyword.operator.or.regexp",
"keyword.operator.expression.in",
"keyword.operator.relational",
"keyword.operator.assignment",
"keyword.operator.comparison",
"keyword.operator.type",
"keyword.operator",
"keyword",
"punctuation.definintion.string",
"punctuation",
"variable.other.readwrite.js",
"storage.type",
"source.css",
"string.quoted"
],
"settings": {
"fontStyle": ""
}
}
]
},
/* "token colors" ported from theme "Eye Strain Dark" for getting 'italic' and 'bold' colors 🔼 */
"workbench.sideBar.location": "right",
"editor.guides.bracketPairs": true,
"material-icon-theme.folders.theme": "specific",
"material-icon-theme.folders.color": "#ef5350",
"timeline.excludeSources": [],
"bracket-pair-colorizer-2.depreciation-notice": false,
"liveServer.settings.donotVerifyTags": true,
"C_Cpp.errorSquiggles": "Enabled",
"settingsSync.keybindingsPerPlatform": false,
"editor.renderWhitespace": "none",
"files.trimTrailingWhitespace": true,
"vscode_custom_css.imports": [""],
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"[python]": {
"editor.defaultFormatter": "ms-python.python"
},
"java.imports.gradle.wrapper.checksums": [
{
"sha256": "e2b82129ab64751fd40437007bd2f7f2afb3c6e41a9198e628650b22d5824a14",
"allowed": true
}
],
"editor.lineHeight": 2,
"editor.mouseWheelZoom": true,
"editor.cursorWidth": 3,
/* 🔽 "token colors" ported from theme "Eye Strain Dark" for getting 'italic' and 'bold' colors 🔽*/
"name": "Entity Name Function",
"scope": ["entity.name.function", "entity.name.function.cpp"],
"settings": {
"foreground": "#FFF500",
"fontStyle": "italic"
},
"workbench.colorTheme": "Solarized Dark",
"editor.guides.indentation": false,
"window.zoomLevel": 1
}
cosmicsarthak
Customisations
- Add below to for changing the cursor color
"workbench.colorCustomizations": {
"editorCursor.foreground": "#ffff00",
"terminalCursor.foreground": "#ffff00"
}
All Property Reference :~ https://code.visualstudio.com/api/references/theme-color
Creating .vsix
file
caution
g27f3scf4hg2mom6mbukcrqztqrioao7e3xzzl5ttfdzedo6idva
npm install -g vsce
vsce package
vsce publish
:::
Extensions
Must Install
[Visual Studio IntelliCode](https://marketplace.visualstudio.com/items?itemName=VisualStudioExptTeam.vscodeintellicode)
(Microsoft)ms-vscode.cpptools-extension-pack
- Code Runner (by Jun Han)
- Competitive Programming Helper (cph) (by Divyanshu Agrawal) [
VERY IMPORTANT
] - Markdown All in One (by Yu Zhang)
- Prettier (by Prettier)
- Beautify (by HookyQR)
- vs-icons (by VSCode Icons Team)
- vscode-pdf (by tomoki1207)
- MDX (
silvenon.mdx
) - peacock
- codesnap
Themes
Cobalt2 Theme Official (by Wes Bos) ~
BEST
2077 themes ~
FAV
Cyberpunk ~
nyc Dim Colors
SCARLET protocol ⏩ Github RepoShades of Purple (by Ahmad Awais)
Bearded Theme (Vivid Purple) ~
vscode:extension/BeardedBear.beardedtheme
C++
ms-vscode.cpptools-extension-pack
- C/C++ Extension Pack (by Microsoft)
- Better C++ Syntax (by Jeff Hykin)
- C/C++ Compile Run (by Daniel Pinto)
- C/C++ (by Microsoft)
- C/C++ Themes (by Microsoft)
- C/C++ Intellisense (by austin)
Java
Installed on Linux:
- jdk-openjdk-16.0.2.u7-1
- jre-openjdk-16.0.2.u7-1
- jre-openjdk-headless-16.0.2.u7-1
- openjdk-src-16.0.2.u7-1
VS-Code Extensions:
Debugging
C++ Setup
tip
All these should be inside .vscode
folder
- c_cpp_properties.json
- launch.json
- tasks.json
- settings.json
.vscode/c_cpp_properties.json
{
"configurations": [
{
"name": "Linux",
"includePath": ["${workspaceFolder}/**"],
"defines": [],
"compilerPath": "/usr/bin/clang",
"cStandard": "c17",
"cppStandard": "c++20",
"intelliSenseMode": "linux-clang-x64"
}
],
"version": 4
}
.vscode/launch.json
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "g++ - Build and debug active file",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}/${fileBasenameNoExtension}",
"args": [],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "C/C++: g++ build active file",
"miDebuggerPath": "/usr/bin/gdb"
}
]
}
.vscode/tasks.json
{
"version": "2.0.0",
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: g++ build active file",
"command": "/usr/bin/g++",
"args": [
"-g3",
"-Wall",
"${file}",
"-o",
"${fileDirname}/${fileBasenameNoExtension}"
],
"options": {
"cwd": "${fileDirname}"
},
"problemMatcher": ["$gcc"],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "compiler: /usr/bin/g++"
},
{
"type": "shell",
"label": "Run C++ Program: g++ -Wall ${file} -o ",
"command": "/usr/bin/g++ -g3 -Wall \"${file}\" -o \"${fileDirname}/${fileBasenameNoExtension}\" &&\"${fileDirname}/${fileBasenameNoExtension}\"",
"options": {
"cwd": "${fileDirname}"
},
"problemMatcher": ["$gcc"],
"detail": "compiler: /usr/bin/g++"
}
]
}
.vscode/settings.json
{
"files.associations": {
"iostream": "cpp"
}
}
VS Code Snippets
~/.config/Code/User/snippets/tab.code-snippets
{
"": {
"prefix": "tab",
"body": [
"import Tabs from \"@theme/Tabs\";",
"import TabItem from \"@theme/TabItem\";",
"",
"<Tabs",
" defaultValue=\"cpp\"",
" values={[",
" { label: 'C++', value: 'cpp', },",
" { label: 'Java', value: 'java', },",
" { label: 'Python', value: 'py', },",
" ]",
"}>",
"",
"",
"<TabItem value=\"cpp\">",
"",
"```cpp",
"#include<iostream>",
"using namespace std;",
"",
"// C++ Code",
"```",
"",
"</TabItem>",
"",
"",
"<TabItem value=\"java\">",
"",
"```java",
"class HelloWorld {",
" public static void main(String args[]) {",
" System.out.println(\"Hello, World\");",
" }",
"}",
"```",
"",
"</TabItem>",
"",
"",
"<TabItem value=\"py\">",
"",
"```py",
"def hello_world():",
" print 'Hello, world!'",
"```",
"",
"</TabItem>",
"",
"</Tabs>",
""
],
"description": ""
}
}
~/.config/Code/User/snippets/dropdown.code-snippets
{
"": {
"prefix": "dropdown",
"body": [
"<details close>",
"<summary>Heading</summary>",
"<br/>",
"",
"// Code",
"",
"</details>",
""
],
"description": ""
}
}
VS Code Shortcuts
- Replace ⏩
Ctrl + h
- Multiple Line Edit Together ⏩ Hold
Alt
and select the locations. - Go to next line ⏩
Ctrl + Enter
- Go to a certian Line ⏩
Ctrl + g
- Select multiple lines with
clicks
⏩Alt + click
- Move line/lines ⏩
Alt + ↑
orAlt + ↓
- Open file ⏩
Ctrl + p
Default Keyboard Shortcuts / Keybindings
Default Keybindings
// Override key bindings by placing them into your key bindings file.
[
{
"key": "escape escape",
"command": "workbench.action.exitZenMode",
"when": "inZenMode"
},
{
"key": "shift+escape",
"command": "closeReferenceSearch",
"when": "inReferenceSearchEditor && !config.editor.stablePeek"
},
{
"key": "escape",
"command": "closeReferenceSearch",
"when": "inReferenceSearchEditor && !config.editor.stablePeek"
},
{
"key": "escape",
"command": "editor.closeTestPeek",
"when": "testing.isInPeek && !config.editor.stablePeek || testing.isPeekVisible && !config.editor.stablePeek"
},
{
"key": "shift+escape",
"command": "cancelSelection",
"when": "editorHasSelection && textInputFocus"
},
{
"key": "escape",
"command": "cancelSelection",
"when": "editorHasSelection && textInputFocus"
},
{ "key": "ctrl+end", "command": "cursorBottom", "when": "textInputFocus" },
{
"key": "ctrl+shift+end",
"command": "cursorBottomSelect",
"when": "textInputFocus"
},
{ "key": "down", "command": "cursorDown", "when": "textInputFocus" },
{
"key": "shift+down",
"command": "cursorDownSelect",
"when": "textInputFocus"
},
{
"key": "end",
"command": "cursorEnd",
"when": "textInputFocus",
"args": { "sticky": false }
},
{
"key": "shift+end",
"command": "cursorEndSelect",
"when": "textInputFocus",
"args": { "sticky": false }
},
{ "key": "home", "command": "cursorHome", "when": "textInputFocus" },
{
"key": "shift+home",
"command": "cursorHomeSelect",
"when": "textInputFocus"
},
{ "key": "left", "command": "cursorLeft", "when": "textInputFocus" },
{
"key": "shift+left",
"command": "cursorLeftSelect",
"when": "textInputFocus"
},
{ "key": "pagedown", "command": "cursorPageDown", "when": "textInputFocus" },
{
"key": "shift+pagedown",
"command": "cursorPageDownSelect",
"when": "textInputFocus"
},
{ "key": "pageup", "command": "cursorPageUp", "when": "textInputFocus" },
{
"key": "shift+pageup",
"command": "cursorPageUpSelect",
"when": "textInputFocus"
},
{ "key": "right", "command": "cursorRight", "when": "textInputFocus" },
{
"key": "shift+right",
"command": "cursorRightSelect",
"when": "textInputFocus"
},
{ "key": "ctrl+home", "command": "cursorTop", "when": "textInputFocus" },
{
"key": "ctrl+shift+home",
"command": "cursorTopSelect",
"when": "textInputFocus"
},
{ "key": "up", "command": "cursorUp", "when": "textInputFocus" },
{ "key": "shift+up", "command": "cursorUpSelect", "when": "textInputFocus" },
{
"key": "shift+backspace",
"command": "deleteLeft",
"when": "textInputFocus"
},
{ "key": "backspace", "command": "deleteLeft", "when": "textInputFocus" },
{ "key": "delete", "command": "deleteRight", "when": "textInputFocus" },
{ "key": "ctrl+a", "command": "editor.action.selectAll" },
{
"key": "ctrl+l",
"command": "expandLineSelection",
"when": "textInputFocus"
},
{
"key": "shift+tab",
"command": "outdent",
"when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus"
},
{ "key": "ctrl+shift+z", "command": "redo" },
{ "key": "ctrl+y", "command": "redo" },
{ "key": "ctrl+down", "command": "scrollLineDown", "when": "textInputFocus" },
{ "key": "ctrl+up", "command": "scrollLineUp", "when": "textInputFocus" },
{
"key": "alt+pagedown",
"command": "scrollPageDown",
"when": "textInputFocus"
},
{ "key": "alt+pageup", "command": "scrollPageUp", "when": "textInputFocus" },
{
"key": "tab",
"command": "tab",
"when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus"
},
{ "key": "ctrl+z", "command": "undo" },
{
"key": "shift+down",
"command": "cursorColumnSelectDown",
"when": "editorColumnSelection && textInputFocus"
},
{
"key": "shift+left",
"command": "cursorColumnSelectLeft",
"when": "editorColumnSelection && textInputFocus"
},
{
"key": "shift+pagedown",
"command": "cursorColumnSelectPageDown",
"when": "editorColumnSelection && textInputFocus"
},
{
"key": "shift+pageup",
"command": "cursorColumnSelectPageUp",
"when": "editorColumnSelection && textInputFocus"
},
{
"key": "shift+right",
"command": "cursorColumnSelectRight",
"when": "editorColumnSelection && textInputFocus"
},
{
"key": "shift+up",
"command": "cursorColumnSelectUp",
"when": "editorColumnSelection && textInputFocus"
},
{
"key": "shift+escape",
"command": "removeSecondaryCursors",
"when": "editorHasMultipleSelections && textInputFocus"
},
{
"key": "escape",
"command": "removeSecondaryCursors",
"when": "editorHasMultipleSelections && textInputFocus"
},
{
"key": "f12",
"command": "goToNextReference",
"when": "inReferenceSearchEditor || referenceSearchVisible"
},
{
"key": "f4",
"command": "goToNextReference",
"when": "inReferenceSearchEditor || referenceSearchVisible"
},
{
"key": "shift+f12",
"command": "goToPreviousReference",
"when": "inReferenceSearchEditor || referenceSearchVisible"
},
{
"key": "shift+f4",
"command": "goToPreviousReference",
"when": "inReferenceSearchEditor || referenceSearchVisible"
},
{
"key": "shift+enter",
"command": "refactorPreview.apply",
"when": "refactorPreview.enabled && refactorPreview.hasCheckedChanges && focusedView == 'refactorPreview'"
},
{
"key": "alt+enter",
"command": "testing.editFocusedTest",
"when": "focusedView == 'workbench.view.testing'"
},
{
"key": "escape",
"command": "notebook.cell.quitEdit",
"when": "inputFocus && notebookEditorFocused && !editorHasMultipleSelections && !editorHasSelection && !editorHoverVisible"
},
{
"key": "meta+enter",
"command": "notebook.cell.quitEdit",
"when": "inputFocus && notebookEditorFocused && notebookCellType == 'markup'"
},
{
"key": "ctrl+f",
"command": "actions.find",
"when": "editorFocus || editorIsOpen"
},
{
"key": "enter",
"command": "breakpointWidget.action.acceptInput",
"when": "breakpointWidgetVisible && inBreakpointWidget"
},
{
"key": "shift+escape",
"command": "closeBreakpointWidget",
"when": "breakpointWidgetVisible && textInputFocus"
},
{
"key": "escape",
"command": "closeBreakpointWidget",
"when": "breakpointWidgetVisible && textInputFocus"
},
{ "key": "ctrl+u", "command": "cursorUndo", "when": "textInputFocus" },
{
"key": "ctrl+right",
"command": "cursorWordEndRight",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+right",
"command": "cursorWordEndRightSelect",
"when": "textInputFocus"
},
{ "key": "ctrl+left", "command": "cursorWordLeft", "when": "textInputFocus" },
{
"key": "ctrl+shift+left",
"command": "cursorWordLeftSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+backspace",
"command": "deleteWordLeft",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+delete",
"command": "deleteWordRight",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+c",
"command": "editor.action.addCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+d",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "shift+alt+[IntlBackslash]",
"command": "editor.action.autoFix",
"when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)quickfix\\b/"
},
{
"key": "shift+alt+.",
"command": "editor.action.autoFix",
"when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)quickfix\\b/"
},
{
"key": "ctrl+shift+a",
"command": "editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "escape",
"command": "editor.action.cancelSelectionAnchor",
"when": "editorTextFocus && selectionAnchorSet"
},
{
"key": "ctrl+f2",
"command": "editor.action.changeAll",
"when": "editorTextFocus && !editorReadonly"
},
{ "key": "ctrl+c", "command": "editor.action.clipboardCopyAction" },
{ "key": "ctrl+x", "command": "editor.action.clipboardCutAction" },
{ "key": "shift+insert", "command": "editor.action.clipboardPasteAction" },
{ "key": "ctrl+v", "command": "editor.action.clipboardPasteAction" },
{
"key": "ctrl+/",
"command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+down",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+up",
"command": "editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+k",
"command": "editor.action.defineKeybinding",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'jsonc'"
},
{
"key": "ctrl+shift+k",
"command": "editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "f7",
"command": "editor.action.diffReview.next",
"when": "isInDiffEditor"
},
{
"key": "shift+f7",
"command": "editor.action.diffReview.prev",
"when": "isInDiffEditor"
},
{
"key": "alt+f3",
"command": "editor.action.dirtydiff.next",
"when": "editorTextFocus && !textCompareEditorActive"
},
{
"key": "shift+alt+f3",
"command": "editor.action.dirtydiff.previous",
"when": "editorTextFocus && !textCompareEditorActive"
},
{
"key": "enter",
"command": "editor.action.extensioneditor.findNext",
"when": "webviewFindWidgetFocused && !editorFocus && activeEditor == 'workbench.editor.extension'"
},
{
"key": "shift+enter",
"command": "editor.action.extensioneditor.findPrevious",
"when": "webviewFindWidgetFocused && !editorFocus && activeEditor == 'workbench.editor.extension'"
},
{
"key": "ctrl+f",
"command": "editor.action.extensioneditor.showfind",
"when": "!editorFocus && activeEditor == 'workbench.editor.extension'"
},
{
"key": "ctrl+shift+i",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor"
},
{
"key": "ctrl+shift+i",
"command": "editor.action.formatDocument.none",
"when": "editorTextFocus && !editorHasDocumentFormattingProvider && !editorReadonly"
},
{
"key": "ctrl+k ctrl+f",
"command": "editor.action.formatSelection",
"when": "editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+f12",
"command": "editor.action.goToImplementation",
"when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "shift+f12",
"command": "editor.action.goToReferences",
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "ctrl+shift+[IntlBackslash]",
"command": "editor.action.inPlaceReplace.down",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+.",
"command": "editor.action.inPlaceReplace.down",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+[IntlBackslash]",
"command": "editor.action.inPlaceReplace.up",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+,",
"command": "editor.action.inPlaceReplace.up",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+]",
"command": "editor.action.indentLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "escape",
"command": "editor.action.inlineSuggest.hide",
"when": "inlineSuggestionVisible"
},
{
"key": "alt+]",
"command": "editor.action.inlineSuggest.showNext",
"when": "inlineSuggestionVisible && !editorReadonly"
},
{
"key": "alt+[",
"command": "editor.action.inlineSuggest.showPrevious",
"when": "inlineSuggestionVisible && !editorReadonly"
},
{
"key": "ctrl+shift+up",
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "shift+alt+up",
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "shift+alt+i",
"command": "editor.action.insertCursorAtEndOfEachLineSelected",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+down",
"command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "shift+alt+down",
"command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "ctrl+enter",
"command": "editor.action.insertLineAfter",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+enter",
"command": "editor.action.insertLineBefore",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+\\",
"command": "editor.action.jumpToBracket",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+f2",
"command": "editor.action.linkedEditing",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "alt+f8",
"command": "editor.action.marker.next",
"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": "alt+down",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+up",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+d",
"command": "editor.action.moveSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "f3",
"command": "editor.action.nextMatchFindAction",
"when": "editorFocus"
},
{
"key": "enter",
"command": "editor.action.nextMatchFindAction",
"when": "editorFocus && findInputFocussed"
},
{
"key": "ctrl+f3",
"command": "editor.action.nextSelectionMatchFindAction",
"when": "editorFocus"
},
{
"key": "shift+alt+o",
"command": "editor.action.organizeImports",
"when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)source\\.organizeImports\\b/"
},
{
"key": "ctrl+[",
"command": "editor.action.outdentLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+f10",
"command": "editor.action.peekDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "ctrl+shift+f12",
"command": "editor.action.peekImplementation",
"when": "editorHasImplementationProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "shift+f3",
"command": "editor.action.previousMatchFindAction",
"when": "editorFocus"
},
{
"key": "shift+enter",
"command": "editor.action.previousMatchFindAction",
"when": "editorFocus && findInputFocussed"
},
{
"key": "ctrl+shift+f3",
"command": "editor.action.previousSelectionMatchFindAction",
"when": "editorFocus"
},
{
"key": "ctrl+.",
"command": "editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+r",
"command": "editor.action.refactor",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+u",
"command": "editor.action.removeCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "f2",
"command": "editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "f12",
"command": "editor.action.revealDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "ctrl+k f12",
"command": "editor.action.revealDefinitionAside",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "ctrl+k ctrl+k",
"command": "editor.action.selectFromAnchorToCursor",
"when": "editorTextFocus && selectionAnchorSet"
},
{
"key": "ctrl+shift+l",
"command": "editor.action.selectHighlights",
"when": "editorFocus"
},
{
"key": "ctrl+k ctrl+b",
"command": "editor.action.setSelectionAnchor",
"when": "editorTextFocus"
},
{ "key": "alt+f1", "command": "editor.action.showAccessibilityHelp" },
{ "key": "shift+alt+f1", "command": "editor.action.showAccessibilityHelp" },
{
"key": "shift+f10",
"command": "editor.action.showContextMenu",
"when": "textInputFocus"
},
{
"key": "ctrl+k ctrl+i",
"command": "editor.action.showHover",
"when": "editorTextFocus"
},
{
"key": "shift+alt+right",
"command": "editor.action.smartSelect.expand",
"when": "editorTextFocus"
},
{
"key": "shift+alt+left",
"command": "editor.action.smartSelect.shrink",
"when": "editorTextFocus"
},
{
"key": "ctrl+h",
"command": "editor.action.startFindReplaceAction",
"when": "editorFocus || editorIsOpen"
},
{ "key": "ctrl+m", "command": "editor.action.toggleTabFocusMode" },
{ "key": "alt+z", "command": "editor.action.toggleWordWrap" },
{
"key": "ctrl+shift+space",
"command": "editor.action.triggerParameterHints",
"when": "editorHasSignatureHelpProvider && editorTextFocus"
},
{
"key": "ctrl+i",
"command": "editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly"
},
{
"key": "ctrl+space",
"command": "editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+x",
"command": "editor.action.trimTrailingWhitespace",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "enter",
"command": "editor.action.webvieweditor.findNext",
"when": "webviewFindWidgetFocused && !editorFocus && activeEditor == 'WebviewEditor'"
},
{
"key": "shift+enter",
"command": "editor.action.webvieweditor.findPrevious",
"when": "webviewFindWidgetFocused && !editorFocus && activeEditor == 'WebviewEditor'"
},
{
"key": "escape",
"command": "editor.action.webvieweditor.hideFind",
"when": "webviewFindWidgetVisible && !editorFocus && activeEditor == 'WebviewEditor'"
},
{
"key": "ctrl+f",
"command": "editor.action.webvieweditor.showFind",
"when": "webviewFindWidgetEnabled && !editorFocus && activeEditor == 'WebviewEditor'"
},
{
"key": "f7",
"command": "editor.action.wordHighlight.next",
"when": "editorTextFocus && hasWordHighlights"
},
{
"key": "shift+f7",
"command": "editor.action.wordHighlight.prev",
"when": "editorTextFocus && hasWordHighlights"
},
{
"key": "escape",
"command": "editor.cancelOperation",
"when": "cancellableOperation"
},
{
"key": "escape",
"command": "editor.debug.action.closeExceptionWidget",
"when": "exceptionWidgetVisible"
},
{
"key": "ctrl+k ctrl+i",
"command": "editor.debug.action.showDebugHover",
"when": "editorTextFocus && inDebugMode"
},
{
"key": "f9",
"command": "editor.debug.action.toggleBreakpoint",
"when": "debuggersAvailable && editorTextFocus"
},
{
"key": "tab",
"command": "editor.emmet.action.expandAbbreviation",
"when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorReadonly && !editorTabMovesFocus"
},
{
"key": "ctrl+shift+[",
"command": "editor.fold",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "ctrl+k ctrl+0",
"command": "editor.foldAll",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "ctrl+k ctrl+/",
"command": "editor.foldAllBlockComments",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "ctrl+k ctrl+-",
"command": "editor.foldAllExcept",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "ctrl+k ctrl+8",
"command": "editor.foldAllMarkerRegions",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "ctrl+k ctrl+1",
"command": "editor.foldLevel1",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "ctrl+k ctrl+2",
"command": "editor.foldLevel2",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "ctrl+k ctrl+3",
"command": "editor.foldLevel3",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "ctrl+k ctrl+4",
"command": "editor.foldLevel4",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "ctrl+k ctrl+5",
"command": "editor.foldLevel5",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "ctrl+k ctrl+6",
"command": "editor.foldLevel6",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "ctrl+k ctrl+7",
"command": "editor.foldLevel7",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "ctrl+k ctrl+[",
"command": "editor.foldRecursively",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "f12",
"command": "editor.gotoNextSymbolFromResult",
"when": "hasSymbols"
},
{
"key": "escape",
"command": "editor.gotoNextSymbolFromResult.cancel",
"when": "hasSymbols"
},
{
"key": "ctrl+k ctrl+l",
"command": "editor.toggleFold",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "ctrl+shift+]",
"command": "editor.unfold",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "ctrl+k ctrl+j",
"command": "editor.unfoldAll",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "ctrl+k ctrl+=",
"command": "editor.unfoldAllExcept",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "ctrl+k ctrl+9",
"command": "editor.unfoldAllMarkerRegions",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "ctrl+k ctrl+]",
"command": "editor.unfoldRecursively",
"when": "editorTextFocus && foldingEnabled"
},
{
"key": "tab",
"command": "insertSnippet",
"when": "editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode"
},
{
"key": "meta+enter",
"command": "interactive.execute",
"when": "resourceScheme == 'vscode-interactive'"
},
{
"key": "meta+enter",
"command": "notebook.cell.execute",
"when": "notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0"
},
{
"key": "alt+enter",
"command": "notebook.cell.executeAndInsertBelow",
"when": "notebookCellListFocused && notebookCellType == 'markup' || notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0"
},
{
"key": "shift+enter",
"command": "notebook.cell.executeAndSelectBelow",
"when": "notebookCellListFocused && notebookCellType == 'markup' || notebookCellListFocused && notebookMissingKernelExtension && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0"
},
{
"key": "ctrl+shift+v",
"command": "notebook.cell.pasteAbove",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "down",
"command": "notebook.focusNextEditor",
"when": "config.notebook.navigation.allowNavigateToSurroundingCells && editorTextFocus && inputFocus && notebookEditorFocused && notebookEditorCursorAtBoundary != 'none' && notebookEditorCursorAtBoundary != 'top'"
},
{
"key": "up",
"command": "notebook.focusPreviousEditor",
"when": "config.notebook.navigation.allowNavigateToSurroundingCells && editorTextFocus && inputFocus && notebookEditorFocused && notebookEditorCursorAtBoundary != 'bottom' && notebookEditorCursorAtBoundary != 'none'"
},
{
"key": "ctrl+shift+i",
"command": "notebook.formatCell",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && inCompositeEditor && notebookEditable && !editorReadonly && activeEditor == 'workbench.editor.notebook'"
},
{
"key": "ctrl+enter",
"command": "openReferenceToSide",
"when": "listFocus && referenceSearchVisible && !inputFocus"
},
{
"key": "enter",
"command": "repl.action.acceptInput",
"when": "inDebugRepl && textInputFocus"
},
{
"key": "ctrl+f",
"command": "repl.action.filter",
"when": "inDebugRepl && textInputFocus"
},
{
"key": "ctrl+shift+r",
"command": "rerunSearchEditorSearch",
"when": "inSearchEditor"
},
{
"key": "escape",
"command": "search.action.focusQueryEditorWidget",
"when": "inSearchEditor"
},
{
"key": "ctrl+shift+backspace",
"command": "search.searchEditor.action.deleteFileResults",
"when": "inSearchEditor"
},
{
"key": "escape",
"command": "settings.action.clearSearchResults",
"when": "inSettingsEditor && inSettingsSearch"
},
{
"key": "down",
"command": "settings.action.focusSettingsFile",
"when": "inSettingsSearch && !suggestWidgetVisible"
},
{
"key": "ctrl+f",
"command": "settings.action.search",
"when": "inSettingsEditor"
},
{
"key": "ctrl+/",
"command": "toggleExplainMode",
"when": "suggestWidgetVisible"
},
{
"key": "ctrl+k f2",
"command": "togglePeekWidgetFocus",
"when": "inReferenceSearchEditor || referenceSearchVisible"
},
{
"key": "escape",
"command": "welcome.goBack",
"when": "inWelcome && activeEditor == 'gettingStartedPage'"
},
{
"key": "alt+f5",
"command": "workbench.action.editor.nextChange",
"when": "editorTextFocus && !textCompareEditorActive"
},
{
"key": "shift+alt+f5",
"command": "workbench.action.editor.previousChange",
"when": "editorTextFocus && !textCompareEditorActive"
},
{
"key": "shift+escape",
"command": "workbench.action.hideComment",
"when": "commentEditorFocused"
},
{
"key": "escape",
"command": "workbench.action.hideComment",
"when": "commentEditorFocused"
},
{
"key": "ctrl+enter",
"command": "workbench.action.submitComment",
"when": "commentEditorFocused"
},
{
"key": "alt+f8",
"command": "testing.goToNextMessage",
"when": "editorFocus && testing.isPeekVisible"
},
{
"key": "shift+alt+f8",
"command": "testing.goToPreviousMessage",
"when": "editorFocus && testing.isPeekVisible"
},
{
"key": "shift+escape",
"command": "closeFindWidget",
"when": "editorFocus && findWidgetVisible && !isComposing"
},
{
"key": "escape",
"command": "closeFindWidget",
"when": "editorFocus && findWidgetVisible && !isComposing"
},
{
"key": "ctrl+alt+enter",
"command": "editor.action.replaceAll",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "ctrl+shift+1",
"command": "editor.action.replaceOne",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "enter",
"command": "editor.action.replaceOne",
"when": "editorFocus && findWidgetVisible && replaceInputFocussed"
},
{
"key": "alt+enter",
"command": "editor.action.selectAllMatches",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "alt+c",
"command": "toggleFindCaseSensitive",
"when": "editorFocus"
},
{ "key": "alt+l", "command": "toggleFindInSelection", "when": "editorFocus" },
{ "key": "alt+r", "command": "toggleFindRegex", "when": "editorFocus" },
{ "key": "alt+w", "command": "toggleFindWholeWord", "when": "editorFocus" },
{ "key": "alt+p", "command": "togglePreserveCase", "when": "editorFocus" },
{
"key": "tab",
"command": "jumpToNextSnippetPlaceholder",
"when": "editorTextFocus && hasNextTabstop && inSnippetMode"
},
{
"key": "shift+tab",
"command": "jumpToPrevSnippetPlaceholder",
"when": "editorTextFocus && hasPrevTabstop && inSnippetMode"
},
{
"key": "escape",
"command": "leaveEditorMessage",
"when": "messageVisible"
},
{
"key": "shift+escape",
"command": "leaveSnippet",
"when": "editorTextFocus && inSnippetMode"
},
{
"key": "escape",
"command": "leaveSnippet",
"when": "editorTextFocus && inSnippetMode"
},
{
"key": "shift+escape",
"command": "closeDirtyDiff",
"when": "dirtyDiffVisible"
},
{ "key": "escape", "command": "closeDirtyDiff", "when": "dirtyDiffVisible" },
{
"key": "shift+escape",
"command": "closeMarkersNavigation",
"when": "editorFocus && markersNavigationVisible"
},
{
"key": "escape",
"command": "closeMarkersNavigation",
"when": "editorFocus && markersNavigationVisible"
},
{
"key": "escape",
"command": "notifications.hideToasts",
"when": "notificationToastsVisible"
},
{
"key": "shift+escape",
"command": "closeParameterHints",
"when": "editorFocus && parameterHintsVisible"
},
{
"key": "escape",
"command": "closeParameterHints",
"when": "editorFocus && parameterHintsVisible"
},
{
"key": "alt+down",
"command": "showNextParameterHint",
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
},
{
"key": "down",
"command": "showNextParameterHint",
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
},
{
"key": "alt+up",
"command": "showPrevParameterHint",
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
},
{
"key": "up",
"command": "showPrevParameterHint",
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
},
{
"key": "shift+tab",
"command": "acceptAlternativeSelectedSuggestion",
"when": "suggestWidgetVisible && textInputFocus"
},
{
"key": "shift+enter",
"command": "acceptAlternativeSelectedSuggestion",
"when": "suggestWidgetVisible && textInputFocus"
},
{
"key": "tab",
"command": "acceptSelectedSuggestion",
"when": "suggestWidgetVisible && textInputFocus"
},
{
"key": "enter",
"command": "acceptSelectedSuggestion",
"when": "acceptSuggestionOnEnter && suggestWidgetVisible && suggestionMakesTextEdit && textInputFocus"
},
{
"key": "shift+escape",
"command": "hideSuggestWidget",
"when": "suggestWidgetVisible && textInputFocus"
},
{
"key": "escape",
"command": "hideSuggestWidget",
"when": "suggestWidgetVisible && textInputFocus"
},
{
"key": "tab",
"command": "insertBestCompletion",
"when": "atEndOfWord && textInputFocus && !hasOtherSuggestions && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'"
},
{
"key": "tab",
"command": "insertNextSuggestion",
"when": "hasOtherSuggestions && textInputFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'"
},
{
"key": "shift+tab",
"command": "insertPrevSuggestion",
"when": "hasOtherSuggestions && textInputFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'"
},
{
"key": "ctrl+pagedown",
"command": "selectNextPageSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "pagedown",
"command": "selectNextPageSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+down",
"command": "selectNextSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "down",
"command": "selectNextSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+pageup",
"command": "selectPrevPageSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "pageup",
"command": "selectPrevPageSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+up",
"command": "selectPrevSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "up",
"command": "selectPrevSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+i",
"command": "toggleSuggestionDetails",
"when": "suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+space",
"command": "toggleSuggestionDetails",
"when": "suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+alt+space",
"command": "toggleSuggestionFocus",
"when": "suggestWidgetVisible && textInputFocus"
},
{
"key": "enter",
"command": "acceptRenameInput",
"when": "editorFocus && renameInputVisible"
},
{
"key": "shift+enter",
"command": "acceptRenameInputWithPreview",
"when": "config.editor.rename.enablePreview && editorFocus && renameInputVisible"
},
{
"key": "shift+escape",
"command": "cancelLinkedEditingInput",
"when": "LinkedEditingInputVisible && editorTextFocus"
},
{
"key": "escape",
"command": "cancelLinkedEditingInput",
"when": "LinkedEditingInputVisible && editorTextFocus"
},
{
"key": "shift+escape",
"command": "cancelRenameInput",
"when": "editorFocus && renameInputVisible"
},
{
"key": "escape",
"command": "cancelRenameInput",
"when": "editorFocus && renameInputVisible"
},
{
"key": "ctrl+shift+l",
"command": "addCursorsAtSearchResults",
"when": "fileMatchOrMatchFocus && searchViewletVisible"
},
{
"key": "ctrl+shift+;",
"command": "breadcrumbs.focus",
"when": "breadcrumbsPossible"
},
{
"key": "ctrl+shift+[IntlBackslash]",
"command": "breadcrumbs.focusAndSelect",
"when": "breadcrumbsPossible"
},
{
"key": "ctrl+shift+.",
"command": "breadcrumbs.focusAndSelect",
"when": "breadcrumbsPossible"
},
{
"key": "ctrl+right",
"command": "breadcrumbs.focusNext",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "right",
"command": "breadcrumbs.focusNext",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "ctrl+left",
"command": "breadcrumbs.focusPrevious",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "left",
"command": "breadcrumbs.focusPrevious",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "ctrl+enter",
"command": "breadcrumbs.revealFocused",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "space",
"command": "breadcrumbs.revealFocused",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "ctrl+enter",
"command": "breadcrumbs.revealFocusedFromTreeAside",
"when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus"
},
{
"key": "down",
"command": "breadcrumbs.selectFocused",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "enter",
"command": "breadcrumbs.selectFocused",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "ctrl+shift+[IntlBackslash]",
"command": "breadcrumbs.toggleToOn",
"when": "!config.breadcrumbs.enabled"
},
{
"key": "ctrl+shift+.",
"command": "breadcrumbs.toggleToOn",
"when": "!config.breadcrumbs.enabled"
},
{
"key": "shift+escape",
"command": "closeAccessibilityHelp",
"when": "accessibilityHelpWidgetVisible && editorFocus"
},
{
"key": "escape",
"command": "closeAccessibilityHelp",
"when": "accessibilityHelpWidgetVisible && editorFocus"
},
{
"key": "escape",
"command": "closeReplaceInFilesWidget",
"when": "replaceInputBoxFocus && searchViewletVisible"
},
{ "key": "ctrl+alt+c", "command": "copyFilePath", "when": "!editorFocus" },
{
"key": "ctrl+shift+alt+c",
"command": "copyRelativeFilePath",
"when": "!editorFocus"
},
{
"key": "alt+enter",
"command": "debug.openBreakpointToSide",
"when": "breakpointsFocused"
},
{
"key": "ctrl+enter",
"command": "debug.openBreakpointToSide",
"when": "breakpointsFocused"
},
{
"key": "ctrl+f5",
"command": "debug.openView",
"when": "!debuggersAvailable"
},
{ "key": "f5", "command": "debug.openView", "when": "!debuggersAvailable" },
{
"key": "delete",
"command": "debug.removeBreakpoint",
"when": "breakpointsFocused && !breakpointInputFocused"
},
{
"key": "delete",
"command": "debug.removeWatchExpression",
"when": "watchExpressionsFocused && !expressionSelected"
},
{
"key": "alt+-",
"command": "decreaseSearchEditorContextLines",
"when": "inSearchEditor"
},
{
"key": "tab",
"command": "editor.action.inlineSuggest.commit",
"when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorTabMovesFocus"
},
{
"key": "shift+f9",
"command": "editor.debug.action.toggleInlineBreakpoint",
"when": "editorTextFocus"
},
{
"key": "shift+enter",
"command": "editor.refocusCallHierarchy",
"when": "callHierarchyVisible"
},
{
"key": "shift+enter",
"command": "editor.refocusTypeHierarchy",
"when": "typeHierarchyVisible"
},
{
"key": "shift+alt+h",
"command": "editor.showCallHierarchy",
"when": "editorHasCallHierarchyProvider && editorTextFocus && !inReferenceSearchEditor"
},
{
"key": "shift+alt+h",
"command": "editor.showIncomingCalls",
"when": "callHierarchyVisible && callHierarchyDirection == 'outgoingCalls'"
},
{
"key": "shift+alt+h",
"command": "editor.showOutgoingCalls",
"when": "callHierarchyVisible && callHierarchyDirection == 'incomingCalls'"
},
{
"key": "shift+alt+h",
"command": "editor.showSubtypes",
"when": "typeHierarchyVisible && typeHierarchyDirection == 'supertypes'"
},
{
"key": "shift+alt+h",
"command": "editor.showSupertypes",
"when": "typeHierarchyVisible && typeHierarchyDirection == 'subtypes'"
},
{
"key": "ctrl+enter",
"command": "explorer.openToSide",
"when": "explorerViewletFocus && explorerViewletVisible && !inputFocus"
},
{
"key": "shift+alt+f",
"command": "filesExplorer.findInFolder",
"when": "explorerResourceIsFolder && explorerViewletVisible && filesExplorerFocus && !inputFocus"
},
{
"key": "alt+down",
"command": "history.showNext",
"when": "historyNavigationForwardsEnabled && historyNavigationWidget && !suggestWidgetVisible"
},
{
"key": "down",
"command": "history.showNext",
"when": "historyNavigationForwardsEnabled && historyNavigationWidget && !suggestWidgetVisible"
},
{
"key": "alt+up",
"command": "history.showPrevious",
"when": "historyNavigationBackwardsEnabled && historyNavigationWidget && !suggestWidgetVisible"
},
{
"key": "up",
"command": "history.showPrevious",
"when": "historyNavigationBackwardsEnabled && historyNavigationWidget && !suggestWidgetVisible"
},
{
"key": "alt+=",
"command": "increaseSearchEditorContextLines",
"when": "inSearchEditor"
},
{
"key": "down",
"command": "interactive.history.next",
"when": "!suggestWidgetVisible && resourceScheme == 'vscode-interactive' && interactiveInputCursorAtBoundary != 'none' && interactiveInputCursorAtBoundary != 'top'"
},
{
"key": "up",
"command": "interactive.history.previous",
"when": "!suggestWidgetVisible && resourceScheme == 'vscode-interactive' && interactiveInputCursorAtBoundary != 'bottom' && interactiveInputCursorAtBoundary != 'none'"
},
{
"key": "ctrl+end",
"command": "interactive.scrollToBottom",
"when": "resourceScheme == 'vscode-interactive'"
},
{
"key": "ctrl+home",
"command": "interactive.scrollToTop",
"when": "resourceScheme == 'vscode-interactive'"
},
{
"key": "ctrl+k ctrl+a",
"command": "keybindings.editor.addKeybinding",
"when": "inKeybindings && keybindingFocus"
},
{
"key": "escape",
"command": "keybindings.editor.clearSearchResults",
"when": "inKeybindings && inKeybindingsSearch"
},
{
"key": "ctrl+c",
"command": "keybindings.editor.copyKeybindingEntry",
"when": "inKeybindings && keybindingFocus"
},
{
"key": "enter",
"command": "keybindings.editor.defineKeybinding",
"when": "inKeybindings && keybindingFocus"
},
{
"key": "ctrl+k ctrl+e",
"command": "keybindings.editor.defineWhenExpression",
"when": "inKeybindings && keybindingFocus"
},
{
"key": "ctrl+down",
"command": "keybindings.editor.focusKeybindings",
"when": "inKeybindings && inKeybindingsSearch"
},
{
"key": "alt+k",
"command": "keybindings.editor.recordSearchKeys",
"when": "inKeybindings && inKeybindingsSearch"
},
{
"key": "delete",
"command": "keybindings.editor.removeKeybinding",
"when": "inKeybindings && keybindingFocus && !inputFocus"
},
{
"key": "ctrl+f",
"command": "keybindings.editor.searchKeybindings",
"when": "inKeybindings"
},
{
"key": "alt+p",
"command": "keybindings.editor.toggleSortByPrecedence",
"when": "inKeybindings"
},
{
"key": "escape",
"command": "list.clear",
"when": "listFocus && listHasSelectionOrFocus && !inputFocus"
},
{
"key": "left",
"command": "list.collapse",
"when": "listFocus && treeElementCanCollapse && !inputFocus || listFocus && treeElementHasParent && !inputFocus"
},
{
"key": "ctrl+left",
"command": "list.collapseAll",
"when": "listFocus && !inputFocus"
},
{
"key": "right",
"command": "list.expand",
"when": "listFocus && treeElementCanExpand && !inputFocus || listFocus && treeElementHasChild && !inputFocus"
},
{
"key": "shift+down",
"command": "list.expandSelectionDown",
"when": "listFocus && listSupportsMultiselect && !inputFocus"
},
{
"key": "shift+up",
"command": "list.expandSelectionUp",
"when": "listFocus && listSupportsMultiselect && !inputFocus"
},
{
"key": "down",
"command": "list.focusDown",
"when": "listFocus && !inputFocus"
},
{
"key": "home",
"command": "list.focusFirst",
"when": "listFocus && !inputFocus"
},
{
"key": "end",
"command": "list.focusLast",
"when": "listFocus && !inputFocus"
},
{
"key": "pagedown",
"command": "list.focusPageDown",
"when": "listFocus && !inputFocus"
},
{
"key": "pageup",
"command": "list.focusPageUp",
"when": "listFocus && !inputFocus"
},
{
"key": "up",
"command": "list.focusUp",
"when": "listFocus && !inputFocus"
},
{
"key": "ctrl+down",
"command": "list.scrollDown",
"when": "listFocus && !inputFocus"
},
{
"key": "ctrl+up",
"command": "list.scrollUp",
"when": "listFocus && !inputFocus"
},
{
"key": "enter",
"command": "list.select",
"when": "listFocus && !inputFocus"
},
{
"key": "ctrl+a",
"command": "list.selectAll",
"when": "listFocus && listSupportsMultiselect && !inputFocus"
},
{
"key": "space",
"command": "list.toggleExpand",
"when": "listFocus && !inputFocus"
},
{
"key": "ctrl+shift+enter",
"command": "list.toggleSelection",
"when": "listFocus && !inputFocus"
},
{
"key": "y",
"command": "notebook.cell.changeToCode",
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook' && notebookCellType == 'markup'"
},
{
"key": "m",
"command": "notebook.cell.changeToMarkdown",
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook' && notebookCellType == 'code'"
},
{
"key": "alt+delete",
"command": "notebook.cell.clearOutputs",
"when": "notebookCellEditable && notebookCellHasOutputs && notebookEditable && notebookEditorFocused && !inputFocus"
},
{
"key": "ctrl+k ctrl+c",
"command": "notebook.cell.collapseCellInput",
"when": "notebookCellListFocused && !inputFocus && !notebookCellInputIsCollapsed"
},
{
"key": "ctrl+k t",
"command": "notebook.cell.collapseCellOutput",
"when": "notebookCellHasOutputs && notebookCellListFocused && !inputFocus && !notebookCellOutputIsCollapsed"
},
{
"key": "shift+alt+down",
"command": "notebook.cell.copyDown",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "shift+alt+up",
"command": "notebook.cell.copyUp",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "delete",
"command": "notebook.cell.delete",
"when": "notebookEditable && notebookEditorFocused && !inputFocus"
},
{
"key": "enter",
"command": "notebook.cell.edit",
"when": "notebookCellListFocused && notebookEditable && !inputFocus"
},
{
"key": "ctrl+k ctrl+c",
"command": "notebook.cell.expandCellInput",
"when": "notebookCellInputIsCollapsed && notebookCellListFocused"
},
{
"key": "ctrl+k t",
"command": "notebook.cell.expandCellOutput",
"when": "notebookCellListFocused && notebookCellOutputIsCollapsed"
},
{
"key": "ctrl+down",
"command": "notebook.cell.focusInOutput",
"when": "notebookCellHasOutputs && notebookEditorFocused"
},
{
"key": "ctrl+up",
"command": "notebook.cell.focusOutOutput",
"when": "notebookEditorFocused"
},
{
"key": "ctrl+shift+enter",
"command": "notebook.cell.insertCodeCellAbove",
"when": "notebookCellListFocused && !inputFocus"
},
{
"key": "ctrl+enter",
"command": "notebook.cell.insertCodeCellBelow",
"when": "notebookCellListFocused && !inputFocus"
},
{
"key": "shift+alt+meta+j",
"command": "notebook.cell.joinAbove",
"when": "notebookEditorFocused"
},
{
"key": "alt+meta+j",
"command": "notebook.cell.joinBelow",
"when": "notebookEditorFocused"
},
{
"key": "alt+down",
"command": "notebook.cell.moveDown",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "alt+up",
"command": "notebook.cell.moveUp",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "ctrl+k ctrl+shift+\\",
"command": "notebook.cell.split",
"when": "notebookCellEditable && notebookEditable && notebookEditorFocused"
},
{
"key": "ctrl+l",
"command": "notebook.centerActiveCell",
"when": "notebookEditorFocused"
},
{
"key": "ctrl+f",
"command": "notebook.find",
"when": "notebookEditorFocused && !editorFocus && activeEditor == 'workbench.editor.notebook'"
},
{
"key": "ctrl+end",
"command": "notebook.focusBottom",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "ctrl+down",
"command": "notebook.focusNextEditor",
"when": "notebookEditorFocused && notebookOutputFocused"
},
{
"key": "ctrl+home",
"command": "notebook.focusTop",
"when": "notebookEditorFocused && !inputFocus"
},
{
"key": "left",
"command": "notebook.fold",
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'"
},
{
"key": "ctrl+shift+[",
"command": "notebook.fold",
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'"
},
{
"key": "ctrl+shift+i",
"command": "notebook.format",
"when": "notebookEditable && !editorTextFocus && activeEditor == 'workbench.editor.notebook'"
},
{
"key": "escape",
"command": "notebook.hideFind",
"when": "notebookEditorFocused && notebookFindWidgetFocused"
},
{
"key": "right",
"command": "notebook.unfold",
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'"
},
{
"key": "ctrl+shift+]",
"command": "notebook.unfold",
"when": "notebookEditorFocused && !inputFocus && activeEditor == 'workbench.editor.notebook'"
},
{
"key": "delete",
"command": "notification.clear",
"when": "notificationFocus"
},
{
"key": "left",
"command": "notification.collapse",
"when": "notificationFocus"
},
{
"key": "right",
"command": "notification.expand",
"when": "notificationFocus"
},
{
"key": "enter",
"command": "notification.toggle",
"when": "notificationFocus"
},
{
"key": "space",
"command": "notification.toggle",
"when": "notificationFocus"
},
{
"key": "home",
"command": "notifications.focusFirstToast",
"when": "notificationFocus && notificationToastsVisible"
},
{
"key": "pageup",
"command": "notifications.focusFirstToast",
"when": "notificationFocus && notificationToastsVisible"
},
{
"key": "end",
"command": "notifications.focusLastToast",
"when": "notificationFocus && notificationToastsVisible"
},
{
"key": "pagedown",
"command": "notifications.focusLastToast",
"when": "notificationFocus && notificationToastsVisible"
},
{
"key": "down",
"command": "notifications.focusNextToast",
"when": "notificationFocus && notificationToastsVisible"
},
{
"key": "up",
"command": "notifications.focusPreviousToast",
"when": "notificationFocus && notificationToastsVisible"
},
{
"key": "ctrl+c",
"command": "problems.action.copy",
"when": "problemsVisibility && !relatedInformationFocus && focusedView == 'workbench.panel.markers.view'"
},
{
"key": "ctrl+f",
"command": "problems.action.focusFilter",
"when": "focusedView == 'workbench.panel.markers.view'"
},
{
"key": "ctrl+down",
"command": "problems.action.focusProblemsFromFilter",
"when": "problemsFilterFocus"
},
{ "key": "enter", "command": "problems.action.open", "when": "problemFocus" },
{
"key": "ctrl+enter",
"command": "problems.action.openToSide",
"when": "problemFocus"
},
{
"key": "ctrl+.",
"command": "problems.action.showQuickFixes",
"when": "problemFocus"
},
{
"key": "space",
"command": "refactorPreview.toggleCheckedState",
"when": "listFocus && refactorPreview.enabled && !inputFocus"
},
{ "key": "ctrl+alt+r", "command": "revealFileInOS", "when": "!editorFocus" },
{
"key": "enter",
"command": "revealReference",
"when": "listFocus && referenceSearchVisible && !inputFocus"
},
{
"key": "ctrl+enter",
"command": "scm.acceptInput",
"when": "scmRepository"
},
{
"key": "alt+down",
"command": "scm.forceViewNextCommit",
"when": "scmRepository"
},
{
"key": "alt+up",
"command": "scm.forceViewPreviousCommit",
"when": "scmRepository"
},
{
"key": "down",
"command": "scm.viewNextCommit",
"when": "scmInputIsInLastPosition && scmRepository && !suggestWidgetVisible"
},
{
"key": "up",
"command": "scm.viewPreviousCommit",
"when": "scmInputIsInFirstPosition && scmRepository && !suggestWidgetVisible"
},
{
"key": "escape",
"command": "search.action.cancel",
"when": "listFocus && searchViewletVisible && !inputFocus && searchState != '0'"
},
{
"key": "ctrl+c",
"command": "search.action.copyMatch",
"when": "fileMatchOrMatchFocus"
},
{
"key": "ctrl+alt+c",
"command": "search.action.copyPath",
"when": "fileMatchOrFolderMatchWithResourceFocus"
},
{
"key": "f4",
"command": "search.action.focusNextSearchResult",
"when": "hasSearchResult || inSearchEditor"
},
{
"key": "shift+f4",
"command": "search.action.focusPreviousSearchResult",
"when": "hasSearchResult || inSearchEditor"
},
{
"key": "ctrl+up",
"command": "search.action.focusSearchFromResults",
"when": "firstMatchFocus && searchViewletVisible"
},
{
"key": "alt+enter",
"command": "search.action.openInEditor",
"when": "hasSearchResult && searchViewletFocus"
},
{
"key": "enter",
"command": "search.action.openResult",
"when": "fileMatchOrMatchFocus && searchViewletVisible"
},
{
"key": "ctrl+enter",
"command": "search.action.openResultToSide",
"when": "fileMatchOrMatchFocus && searchViewletVisible"
},
{
"key": "delete",
"command": "search.action.remove",
"when": "fileMatchOrMatchFocus && searchViewletVisible"
},
{
"key": "ctrl+shift+1",
"command": "search.action.replace",
"when": "matchFocus && replaceActive && searchViewletVisible"
},
{
"key": "ctrl+alt+enter",
"command": "search.action.replaceAll",
"when": "replaceActive && searchViewletVisible && !findWidgetVisible"
},
{
"key": "ctrl+shift+enter",
"command": "search.action.replaceAllInFile",
"when": "fileMatchFocus && replaceActive && searchViewletVisible"
},
{
"key": "ctrl+shift+1",
"command": "search.action.replaceAllInFile",
"when": "fileMatchFocus && replaceActive && searchViewletVisible"
},
{
"key": "ctrl+shift+enter",
"command": "search.action.replaceAllInFolder",
"when": "folderMatchFocus && replaceActive && searchViewletVisible"
},
{
"key": "ctrl+shift+1",
"command": "search.action.replaceAllInFolder",
"when": "folderMatchFocus && replaceActive && searchViewletVisible"
},
{
"key": "ctrl+down",
"command": "search.focus.nextInputBox",
"when": "inSearchEditor && inputBoxFocus || inputBoxFocus && searchViewletVisible"
},
{
"key": "ctrl+up",
"command": "search.focus.previousInputBox",
"when": "inSearchEditor && inputBoxFocus || inputBoxFocus && searchViewletVisible && !searchInputBoxFocus"
},
{
"key": "ctrl+shift+l",
"command": "selectAllSearchEditorMatches",
"when": "inSearchEditor"
},
{
"key": "escape",
"command": "settings.action.focusLevelUp",
"when": "inSettingsEditor && !inSettingsJSONEditor && !inSettingsSearch"
},
{
"key": "enter",
"command": "settings.action.focusSettingControl",
"when": "settingRowFocus"
},
{
"key": "down",
"command": "settings.action.focusSettingsFromSearch",
"when": "inSettingsSearch && !suggestWidgetVisible"
},
{
"key": "enter",
"command": "settings.action.focusSettingsList",
"when": "inSettingsEditor && settingsTocRowFocus"
},
{
"key": "left",
"command": "settings.action.focusTOC",
"when": "inSettingsEditor && settingRowFocus"
},
{
"key": "shift+f9",
"command": "settings.action.showContextMenu",
"when": "inSettingsEditor"
},
{ "key": "ctrl+; ctrl+x", "command": "testing.cancelRun" },
{ "key": "ctrl+; ctrl+a", "command": "testing.debugAll" },
{
"key": "ctrl+; ctrl+c",
"command": "testing.debugAtCursor",
"when": "editorTextFocus"
},
{
"key": "ctrl+; ctrl+f",
"command": "testing.debugCurrentFile",
"when": "editorTextFocus"
},
{ "key": "ctrl+; ctrl+e", "command": "testing.debugFailTests" },
{ "key": "ctrl+; ctrl+l", "command": "testing.debugLastRun" },
{ "key": "ctrl+; m", "command": "testing.openOutputPeek" },
{ "key": "ctrl+; e", "command": "testing.reRunFailTests" },
{ "key": "ctrl+; l", "command": "testing.reRunLastRun" },
{ "key": "ctrl+; a", "command": "testing.runAll" },
{
"key": "ctrl+; c",
"command": "testing.runAtCursor",
"when": "editorTextFocus"
},
{
"key": "ctrl+; f",
"command": "testing.runCurrentFile",
"when": "editorTextFocus"
},
{
"key": "ctrl+; ctrl+o",
"command": "testing.showMostRecentOutput",
"when": "testing.hasAnyResults"
},
{ "key": "ctrl+; ctrl+i", "command": "testing.toggleInlineTestOutput" },
{
"key": "ctrl+h",
"command": "testing.toggleTestingPeekHistory",
"when": "testing.isPeekVisible"
},
{
"key": "alt+c",
"command": "toggleSearchCaseSensitive",
"when": "searchViewletFocus"
},
{
"key": "alt+c",
"command": "toggleSearchEditorCaseSensitive",
"when": "inSearchEditor && searchInputBoxFocus"
},
{
"key": "alt+l",
"command": "toggleSearchEditorContextLines",
"when": "inSearchEditor"
},
{
"key": "alt+r",
"command": "toggleSearchEditorRegex",
"when": "inSearchEditor && searchInputBoxFocus"
},
{
"key": "alt+w",
"command": "toggleSearchEditorWholeWord",
"when": "inSearchEditor && searchInputBoxFocus"
},
{
"key": "alt+p",
"command": "toggleSearchPreserveCase",
"when": "searchViewletFocus"
},
{
"key": "alt+r",
"command": "toggleSearchRegex",
"when": "searchViewletFocus"
},
{
"key": "alt+w",
"command": "toggleSearchWholeWord",
"when": "searchViewletFocus"
},
{ "key": "ctrl+alt+meta+n", "command": "welcome.showNewFileEntries" },
{ "key": "ctrl+w", "command": "workbench.action.closeActiveEditor" },
{ "key": "ctrl+k ctrl+w", "command": "workbench.action.closeAllEditors" },
{
"key": "ctrl+k ctrl+shift+w",
"command": "workbench.action.closeAllGroups"
},
{ "key": "ctrl+k w", "command": "workbench.action.closeEditorsInGroup" },
{
"key": "ctrl+k f",
"command": "workbench.action.closeFolder",
"when": "emptyWorkspaceSupport && workbenchState != 'empty'"
},
{
"key": "ctrl+w",
"command": "workbench.action.closeGroup",
"when": "activeEditorGroupEmpty && multipleEditorGroups"
},
{
"key": "shift+escape",
"command": "workbench.action.closeQuickOpen",
"when": "inQuickOpen"
},
{
"key": "escape",
"command": "workbench.action.closeQuickOpen",
"when": "inQuickOpen"
},
{ "key": "ctrl+k u", "command": "workbench.action.closeUnmodifiedEditors" },
{ "key": "ctrl+shift+w", "command": "workbench.action.closeWindow" },
{ "key": "alt+f4", "command": "workbench.action.closeWindow" },
{
"key": "alt+f5",
"command": "workbench.action.compareEditor.nextChange",
"when": "textCompareEditorVisible"
},
{
"key": "shift+alt+f5",
"command": "workbench.action.compareEditor.previousChange",
"when": "textCompareEditorVisible"
},
{
"key": "shift+f5",
"command": "workbench.action.debug.disconnect",
"when": "focusedSessionIsAttach && inDebugMode"
},
{
"key": "ctrl+shift+f5",
"command": "workbench.action.debug.restart",
"when": "inDebugMode"
},
{
"key": "ctrl+f5",
"command": "workbench.action.debug.run",
"when": "debuggersAvailable && debugState != 'initializing'"
},
{
"key": "f5",
"command": "workbench.action.debug.start",
"when": "debuggersAvailable && debugState == 'inactive'"
},
{
"key": "shift+f11",
"command": "workbench.action.debug.stepOut",
"when": "debugState == 'stopped'"
},
{
"key": "f10",
"command": "workbench.action.debug.stepOver",
"when": "debugState == 'stopped'"
},
{
"key": "shift+f5",
"command": "workbench.action.debug.stop",
"when": "inDebugMode && !focusedSessionIsAttach"
},
{
"key": "ctrl+k m",
"command": "workbench.action.editor.changeLanguageMode",
"when": "!notebookEditorFocused"
},
{
"key": "ctrl+k p",
"command": "workbench.action.files.copyPathOfActiveFile"
},
{ "key": "ctrl+n", "command": "workbench.action.files.newUntitledFile" },
{
"key": "ctrl+o",
"command": "workbench.action.files.openFile",
"when": "true"
},
{
"key": "ctrl+o",
"command": "workbench.action.files.openFileFolder",
"when": "isMacNative && openFolderWorkspaceSupport"
},
{
"key": "ctrl+k ctrl+o",
"command": "workbench.action.files.openFolder",
"when": "openFolderWorkspaceSupport"
},
{
"key": "ctrl+o",
"command": "workbench.action.files.openLocalFile",
"when": "remoteFileDialogVisible"
},
{
"key": "ctrl+k ctrl+o",
"command": "workbench.action.files.openLocalFolder",
"when": "remoteFileDialogVisible"
},
{
"key": "ctrl+k r",
"command": "workbench.action.files.revealActiveFileInWindows"
},
{ "key": "ctrl+s", "command": "workbench.action.files.save" },
{ "key": "ctrl+shift+s", "command": "workbench.action.files.saveAs" },
{
"key": "ctrl+shift+s",
"command": "workbench.action.files.saveLocalFile",
"when": "remoteFileDialogVisible"
},
{
"key": "ctrl+k s",
"command": "workbench.action.files.saveWithoutFormatting"
},
{
"key": "ctrl+k o",
"command": "workbench.action.files.showOpenedFileInNewWindow",
"when": "emptyWorkspaceSupport"
},
{ "key": "ctrl+shift+f", "command": "workbench.action.findInFiles" },
{ "key": "ctrl+k ctrl+up", "command": "workbench.action.focusAboveGroup" },
{ "key": "ctrl+k ctrl+down", "command": "workbench.action.focusBelowGroup" },
{ "key": "ctrl+8", "command": "workbench.action.focusEighthEditorGroup" },
{ "key": "ctrl+5", "command": "workbench.action.focusFifthEditorGroup" },
{ "key": "ctrl+1", "command": "workbench.action.focusFirstEditorGroup" },
{ "key": "ctrl+4", "command": "workbench.action.focusFourthEditorGroup" },
{ "key": "ctrl+k ctrl+left", "command": "workbench.action.focusLeftGroup" },
{ "key": "f6", "command": "workbench.action.focusNextPart" },
{ "key": "shift+f6", "command": "workbench.action.focusPreviousPart" },
{ "key": "ctrl+k ctrl+right", "command": "workbench.action.focusRightGroup" },
{ "key": "ctrl+2", "command": "workbench.action.focusSecondEditorGroup" },
{ "key": "ctrl+7", "command": "workbench.action.focusSeventhEditorGroup" },
{ "key": "ctrl+0", "command": "workbench.action.focusSideBar" },
{ "key": "ctrl+6", "command": "workbench.action.focusSixthEditorGroup" },
{ "key": "ctrl+3", "command": "workbench.action.focusThirdEditorGroup" },
{ "key": "ctrl+g", "command": "workbench.action.gotoLine" },
{ "key": "ctrl+shift+o", "command": "workbench.action.gotoSymbol" },
{
"key": "escape",
"command": "workbench.action.hideInterfaceOverview",
"when": "interfaceOverviewVisible"
},
{
"key": "down",
"command": "workbench.action.interactivePlayground.arrowDown",
"when": "interactivePlaygroundFocus && !editorTextFocus"
},
{
"key": "up",
"command": "workbench.action.interactivePlayground.arrowUp",
"when": "interactivePlaygroundFocus && !editorTextFocus"
},
{
"key": "pagedown",
"command": "workbench.action.interactivePlayground.pageDown",
"when": "interactivePlaygroundFocus && !editorTextFocus"
},
{
"key": "pageup",
"command": "workbench.action.interactivePlayground.pageUp",
"when": "interactivePlaygroundFocus && !editorTextFocus"
},
{
"key": "ctrl+k ctrl+shift+\\",
"command": "workbench.action.joinEditorInGroup",
"when": "sideBySideEditorActive"
},
{ "key": "ctrl+k enter", "command": "workbench.action.keepEditor" },
{
"key": "ctrl+k ctrl+r",
"command": "workbench.action.keybindingsReference"
},
{ "key": "ctrl+9", "command": "workbench.action.lastEditorInGroup" },
{ "key": "alt+0", "command": "workbench.action.lastEditorInGroup" },
{
"key": "ctrl+k down",
"command": "workbench.action.moveActiveEditorGroupDown"
},
{
"key": "ctrl+k left",
"command": "workbench.action.moveActiveEditorGroupLeft"
},
{
"key": "ctrl+k right",
"command": "workbench.action.moveActiveEditorGroupRight"
},
{ "key": "ctrl+k up", "command": "workbench.action.moveActiveEditorGroupUp" },
{
"key": "ctrl+shift+pageup",
"command": "workbench.action.moveEditorLeftInGroup"
},
{
"key": "ctrl+shift+pagedown",
"command": "workbench.action.moveEditorRightInGroup"
},
{
"key": "shift+alt+1",
"command": "workbench.action.moveEditorToFirstGroup"
},
{ "key": "shift+alt+9", "command": "workbench.action.moveEditorToLastGroup" },
{
"key": "ctrl+alt+right",
"command": "workbench.action.moveEditorToNextGroup"
},
{
"key": "ctrl+alt+left",
"command": "workbench.action.moveEditorToPreviousGroup"
},
{ "key": "ctrl+alt+-", "command": "workbench.action.navigateBack" },
{ "key": "ctrl+shift+-", "command": "workbench.action.navigateForward" },
{
"key": "ctrl+k ctrl+q",
"command": "workbench.action.navigateToLastEditLocation"
},
{ "key": "ctrl+shift+n", "command": "workbench.action.newWindow" },
{ "key": "ctrl+pagedown", "command": "workbench.action.nextEditor" },
{
"key": "ctrl+k ctrl+pagedown",
"command": "workbench.action.nextEditorInGroup"
},
{ "key": "alt+1", "command": "workbench.action.openEditorAtIndex1" },
{ "key": "alt+2", "command": "workbench.action.openEditorAtIndex2" },
{ "key": "alt+3", "command": "workbench.action.openEditorAtIndex3" },
{ "key": "alt+4", "command": "workbench.action.openEditorAtIndex4" },
{ "key": "alt+5", "command": "workbench.action.openEditorAtIndex5" },
{ "key": "alt+6", "command": "workbench.action.openEditorAtIndex6" },
{ "key": "alt+7", "command": "workbench.action.openEditorAtIndex7" },
{ "key": "alt+8", "command": "workbench.action.openEditorAtIndex8" },
{ "key": "alt+9", "command": "workbench.action.openEditorAtIndex9" },
{
"key": "ctrl+k ctrl+s",
"command": "workbench.action.openGlobalKeybindings"
},
{ "key": "ctrl+r", "command": "workbench.action.openRecent" },
{ "key": "ctrl+,", "command": "workbench.action.openSettings" },
{
"key": "ctrl+k ctrl+h",
"command": "workbench.action.output.toggleOutput",
"when": "workbench.panel.output.active"
},
{
"key": "ctrl+k shift+enter",
"command": "workbench.action.pinEditor",
"when": "!activeEditorIsPinned"
},
{ "key": "ctrl+pageup", "command": "workbench.action.previousEditor" },
{
"key": "ctrl+k ctrl+pageup",
"command": "workbench.action.previousEditorInGroup"
},
{ "key": "ctrl+e", "command": "workbench.action.quickOpen" },
{ "key": "ctrl+p", "command": "workbench.action.quickOpen" },
{
"key": "ctrl+shift+tab",
"command": "workbench.action.quickOpenLeastRecentlyUsedEditorInGroup"
},
{
"key": "ctrl+tab",
"command": "workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup"
},
{ "key": "ctrl+q", "command": "workbench.action.quit" },
{ "key": "ctrl+shift+t", "command": "workbench.action.reopenClosedEditor" },
{ "key": "ctrl+shift+h", "command": "workbench.action.replaceInFiles" },
{
"key": "ctrl+shift+j",
"command": "workbench.action.search.toggleQueryDetails",
"when": "inSearchEditor || searchViewletFocus"
},
{ "key": "ctrl+k ctrl+t", "command": "workbench.action.selectTheme" },
{ "key": "ctrl+k ctrl+p", "command": "workbench.action.showAllEditors" },
{ "key": "ctrl+t", "command": "workbench.action.showAllSymbols" },
{ "key": "f1", "command": "workbench.action.showCommands" },
{ "key": "ctrl+shift+p", "command": "workbench.action.showCommands" },
{ "key": "ctrl+\\", "command": "workbench.action.splitEditor" },
{
"key": "ctrl+k ctrl+shift+\\",
"command": "workbench.action.splitEditorInGroup",
"when": "activeEditorCanSplitInGroup"
},
{
"key": "ctrl+k ctrl+\\",
"command": "workbench.action.splitEditorOrthogonal"
},
{ "key": "ctrl+shift+b", "command": "workbench.action.tasks.build" },
{
"key": "escape",
"command": "workbench.action.terminal.clearSelection",
"when": "terminalFocus && terminalHasBeenCreated && terminalTextSelected && !terminalFindVisible || terminalFocus && terminalProcessSupported && terminalTextSelected && !terminalFindVisible"
},
{
"key": "ctrl+shift+c",
"command": "workbench.action.terminal.copySelection",
"when": "terminalFocus && terminalHasBeenCreated && terminalTextSelected || terminalFocus && terminalProcessSupported && terminalTextSelected"
},
{
"key": "f3",
"command": "workbench.action.terminal.findNext",
"when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "shift+enter",
"command": "workbench.action.terminal.findNext",
"when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported"
},
{
"key": "shift+f3",
"command": "workbench.action.terminal.findPrevious",
"when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "enter",
"command": "workbench.action.terminal.findPrevious",
"when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported"
},
{
"key": "ctrl+f",
"command": "workbench.action.terminal.focusFind",
"when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+pagedown",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus"
},
{
"key": "alt+down",
"command": "workbench.action.terminal.focusNextPane",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "alt+right",
"command": "workbench.action.terminal.focusNextPane",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+pageup",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus"
},
{
"key": "alt+up",
"command": "workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "alt+left",
"command": "workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+shift+\\",
"command": "workbench.action.terminal.focusTabs",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported || terminalHasBeenCreated && terminalTabsFocus || terminalProcessSupported && terminalTabsFocus"
},
{
"key": "shift+escape",
"command": "workbench.action.terminal.hideFind",
"when": "terminalFindVisible && terminalFocus && terminalHasBeenCreated || terminalFindVisible && terminalFocus && terminalProcessSupported"
},
{
"key": "escape",
"command": "workbench.action.terminal.hideFind",
"when": "terminalFindVisible && terminalFocus && terminalHasBeenCreated || terminalFindVisible && terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+w",
"command": "workbench.action.terminal.killEditor",
"when": "terminalEditorFocus && terminalFocus && terminalHasBeenCreated && resourceScheme == 'vscode-terminal' || terminalEditorFocus && terminalFocus && terminalProcessSupported && resourceScheme == 'vscode-terminal'"
},
{
"key": "delete",
"command": "workbench.action.terminal.killInstance",
"when": "terminalHasBeenCreated && terminalTabsFocus || terminalIsOpen && terminalTabsFocus || terminalProcessSupported && terminalTabsFocus"
},
{
"key": "escape",
"command": "workbench.action.terminal.navigationModeExit",
"when": "accessibilityModeEnabled && terminalA11yTreeFocus && terminalProcessSupported"
},
{
"key": "ctrl+down",
"command": "workbench.action.terminal.navigationModeFocusNext",
"when": "accessibilityModeEnabled && terminalA11yTreeFocus && terminalProcessSupported || accessibilityModeEnabled && terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+up",
"command": "workbench.action.terminal.navigationModeFocusPrevious",
"when": "accessibilityModeEnabled && terminalA11yTreeFocus && terminalProcessSupported || accessibilityModeEnabled && terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+shift+`",
"command": "workbench.action.terminal.new",
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile"
},
{
"key": "ctrl+shift+c",
"command": "workbench.action.terminal.openNativeConsole",
"when": "!terminalFocus"
},
{
"key": "ctrl+shift+v",
"command": "workbench.action.terminal.paste",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "shift+insert",
"command": "workbench.action.terminal.pasteSelection",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "f2",
"command": "workbench.action.terminal.renameInstance",
"when": "terminalHasBeenCreated && terminalTabsFocus && terminalTabsSingularSelection || terminalProcessSupported && terminalTabsFocus && terminalTabsSingularSelection"
},
{
"key": "ctrl+shift+left",
"command": "workbench.action.terminal.resizePaneLeft",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+shift+right",
"command": "workbench.action.terminal.resizePaneRight",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+shift+down",
"command": "workbench.action.terminal.scrollDown",
"when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "shift+pagedown",
"command": "workbench.action.terminal.scrollDownPage",
"when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "shift+end",
"command": "workbench.action.terminal.scrollToBottom",
"when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "shift+home",
"command": "workbench.action.terminal.scrollToTop",
"when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "ctrl+shift+up",
"command": "workbench.action.terminal.scrollUp",
"when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "shift+pageup",
"command": "workbench.action.terminal.scrollUpPage",
"when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "ctrl+backspace",
"command": "workbench.action.terminal.sendSequence",
"when": "terminalFocus",
"args": { "text": "\u0017" }
},
{
"key": "ctrl+delete",
"command": "workbench.action.terminal.sendSequence",
"when": "terminalFocus",
"args": { "text": "\u001bd" }
},
{
"key": "ctrl+shift+2",
"command": "workbench.action.terminal.sendSequence",
"when": "terminalFocus",
"args": { "text": "\u0000" }
},
{
"key": "ctrl+shift+6",
"command": "workbench.action.terminal.sendSequence",
"when": "terminalFocus",
"args": { "text": "\u001e" }
},
{
"key": "ctrl+/",
"command": "workbench.action.terminal.sendSequence",
"when": "terminalFocus",
"args": { "text": "\u001f" }
},
{
"key": "alt+z",
"command": "workbench.action.terminal.sizeToContentWidth",
"when": "terminalFocus && terminalHasBeenCreated && terminalIsOpen || terminalFocus && terminalIsOpen && terminalProcessSupported"
},
{
"key": "ctrl+shift+5",
"command": "workbench.action.terminal.split",
"when": "terminalFocus && terminalProcessSupported || terminalFocus && terminalWebExtensionContributedProfile"
},
{
"key": "ctrl+shift+5",
"command": "workbench.action.terminal.splitInstance",
"when": "terminalProcessSupported && terminalTabsFocus"
},
{
"key": "alt+c",
"command": "workbench.action.terminal.toggleFindCaseSensitive",
"when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "alt+r",
"command": "workbench.action.terminal.toggleFindRegex",
"when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "alt+w",
"command": "workbench.action.terminal.toggleFindWholeWord",
"when": "terminalFindFocused && terminalHasBeenCreated || terminalFindFocused && terminalProcessSupported || terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+`",
"command": "workbench.action.terminal.toggleTerminal",
"when": "terminal.active"
},
{
"key": "shift+alt+0",
"command": "workbench.action.toggleEditorGroupLayout"
},
{
"key": "f11",
"command": "workbench.action.toggleFullScreen",
"when": "!isIOS"
},
{ "key": "ctrl+j", "command": "workbench.action.togglePanel" },
{ "key": "ctrl+b", "command": "workbench.action.toggleSidebarVisibility" },
{ "key": "ctrl+meta+w", "command": "workbench.action.toggleTabsVisibility" },
{ "key": "ctrl+k z", "command": "workbench.action.toggleZenMode" },
{
"key": "ctrl+k shift+enter",
"command": "workbench.action.unpinEditor",
"when": "activeEditorIsPinned"
},
{ "key": "ctrl+numpad_add", "command": "workbench.action.zoomIn" },
{ "key": "ctrl+shift+=", "command": "workbench.action.zoomIn" },
{ "key": "ctrl+=", "command": "workbench.action.zoomIn" },
{ "key": "ctrl+numpad_subtract", "command": "workbench.action.zoomOut" },
{ "key": "ctrl+-", "command": "workbench.action.zoomOut" },
{ "key": "ctrl+numpad0", "command": "workbench.action.zoomReset" },
{
"key": "ctrl+shift+m",
"command": "workbench.actions.view.problems",
"when": "workbench.panel.markers.view.active"
},
{
"key": "escape",
"command": "workbench.banner.focusBanner",
"when": "bannerFocused"
},
{
"key": "down",
"command": "workbench.banner.focusNextAction",
"when": "bannerFocused"
},
{
"key": "right",
"command": "workbench.banner.focusNextAction",
"when": "bannerFocused"
},
{
"key": "up",
"command": "workbench.banner.focusPreviousAction",
"when": "bannerFocused"
},
{
"key": "left",
"command": "workbench.banner.focusPreviousAction",
"when": "bannerFocused"
},
{
"key": "ctrl+shift+y",
"command": "workbench.debug.action.toggleRepl",
"when": "workbench.panel.repl.view.active"
},
{
"key": "ctrl+k c",
"command": "workbench.files.action.compareWithClipboard"
},
{ "key": "ctrl+k d", "command": "workbench.files.action.compareWithSaved" },
{
"key": "ctrl+k e",
"command": "workbench.files.action.focusOpenEditorsView",
"when": "workbench.explorer.openEditorsView.active"
},
{
"key": "escape",
"command": "workbench.statusBar.clearFocus",
"when": "statusBarFocused"
},
{
"key": "home",
"command": "workbench.statusBar.focusFirst",
"when": "statusBarFocused"
},
{
"key": "end",
"command": "workbench.statusBar.focusLast",
"when": "statusBarFocused"
},
{
"key": "down",
"command": "workbench.statusBar.focusNext",
"when": "statusBarFocused"
},
{
"key": "right",
"command": "workbench.statusBar.focusNext",
"when": "statusBarFocused"
},
{
"key": "up",
"command": "workbench.statusBar.focusPrevious",
"when": "statusBarFocused"
},
{
"key": "left",
"command": "workbench.statusBar.focusPrevious",
"when": "statusBarFocused"
},
{
"key": "ctrl+shift+d",
"command": "workbench.view.debug",
"when": "viewContainer.workbench.view.debug.enabled"
},
{
"key": "ctrl+shift+e",
"command": "workbench.view.explorer",
"when": "viewContainer.workbench.view.explorer.enabled"
},
{
"key": "ctrl+shift+x",
"command": "workbench.view.extensions",
"when": "viewContainer.workbench.view.extensions.enabled"
},
{
"key": "ctrl+shift+g",
"command": "workbench.view.scm",
"when": "workbench.scm.active"
},
{
"key": "ctrl+shift+f",
"command": "workbench.view.search",
"when": "workbench.view.search.active && neverMatch =~ /doesNotMatch/"
},
{
"key": "ctrl+right",
"command": "breadcrumbs.focusNextWithPicker",
"when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus"
},
{
"key": "ctrl+left",
"command": "breadcrumbs.focusPreviousWithPicker",
"when": "breadcrumbsActive && breadcrumbsVisible && listFocus && !inputFocus"
},
{
"key": "escape",
"command": "breadcrumbs.selectEditor",
"when": "breadcrumbsActive && breadcrumbsVisible"
},
{
"key": "ctrl+k down",
"command": "views.moveViewDown",
"when": "focusedView != ''"
},
{
"key": "ctrl+k left",
"command": "views.moveViewLeft",
"when": "focusedView != ''"
},
{
"key": "ctrl+k right",
"command": "views.moveViewRight",
"when": "focusedView != ''"
},
{
"key": "ctrl+k up",
"command": "views.moveViewUp",
"when": "focusedView != ''"
},
{
"key": "f6",
"command": "workbench.action.debug.pause",
"when": "debugState == 'running'"
},
{
"key": "f2",
"command": "debug.renameWatchExpression",
"when": "watchExpressionsFocused"
},
{ "key": "f2", "command": "debug.setVariable", "when": "variablesFocused" },
{
"key": "space",
"command": "debug.toggleBreakpoint",
"when": "breakpointsFocused && !inputFocus"
},
{
"key": "shift+delete",
"command": "deleteFile",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus"
},
{
"key": "delete",
"command": "deleteFile",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceMoveableToTrash && !explorerResourceReadonly && !inputFocus"
},
{
"key": "escape",
"command": "editor.closeCallHierarchy",
"when": "callHierarchyVisible && !config.editor.stablePeek"
},
{
"key": "escape",
"command": "editor.closeTypeHierarchy",
"when": "typeHierarchyVisible && !config.editor.stablePeek"
},
{
"key": "enter",
"command": "explorer.openAndPassFocus",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "escape",
"command": "filesExplorer.cancelCut",
"when": "explorerResourceCut && explorerViewletVisible && filesExplorerFocus && !inputFocus"
},
{
"key": "ctrl+c",
"command": "filesExplorer.copy",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus"
},
{
"key": "ctrl+x",
"command": "filesExplorer.cut",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "space",
"command": "filesExplorer.openFilePreserveFocus",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsFolder && !inputFocus"
},
{
"key": "ctrl+v",
"command": "filesExplorer.paste",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus"
},
{
"key": "home",
"command": "firstCompressedFolder",
"when": "explorerViewletCompressedFocus && explorerViewletVisible && filesExplorerFocus && !explorerViewletCompressedFirstFocus && !inputFocus"
},
{
"key": "end",
"command": "lastCompressedFolder",
"when": "explorerViewletCompressedFocus && explorerViewletVisible && filesExplorerFocus && !explorerViewletCompressedLastFocus && !inputFocus"
},
{
"key": "delete",
"command": "moveFileToTrash",
"when": "explorerResourceMoveableToTrash && explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus"
},
{
"key": "right",
"command": "nextCompressedFolder",
"when": "explorerViewletCompressedFocus && explorerViewletVisible && filesExplorerFocus && !explorerViewletCompressedLastFocus && !inputFocus"
},
{
"key": "left",
"command": "previousCompressedFolder",
"when": "explorerViewletCompressedFocus && explorerViewletVisible && filesExplorerFocus && !explorerViewletCompressedFirstFocus && !inputFocus"
},
{
"key": "delete",
"command": "remote.tunnel.closeInline",
"when": "tunnelCloseable && tunnelViewFocus"
},
{
"key": "ctrl+c",
"command": "remote.tunnel.copyAddressInline",
"when": "tunnelViewFocus && tunnelType == 'Detected' && tunnelViewMultiSelection == 'undefined' || tunnelViewFocus && tunnelType == 'Forwarded' && tunnelViewMultiSelection == 'undefined'"
},
{
"key": "f2",
"command": "remote.tunnel.label",
"when": "tunnelViewFocus && tunnelType == 'Forwarded' && tunnelViewMultiSelection == 'undefined'"
},
{
"key": "f2",
"command": "renameFile",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "f5",
"command": "workbench.action.debug.continue",
"when": "debugState == 'stopped'"
},
{
"key": "f11",
"command": "workbench.action.debug.stepInto",
"when": "debugState != 'inactive'"
},
{
"key": "shift+escape",
"command": "closeReferenceSearch",
"when": "referenceSearchVisible && !config.editor.stablePeek"
},
{
"key": "escape",
"command": "closeReferenceSearch",
"when": "referenceSearchVisible && !config.editor.stablePeek"
},
{
"key": "escape",
"command": "notifications.hideList",
"when": "notificationCenterVisible"
},
{
"key": "ctrl+alt+-",
"command": "workbench.action.quickInputBack",
"when": "inQuickOpen"
},
{
"key": "ctrl+tab",
"command": "workbench.action.quickOpenNavigateNextInEditorPicker",
"when": "inEditorsPicker && inQuickOpen"
},
{
"key": "ctrl+e",
"command": "workbench.action.quickOpenNavigateNextInFilePicker",
"when": "inFilesPicker && inQuickOpen"
},
{
"key": "ctrl+p",
"command": "workbench.action.quickOpenNavigateNextInFilePicker",
"when": "inFilesPicker && inQuickOpen"
},
{
"key": "ctrl+r",
"command": "workbench.action.quickOpenNavigateNextInRecentFilesPicker",
"when": "inQuickOpen && inRecentFilesPicker"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.quickOpenNavigatePreviousInEditorPicker",
"when": "inEditorsPicker && inQuickOpen"
},
{
"key": "ctrl+shift+e",
"command": "workbench.action.quickOpenNavigatePreviousInFilePicker",
"when": "inFilesPicker && inQuickOpen"
},
{
"key": "ctrl+shift+p",
"command": "workbench.action.quickOpenNavigatePreviousInFilePicker",
"when": "inFilesPicker && inQuickOpen"
},
{
"key": "ctrl+shift+r",
"command": "workbench.action.quickOpenNavigatePreviousInRecentFilesPicker",
"when": "inQuickOpen && inRecentFilesPicker"
},
{
"key": "ctrl+r",
"command": "workbench.action.reloadWindow",
"when": "isDevelopment"
},
{
"key": "ctrl+shift+f",
"command": "workbench.action.terminal.searchWorkspace",
"when": "terminalFocus && terminalProcessSupported && terminalTextSelected"
},
{
"key": "ctrl+shift+i",
"command": "workbench.action.toggleDevTools",
"when": "isDevelopment"
},
{
"key": "escape",
"command": "notifications.hideToasts",
"when": "notificationFocus && notificationToastsVisible"
},
{
"key": "f10",
"command": "extension.node-debug.startWithStopOnEntry",
"when": "!inDebugMode && debugConfigurationType == 'node' || !inDebugMode && debugConfigurationType == 'pwa-extensionHost' || !inDebugMode && debugConfigurationType == 'pwa-node'"
},
{
"key": "ctrl+k ctrl+alt+s",
"command": "git.stageSelectedRanges",
"when": "isInDiffEditor"
},
{
"key": "ctrl+shift+v",
"command": "markdown.showPreview",
"when": "!notebookEditorFocused && editorLangId == 'markdown'"
},
{
"key": "shift+alt+f12",
"command": "references-view.findReferences",
"when": "editorHasReferenceProvider"
},
{
"key": "f11",
"command": "extension.node-debug.startWithStopOnEntry",
"when": "!inDebugMode && debugConfigurationType == 'node' || !inDebugMode && debugConfigurationType == 'pwa-extensionHost' || !inDebugMode && debugConfigurationType == 'pwa-node'"
},
{
"key": "ctrl+k ctrl+n",
"command": "git.unstageSelectedRanges",
"when": "isInDiffEditor"
},
{
"key": "ctrl+k v",
"command": "markdown.showPreviewToSide",
"when": "!notebookEditorFocused && editorLangId == 'markdown'"
},
{
"key": "f4",
"command": "references-view.next",
"when": "reference-list.hasResult && references-view.canNavigate"
},
{
"key": "ctrl+k ctrl+r",
"command": "git.revertSelectedRanges",
"when": "isInDiffEditor"
},
{
"key": "shift+f4",
"command": "references-view.prev",
"when": "reference-list.hasResult && references-view.canNavigate"
},
{
"key": "shift+alt+h",
"command": "references-view.showCallHierarchy",
"when": "editorHasCallHierarchyProvider"
},
{
"key": "alt+o",
"command": "C_Cpp.SwitchHeaderSource",
"when": "editorTextFocus && editorLangId == 'c' || editorTextFocus && editorLangId == 'cpp' || editorTextFocus && editorLangId == 'cuda-cpp'"
},
{ "key": "ctrl+alt+n", "command": "code-runner.run" },
{ "key": "ctrl+alt+b", "command": "cph.runTestCases" },
{
"key": "enter",
"command": "extension.insertColonOrSemiColon",
"when": "suggestWidgetVisible && textInputFocus && config.editor.acceptSuggestionOnEnter != 'off' && editorLangId =~ /javascript|typescript|javascriptreact|typescriptreact/"
},
{
"key": "alt+l alt+c",
"command": "extension.liveServer.goOffline",
"when": "editorTextFocus"
},
{ "key": "alt+h", "command": "git.viewFileHistory" },
{
"key": "ctrl+shift+space",
"command": "issue.suggestRefresh",
"when": "suggestWidgetVisible"
},
{
"key": "shift+alt+u",
"command": "java.projectConfiguration.update",
"when": "editorFocus"
},
{
"key": "ctrl+b",
"command": "markdown.extension.editing.toggleBold",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'markdown'"
},
{ "key": "ctrl+k x", "command": "mdx-preview.commands.openPreview" },
{ "key": "alt+meta+-", "command": "peacock.darken" },
{
"key": "ctrl+alt+r",
"command": "reactSnippets.search",
"when": "editorTextFocus"
},
{
"key": "shift+alt+r",
"command": "remote-wsl.revealInExplorer",
"when": "false"
},
{
"key": "ctrl+alt+p",
"command": "svgPreview.showPreviewToSide",
"when": "resourceLangId == 'svg' || resourceLangId == 'xml'"
},
{ "key": "ctrl+alt+k", "command": "code-runner.runCustomCommand" },
{ "key": "ctrl+alt+s", "command": "cph.submitToCodeForces" },
{
"key": "alt+l alt+o",
"command": "extension.liveServer.goOnline",
"when": "editorTextFocus"
},
{
"key": "ctrl+s",
"command": "issue.createIssueFromFile",
"when": "!issues.creatingFromFile && resourceScheme == 'newIssue' && config.files.autoSave != 'off'"
},
{ "key": "shift+alt+b", "command": "java.workspace.compile" },
{
"key": "ctrl+i",
"command": "markdown.extension.editing.toggleItalic",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'markdown'"
},
{ "key": "alt+meta+=", "command": "peacock.lighten" },
{ "key": "ctrl+alt+j", "command": "code-runner.runByLanguage" },
{ "key": "ctrl+alt+d", "command": "cph.judgeView.focus" },
{
"key": "ctrl+shift+v",
"command": "java.action.clipboardPasteAction",
"when": "javaLSReady && editorLangId == 'java'"
},
{
"key": "alt+s",
"command": "markdown.extension.editing.toggleStrikethrough",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'markdown'"
},
{ "key": "ctrl+alt+m", "command": "code-runner.stop" },
{
"key": "ctrl+shift+]",
"command": "markdown.extension.editing.toggleHeadingUp",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'markdown'"
},
{
"key": "ctrl+shift+[",
"command": "markdown.extension.editing.toggleHeadingDown",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'markdown'"
},
{
"key": "ctrl+m",
"command": "markdown.extension.editing.toggleMath",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'markdown'"
},
{
"key": "enter",
"command": "markdown.extension.onEnterKey",
"when": "editorTextFocus && !editorReadonly && !suggestWidgetVisible && editorLangId == 'markdown' && vim.mode != 'CommandlineInProgress' && vim.mode != 'EasyMotionInputMode' && vim.mode != 'EasyMotionMode' && vim.mode != 'Normal' && vim.mode != 'Replace' && vim.mode != 'SearchInProgressMode' && vim.mode != 'SurroundInputMode' && vim.mode != 'Visual' && vim.mode != 'VisualBlock' && vim.mode != 'VisualLine'"
},
{
"key": "ctrl+enter",
"command": "markdown.extension.onCtrlEnterKey",
"when": "editorTextFocus && !editorReadonly && !suggestWidgetVisible && editorLangId == 'markdown'"
},
{
"key": "shift+enter",
"command": "markdown.extension.onShiftEnterKey",
"when": "editorTextFocus && !editorReadonly && !suggestWidgetVisible && editorLangId == 'markdown'"
},
{
"key": "tab",
"command": "markdown.extension.onTabKey",
"when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus && !hasOtherSuggestions && !hasSnippetCompletions && !inSnippetMode && !suggestWidgetVisible && editorLangId == 'markdown'"
},
{
"key": "shift+tab",
"command": "markdown.extension.onShiftTabKey",
"when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus && !hasOtherSuggestions && !hasSnippetCompletions && !inSnippetMode && !suggestWidgetVisible && editorLangId == 'markdown'"
},
{
"key": "backspace",
"command": "markdown.extension.onBackspaceKey",
"when": "editorTextFocus && !editorReadonly && !suggestWidgetVisible && editorLangId == 'markdown' && vim.mode != 'CommandlineInProgress' && vim.mode != 'EasyMotionInputMode' && vim.mode != 'EasyMotionMode' && vim.mode != 'Normal' && vim.mode != 'Replace' && vim.mode != 'SearchInProgressMode' && vim.mode != 'SurroundInputMode' && vim.mode != 'Visual' && vim.mode != 'VisualBlock' && vim.mode != 'VisualLine'"
},
{
"key": "alt+up",
"command": "markdown.extension.onMoveLineUp",
"when": "editorTextFocus && !editorReadonly && !suggestWidgetVisible && editorLangId == 'markdown'"
},
{
"key": "alt+down",
"command": "markdown.extension.onMoveLineDown",
"when": "editorTextFocus && !editorReadonly && !suggestWidgetVisible && editorLangId == 'markdown'"
},
{
"key": "shift+alt+up",
"command": "markdown.extension.onCopyLineUp",
"when": "editorTextFocus && !editorReadonly && !suggestWidgetVisible && editorLangId == 'markdown'"
},
{
"key": "shift+alt+down",
"command": "markdown.extension.onCopyLineDown",
"when": "editorTextFocus && !editorReadonly && !suggestWidgetVisible && editorLangId == 'markdown'"
},
{
"key": "ctrl+]",
"command": "markdown.extension.onIndentLines",
"when": "editorTextFocus && !suggestWidgetVisible && editorLangId == 'markdown'"
},
{
"key": "ctrl+[",
"command": "markdown.extension.onOutdentLines",
"when": "editorTextFocus && !suggestWidgetVisible && editorLangId == 'markdown'"
},
{
"key": "alt+c",
"command": "markdown.extension.checkTaskList",
"when": "editorTextFocus && editorLangId == 'markdown'"
},
{
"key": "ctrl+shift+v",
"command": "markdown.extension.togglePreview",
"when": "!terminalFocus"
},
{
"key": "ctrl+k v",
"command": "markdown.extension.closePreviewToSide",
"when": "markdownPreviewFocus"
},
{
"key": "ctrl+v",
"command": "markdown.extension.editing.paste",
"when": "editorHasSelection && editorTextFocus && editorLangId == 'markdown'"
}
]
Fonts
OpenTypeFont[Otf]
is better as it conatains Ligatures and Glyphs and is more advanced.
caution
Cascadia Code PL
(with Ligatures) ~otf-cascadia-code
Add ⏬ in the settings.json
for Cursive, Stylistic fonts and Italics
~/.config/Code/User/settings.json
"editor.fontLigatures": "'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'zero', 'onum', 'calt'",
Fira Code
(with Ligatures)Fira Code Flott
(with Ligatures)