Skip to content

Instantly share code, notes, and snippets.

@akbyrd
Last active June 20, 2024 21:08
Show Gist options
  • Save akbyrd/5ae70d1a634b2d2b2642843dba30d15f to your computer and use it in GitHub Desktop.
Save akbyrd/5ae70d1a634b2d2b2642843dba30d15f to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2024-06-20T21:08:41.666Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "6422dbfd-4750-4d3e-885d-a101fece74eb",
"publisherId": "akbyrd.akbyrd-vsc-extension",
"publisherDisplayName": "akbyrd"
},
"name": "akbyrd-vsc-extension",
"publisher": "akbyrd",
"version": "0.8.3"
},
{
"metadata": {
"id": "fd567a69-88b4-4fc7-9508-bfb05c2b7973",
"publisherId": "akbyrd.akbyrd-vsc-theme",
"publisherDisplayName": "akbyrd"
},
"name": "akbyrd-vsc-theme",
"publisher": "akbyrd",
"version": "1.1.1"
},
{
"metadata": {
"id": "7d17a4dd-c248-4598-af6e-3c99acfbc761",
"publisherId": "bladnman.auto-align",
"publisherDisplayName": "bladnman"
},
"name": "auto-align",
"publisher": "bladnman",
"version": "0.0.13"
},
{
"metadata": {
"id": "b689fcc8-d494-4dbf-a228-2c694a578afc",
"publisherId": "alefragnani.Bookmarks",
"publisherDisplayName": "alefragnani"
},
"name": "Bookmarks",
"publisher": "alefragnani",
"version": "13.5.0"
},
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "3.4.3"
},
{
"metadata": {
"id": "23c4aeee-f844-43cd-b53e-1113e483f1a6",
"publisherId": "GitHub.copilot",
"publisherDisplayName": "GitHub"
},
"name": "copilot",
"publisher": "GitHub",
"version": "1.205.0"
},
{
"metadata": {
"id": "7ec7d6e6-b89e-4cc5-a59b-d6c4d238246f",
"publisherId": "GitHub.copilot-chat",
"publisherDisplayName": "GitHub"
},
"name": "copilot-chat",
"publisher": "GitHub",
"version": "0.16.1"
},
{
"metadata": {
"id": "690b692e-e8a9-493f-b802-8089d50ac1b2",
"publisherId": "ms-vscode.cpptools",
"publisherDisplayName": "ms-vscode"
},
"name": "cpptools",
"publisher": "ms-vscode",
"version": "1.20.5"
},
{
"metadata": {
"id": "d0bfc4ab-1d3a-4487-8782-7cf6027b4fff",
"publisherId": "ms-dotnettools.csharp",
"publisherDisplayName": "ms-dotnettools"
},
"name": "csharp",
"publisher": "ms-dotnettools",
"version": "2.34.12"
},
{
"metadata": {
"id": "f60a60a6-95ba-42d4-b41c-3d24c1b89588",
"publisherId": "EditorConfig.EditorConfig",
"publisherDisplayName": "EditorConfig"
},
"name": "EditorConfig",
"publisher": "EditorConfig",
"version": "0.16.4"
},
{
"metadata": {
"id": "b2215d5f-675e-4a2b-b6ac-1ca737518b78",
"publisherId": "tamasfe.even-better-toml",
"publisherDisplayName": "tamasfe"
},
"name": "even-better-toml",
"publisher": "tamasfe",
"version": "0.19.2"
},
{
"metadata": {
"id": "5db78037-f674-459f-a236-db622c427c5b",
"publisherId": "PKief.material-icon-theme",
"publisherDisplayName": "PKief"
},
"name": "material-icon-theme",
"publisher": "PKief",
"version": "5.4.2"
},
{
"metadata": {
"id": "a92437f6-75af-47b2-b3e0-99764308b4be",
"publisherId": "ryuta46.multi-command",
"publisherDisplayName": "ryuta46"
},
"name": "multi-command",
"publisher": "ryuta46",
"version": "1.6.0"
},
{
"metadata": {
"id": "407e0ce8-a862-4d4a-a287-ce476f1ba21e",
"publisherId": "mjcrouch.perforce",
"publisherDisplayName": "mjcrouch"
},
"name": "perforce",
"publisher": "mjcrouch",
"version": "4.15.7"
},
{
"metadata": {
"id": "f0c5397b-d357-4197-99f0-cb4202f22818",
"publisherId": "ms-vscode-remote.remote-wsl",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "remote-wsl",
"publisher": "ms-vscode-remote",
"version": "0.88.2"
},
{
"metadata": {
"id": "b24a13f5-4e50-4d9a-ab0a-87f47d9fdfcb",
"publisherId": "stkb.rewrap",
"publisherDisplayName": "stkb"
},
"name": "rewrap",
"publisher": "stkb",
"version": "1.16.3"
},
{
"metadata": {
"id": "1aab81a1-b3d9-4aef-976b-577d5d90fe3f",
"publisherId": "ms-dotnettools.vscode-dotnet-runtime",
"publisherDisplayName": "ms-dotnettools"
},
"name": "vscode-dotnet-runtime",
"publisher": "ms-dotnettools",
"version": "2.0.6"
},
{
"metadata": {
"id": "5471fe3e-315b-4c05-b41e-8bb493227c2e",
"publisherId": "fabiospampinato.vscode-highlight",
"publisherDisplayName": "fabiospampinato"
},
"name": "vscode-highlight",
"publisher": "fabiospampinato",
"version": "1.9.0"
},
{
"metadata": {
"id": "d6c6d30c-10a6-42fe-85ec-41dcb313349d",
"publisherId": "mrmlnc.vscode-json5",
"publisherDisplayName": "mrmlnc"
},
"name": "vscode-json5",
"publisher": "mrmlnc",
"version": "1.0.0"
},
{
"metadata": {
"id": "6703768d-d42f-474e-9f6e-5f288d53f6e8",
"publisherId": "redhat.vscode-xml",
"publisherDisplayName": "redhat"
},
"name": "vscode-xml",
"publisher": "redhat",
"version": "0.27.1"
}
]
[
// References
// https://code.visualstudio.com/api/references/when-clause-contexts#available-contexts
// https://code.visualstudio.com/api/references/commands
// Tools
// Developer: Inspect Context Keys (logs to developer console)
// Developer: Toggle Keyboard Shortcuts Troubleshooting (logs to output view)
// Disable Stuff
{ "key": "ctrl+m", "command": "-editor.action.toggleTabFocusMode" },
{ "key": "ctrl+shift+.", "command": "-breadcrumbs.toggleToOn", "when" : "!config.breadcrumbs.enabled" },
{ "key": "ctrl+shift+-", "command": "-workbench.action.zoomOut" },
{ "key": "ctrl+shift+=", "command": "-workbench.action.zoomIn" },
{ "key": "ctrl+w", "command": "-workbench.action.closeWindow" },
{ "key": "shift+up", "command": "-list.expandSelectionUp", "when": "listFocus && listSupportsMultiselect && !inputFocus" },
{ "key": "shift+down", "command": "-list.expandSelectionDown", "when": "listFocus && listSupportsMultiselect && !inputFocus" },
{ "key": "alt+right", "command": "-workbench.action.navigateForward", "when": "canNavigateForward" },
{ "key": "alt+left", "command": "-workbench.action.navigateBack", "when": "canNavigateBack" },
{ "key": "ctrl+j", "command": "-workbench.action.togglePanel" },
{ "key": "ctrl+enter", "command": "-github.copilot.generate", "when": "editorTextFocus && github.copilot.activated && !inInteractiveInput && !interactiveEditorFocused" },
{ "key": "escape", "command": "-search.action.focusQueryEditorWidget", "when": "inSearchEditor" },
// Cursor Movement
{ "key": "alt+left", "command": "cursorWordPartLeft", "when": "editorTextFocus" },
{ "key": "alt+right", "command": "cursorWordPartRight", "when": "editorTextFocus" },
{ "key": "shift+alt+left", "command": "cursorWordPartLeftSelect", "when": "editorTextFocus" },
{ "key": "shift+alt+right", "command": "cursorWordPartRightSelect", "when": "editorTextFocus" },
{ "key": "ctrl+up", "command": "akbyrd.editor.cursorMoveTo.blankLine.prev.center", "when": "editorTextFocus" },
{ "key": "ctrl+down", "command": "akbyrd.editor.cursorMoveTo.blankLine.next.center", "when": "editorTextFocus" },
{ "key": "ctrl+shift+up", "command": "akbyrd.editor.cursorSelectTo.blankLine.prev.center", "when": "editorTextFocus" },
{ "key": "ctrl+shift+down", "command": "akbyrd.editor.cursorSelectTo.blankLine.next.center", "when": "editorTextFocus" },
{ "key": "alt+up", "command": "cursorColumnSelectUp", "when": "editorTextFocus" },
{ "key": "alt+down", "command": "cursorColumnSelectDown", "when": "editorTextFocus" },
{ "key": "shift+alt+up", "command": "editor.action.insertCursorAbove", "when": "editorTextFocus" },
{ "key": "shift+alt+down", "command": "editor.action.insertCursorBelow", "when": "editorTextFocus" },
{ "key": "ctrl+alt+up", "command": "akbyrd.editor.cursorMoveTo.symbol.prev", "when": "editorTextFocus" },
{ "key": "ctrl+alt+down", "command": "akbyrd.editor.cursorMoveTo.symbol.next", "when": "editorTextFocus" },
{ "key": "ctrl+alt+left", "command": "akbyrd.editor.cursorMoveTo.symbol.prnt", "when": "editorTextFocus" },
{ "key": "ctrl+alt+right", "command": "akbyrd.editor.cursorMoveTo.symbol.chld", "when": "editorTextFocus" },
{ "key": "ctrl+shift+alt+up", "command": "akbyrd.editor.cursorSelectTo.symbol.prev", "when": "editorTextFocus" },
{ "key": "ctrl+shift+alt+down", "command": "akbyrd.editor.cursorSelectTo.symbol.next", "when": "editorTextFocus" },
{ "key": "ctrl+shift+alt+left", "command": "akbyrd.editor.cursorSelectTo.symbol.prnt", "when": "editorTextFocus" },
{ "key": "ctrl+shift+alt+right", "command": "akbyrd.editor.cursorSelectTo.symbol.chld", "when": "editorTextFocus" },
{ "key": "shift+alt+home", "command": "editor.action.smartSelect.shrink", "when": "editorTextFocus" },
{ "key": "shift+alt+end", "command": "editor.action.smartSelect.expand", "when": "editorTextFocus" },
{ "key": "alt+;", "command": "editor.action.focusPreviousCursor", "when": "editorTextFocus" },
{ "key": "alt+'", "command": "editor.action.focusNextCursor", "when": "editorTextFocus" },
{ "key": "ctrl+;", "command": "editor.action.jumpToBracket", "when": "editorTextFocus" },
{ "key": "ctrl+shift+;", "command": "editor.action.selectToBracket", "when": "editorTextFocus" },
// Editor Tabs
{ "key": "ctrl+pageup", "command": "workbench.action.previousEditorInGroup" },
{ "key": "ctrl+pagedown", "command": "workbench.action.nextEditorInGroup" },
{ "key": "ctrl+shift+pageup", "command": "workbench.action.focusPreviousGroup" },
{ "key": "ctrl+shift+pagedown", "command": "workbench.action.focusNextGroup" },
{ "key": "alt+pageup", "command": "workbench.action.moveEditorLeftInGroup" },
{ "key": "alt+pagedown", "command": "workbench.action.moveEditorRightInGroup" },
{ "key": "alt+pagedown", "command": "workbench.action.unpinEditor", "when": "activeEditorIsLastInGroup" },
{ "key": "shift+alt+pageup", "command": "workbench.action.moveEditorToLeftGroup", "when": "activeEditorGroupIndex == 1" },
{ "key": "shift+alt+pageup", "command": "workbench.action.moveEditorToPreviousGroup", "when": "activeEditorGroupIndex != 1" },
{ "key": "shift+alt+pagedown", "command": "workbench.action.moveEditorToNextGroup" },
{ "key": "ctrl+shift+alt+pageup", "command": "workbench.action.moveActiveEditorGroupLeft" },
{ "key": "ctrl+shift+alt+pagedown", "command": "workbench.action.moveActiveEditorGroupRight" },
{ "key": "alt+/", "command": "workbench.action.pinEditor", "when": "activeEditor && !focusedView && !activeEditorIsPinned" },
{ "key": "alt+/", "command": "workbench.action.unpinEditor", "when": "activeEditor && !focusedView && activeEditorIsPinned" },
{ "key": "alt+b", "command": "workbench.action.toggleCenteredLayout", "when": "!focusedView && !multipleEditorGroups" },
{ "key": "alt+b", "command": "workbench.action.toggleMaximizeEditorGroup", "when": "!focusedView && multipleEditorGroups" },
{ "key": "alt+n", "command": "workbench.action.toggleMaximizedPanel" },
// Navigation
{ "key": "ctrl+alt+pageup", "command": "editorScroll", "when": "editorTextFocus", "args": { "to": "up", "by": "wrappedLine", "value": 20 } },
{ "key": "ctrl+alt+pagedown", "command": "editorScroll", "when": "editorTextFocus", "args": { "to": "down", "by": "wrappedLine", "value": 20 } },
{ "key": "ctrl+alt+pageup", "command": "list.scrollUp", "when": "listFocus" },
{ "key": "ctrl+alt+pagedown", "command": "list.scrollDown", "when": "listFocus" },
{ "key": "escape", "command": "workbench.action.focusActiveEditorGroup", "when": "(!activeEditor || focusedView) && !treeFindOpen && !terminalFocus && !terminalFindFocused" },
{ "key": "escape", "command": "noop", "when": "focusedView == 'workbench.explorer.fileView'" },
{ "key": "ctrl+-", "command": "workbench.action.navigateBack" },
{ "key": "ctrl+=", "command": "workbench.action.navigateForward" },
{ "key": "ctrl+shift+-", "command": "workbench.action.navigateBackInEditLocations" },
{ "key": "ctrl+shift+=", "command": "workbench.action.navigateForwardInEditLocations" },
{ "key": "shift+alt+[", "command": "akbyrd.editor.fold.definitions.exceptSelected", "when": "editorTextFocus" },
{ "key": "shift+alt+]", "command": "editor.unfoldAll", "when": "editorTextFocus" },
{ "key": "ctrl+[", "command": "editor.foldRecursively", "when": "editorTextFocus" },
{ "key": "ctrl+]", "command": "editor.unfoldRecursively", "when": "editorTextFocus" },
{ "key": "alt+[", "command": "akbyrd.editor.fold.definitions", "when": "editorTextFocus" },
{ "key": "alt+]", "command": "editor.unfoldAll", "when": "editorTextFocus" },
{ "key": "ctrl+/", "command": "akbyrd.editor.scrollTo.cursor", "when": "editorTextFocus" },
{ "key": "ctrl+q", "command": "editor.action.quickFix", "when": "editorTextFocus" },
{ "key": "ctrl+e", "command": "workbench.action.focusActiveEditorGroup", "when": "!panelMaximized" },
{ "key": "ctrl+e", "command": "workbench.action.togglePanel", "when": "panelMaximized" },
{ "key": "ctrl+u", "command": "workbench.action.gotoLine" },
{ "key": "ctrl+i", "command": "workbench.action.gotoSymbol" },
{ "key": "ctrl+o", "command": "workbench.action.showAllSymbols" },
{ "key": "ctrl+j", "command": "editor.action.revealDeclaration", "when": "editorTextFocus" },
{ "key": "ctrl+k", "command": "editor.action.revealDefinition", "when": "editorTextFocus" },
{ "key": "ctrl+shift+r", "command": "workbench.action.openRecent" },
{ "key": "ctrl+shift+/", "command": "revealFileInOS" },
// Editing
{ "key": "alt+backspace", "command": "deleteWordPartLeft", "when": "editorTextFocus" },
{ "key": "alt+delete", "command": "deleteWordPartRight", "when": "editorTextFocus" },
{ "key": "shift+alt+backspace", "command": "akbyrd.editor.deleteChunk.prev", "when": "editorTextFocus" },
{ "key": "shift+alt+delete", "command": "akbyrd.editor.deleteChunk.next", "when": "editorTextFocus" },
{ "key": "ctrl+shift+alt+backspace", "command": "akbyrd.editor.deleteSymbol.prev", "when": "editorTextFocus" }, // TODO: Do these still exist?
{ "key": "ctrl+shift+alt+delete", "command": "akbyrd.editor.deleteSymbol.next", "when": "editorTextFocus" }, // TODO: Do these still exist?
{ "key": "ctrl+shift+backspace", "command": "akbyrd.editor.deleteLine.prev", "when": "editorTextFocus" },
{ "key": "ctrl+shift+delete", "command": "akbyrd.editor.deleteLine.next", "when": "editorTextFocus" },
{ "key": "ctrl+tab", "command": "editor.action.indentLines", "when": "editorTextFocus" },
{ "key": "alt+home", "command": "editor.action.moveLinesUpAction", "when": "editorTextFocus" },
{ "key": "alt+end", "command": "editor.action.moveLinesDownAction", "when": "editorTextFocus" },
{ "key": "alt+a", "command": "editor.action.commentLine", "when": "editorTextFocus && !editorHasSelection" },
{ "key": "alt+a", "command": "editor.action.blockComment", "when": "editorTextFocus && editorHasSelection" },
{ "key": "alt+s", "command": "rewrap.rewrapComment", "when": "editorTextFocus" },
{ "key": "alt+d", "command": "editor.action.formatSelection", "when": "editorTextFocus" },
{ "key": "alt+l", "command": "editor.action.deleteLines", "when": "editorTextFocus" },
{ "key": "alt+,", "command": "editor.action.inPlaceReplace.up", "when": "editorTextFocus" },
{ "key": "alt+.", "command": "editor.action.inPlaceReplace.down", "when": "editorTextFocus" },
// Lists
{ "key": "ctrl+shift+left", "command": "custom.list.collapseAll", "when": "listFocus && !inputFocus" },
{ "key": "ctrl+shift+right", "command": "list.expand", "when": "listFocus && !inputFocus" },
{ "key": "ctrl+left", "command": "list.focusParent", "when": "listFocus && !inputFocus && !treeElementCanCollapse" },
{ "key": "ctrl+left", "command": "list.collapseAllToFocus", "when": "listFocus && !inputFocus && treeElementCanCollapse" },
{ "key": "ctrl+right", "command": "list.expand", "when": "listFocus && !inputFocus" },
{ "key": "space", "command": "list.toggleSelection", "when": "listFocus && !inputFocus" },
{ "key": "escape", "command": "list.clear", "when": "listFocus && !inputFocus && listMultiSelection" },
// Find - Local
{ "key": "alt+enter", "command": "editor.action.selectAllMatches", "when": "findInputFocussed || replaceInputFocussed" },
{ "key": "alt+enter", "command": "editor.action.selectHighlights", "when": "editorFocus" },
{ "key": "alt+q", "command": "toggleFindCaseSensitive", "when": "editorFocus" },
{ "key": "alt+e", "command": "toggleFindRegex", "when": "editorFocus" },
{ "key": "alt+r", "command": "editor.action.replaceOne", "when": "editorFocus && findWidgetVisible" },
{ "key": "alt+r", "command": "editor.action.startFindReplaceAction", "when": "editorFocus && !findWidgetVisible" },
{ "key": "alt+-", "command": "editor.action.previousSelectionMatchFindAction", "when": "editorFocus" },
{ "key": "alt+=", "command": "editor.action.nextSelectionMatchFindAction", "when": "editorFocus" },
{ "key": "up", "command": "editor.action.previousSelectionMatchFindAction", "when": "findInputFocussed || replaceInputFocussed" },
{ "key": "down", "command": "editor.action.nextSelectionMatchFindAction", "when": "findInputFocussed || replaceInputFocussed" },
//{ "key": "tab", "command": "noop", "when": "replaceInputFocussed" },
// Find - Terminal
{ "key": "alt+q", "command": "workbench.action.terminal.toggleFindCaseSensitive", "when": "terminalFindFocused || terminalFocus" },
{ "key": "alt+e", "command": "workbench.action.terminal.toggleFindRegex", "when": "terminalFindFocused || terminalFocus" },
{ "key": "alt+-", "command": "workbench.action.terminal.findPrevious", "when": "terminalFindFocused || terminalFocus" },
{ "key": "alt+=", "command": "workbench.action.terminal.findNext", "when": "terminalFindFocused || terminalFocus" },
{ "key": "up", "command": "workbench.action.terminal.findPrevious", "when": "terminalFindFocused" },
{ "key": "down", "command": "workbench.action.terminal.findNext", "when": "terminalFindFocused" },
// Find - Global
{ "key": "alt+q", "command": "toggleSearchCaseSensitive", "when": "searchViewletFocus" },
{ "key": "alt+e", "command": "toggleSearchRegex", "when": "searchViewletFocus" },
{ "key": "alt+r", "command": "search.action.replace", "when": "searchViewletFocus" },
{ "key": "alt+-", "command": "search.action.focusPreviousSearchResult", "when": "searchViewletVisible && !findWidgetVisible" },
{ "key": "alt+=", "command": "search.action.focusNextSearchResult", "when": "searchViewletVisible && !findWidgetVisible" },
{ "key": "ctrl+up", "command": "workbench.action.findInFiles", "when": "searchViewletFocus && !inputFocus && !replaceActive" },
{ "key": "ctrl+up", "command": "workbench.action.replaceInFiles", "when": "searchViewletFocus && !inputFocus && replaceActive" },
{ "key": "ctrl+down", "command": "search.action.focusSearchList", "when": "searchViewletFocus && inputBoxFocus" },
{ "key": "up", "command": "search.focus.previousInputBox", "when": "searchViewletFocus && inputBoxFocus" },
{ "key": "down", "command": "search.focus.nextInputBox", "when": "searchViewletFocus && inputBoxFocus" },
{ "key": "up", "command": "search.focus.previousInputBox", "when": "searchViewletFocus && firstMatchFocus" },
{ "key": "ctrl+shift+left", "command": "search.action.collapseSearchResults", "when": "searchViewletFocus && !inputFocus" },
{ "key": "ctrl+shift+right", "command": "search.action.expandSearchResults", "when": "searchViewletFocus && !inputFocus" },
// Find - Editor
// TODO: Bindings for search editors
// References View - General
{ "key": "ctrl+shift+l", "command": "workbench.view.extension.references-view", "when": "reference-list.isActive" },
{ "key": "ctrl+r", "command": "references-view.refresh", "when": "focusedView == 'references-view.tree'" },
{ "key": "alt+-", "command": "references-view.prev", "when": "activeViewlet == 'workbench.view.extension.references-view' && reference-list.hasResult && references-view.canNavigate" },
{ "key": "alt+=", "command": "references-view.next", "when": "activeViewlet == 'workbench.view.extension.references-view' && reference-list.hasResult && references-view.canNavigate" },
{ "key": "alt+o", "command": "references-view.pickFromHistory" },
// References View - References
{ "key": "alt+t", "command": "references-view.findReferences", "when": "editorTextFocus" },
{ "key": "delete", "command": "references-view.removeReferenceItem", "when": "focusedView == 'references-view.tree' && reference-list.source == 'vscode.executeReferenceProvider'" },
{ "key": "ctrl+up", "command": "references-view.tree.focus", "when": "focusedView == 'CppReferencesView' && reference-list.source == 'vscode.executeReferenceProvider'" },
{ "key": "ctrl+down", "command": "CppReferencesView.focus", "when": "focusedView == 'references-view.tree' && reference-list.source == 'vscode.executeReferenceProvider'" },
// References View - Implementations
{ "key": "alt+y", "command": "references-view.findImplementations", "when": "editorTextFocus" },
{ "key": "delete", "command": "references-view.removeReferenceItem", "when": "focusedView == 'references-view.tree' && reference-list.source == 'vscode.executeImplmentationProvider'" },
// References View - Call Hierarchy
{ "key": "alt+u", "command": "references-view.showCallHierarchy", "when": "editorTextFocus" },
{ "key": "delete", "command": "references-view.removeCallItem", "when": "focusedView == 'references-view.tree' && reference-list.source == 'callHierarchy'" },
{ "key": "ctrl+pageup", "command": "references-view.showIncomingCalls", "when": "focusedView == 'references-view.tree' && reference-list.source == 'callHierarchy' && references-view.callHierarchyMode == 'showOutgoing'" },
{ "key": "ctrl+pagedown", "command": "references-view.showOutgoingCalls", "when": "focusedView == 'references-view.tree' && reference-list.source == 'callHierarchy' && references-view.callHierarchyMode == 'showIncoming'" },
// References View - Type Hierarchy
{ "key": "alt+i", "command": "references-view.showTypeHierarchy", "when": "editorTextFocus" },
{ "key": "delete", "command": "references-view.removeTypeItem", "when": "focusedView == 'references-view.tree' && reference-list.source == 'typeHierarchy'" },
{ "key": "ctrl+pageup", "command": "references-view.showSupertypes", "when": "focusedView == 'references-view.tree' && reference-list.source == 'typeHierarchy' && references-view.typeHierarchyMode == 'subtypes'" },
{ "key": "ctrl+pagedown", "command": "references-view.showSubtypes", "when": "focusedView == 'references-view.tree' && reference-list.source == 'typeHierarchy' && references-view.typeHierarchyMode == 'supertypes'" },
// TODO: Can't find a binding for ctrl+down to go to results
// TODO: Lock the search editor to prevent editing (undo/redo is fucked)
// Find - Editor
{ "key": "ctrl+shift+f", "command": "search.action.focusQueryEditorWidget", "when": "inSearchEditor" },
{ "key": "alt+w", "command": "toggleSearchEditorCaseSensitive", "when": "inSearchEditor && searchInputBoxFocus" },
{ "key": "alt+e", "command": "toggleSearchEditorRegex", "when": "inSearchEditor && searchInputBoxFocus" },
{ "key": "up", "command": "noop", "when": "inSearchEditor && !editorFocus && searchInputBoxFocus" },
{ "key": "up", "command": "search.focus.previousInputBox", "when": "inSearchEditor && !editorFocus && !searchInputBoxFocus" },
{ "key": "down", "command": "search.focus.nextInputBox", "when": "inSearchEditor && !editorFocus" },
{ "key": "ctrl+up", "command": "noop", "when": "inSearchEditor && !editorFocus" },
//{ "key": "ctrl+down", "command": "search.action.focusSearchList", "when": "inSearchEditor && !editorFocus" },
{ "key": "ctrl+up", "command": "search.action.focusFilesToExclude", "when": "inSearchEditor && editorFocus" },
{ "key": "up", "command": "search.action.focusPreviousSearchResult", "when": "inSearchEditor && editorFocus" },
{ "key": "down", "command": "search.action.focusNextSearchResult", "when": "inSearchEditor && editorFocus" },
{ "key": "enter", "command": "editor.action.revealDefinition", "when": "inSearchEditor && editorFocus" },
// Bookmarks
{ "key": "ctrl+shift+k", "command": "workbench.view.extension.bookmarks" },
{ "key": "alt+k", "command": "bookmarks.toggle", "when": "editorTextFocus" },
{ "key": "alt+-", "command": "bookmarks.jumpToNext", "when": "editorTextFocus && view.bookmarksExplorer.visible" },
{ "key": "alt+=", "command": "bookmarks.jumpToPrevious", "when": "editorTextFocus && view.bookmarksExplorer.visible" },
// Sidebar Toggling
{ "key": "ctrl+shift+d", "command": "workbench.action.toggleSidebarVisibility", "when": "sideBarFocus && activeViewlet == 'workbench.view.debug'" },
{ "key": "ctrl+shift+e", "command": "workbench.action.toggleSidebarVisibility", "when": "sideBarFocus && activeViewlet == 'workbench.view.explorer'" },
{ "key": "ctrl+shift+f", "command": "workbench.action.toggleSidebarVisibility", "when": "sideBarFocus && searchInputBoxFocus && !replaceActive" },
{ "key": "ctrl+shift+h", "command": "workbench.action.toggleSidebarVisibility", "when": "sideBarFocus && searchInputBoxFocus && replaceActive" },
{ "key": "ctrl+shift+g", "command": "workbench.action.toggleSidebarVisibility", "when": "sideBarFocus && activeViewlet == 'workbench.view.scm'" },
{ "key": "ctrl+shift+k", "command": "workbench.action.toggleSidebarVisibility", "when": "sideBarFocus && activeViewlet == 'workbench.view.extension.bookmarks'" },
{ "key": "ctrl+shift+l", "command": "workbench.action.toggleSidebarVisibility", "when": "sideBarFocus && activeViewlet == 'workbench.view.extension.references-view'" },
{ "key": "ctrl+shift+x", "command": "workbench.action.toggleSidebarVisibility", "when": "sideBarFocus && activeViewlet == 'workbench.view.extensions' && inputFocus" },
// File Explorer
{ "key": "ctrl+n", "command": "explorer.newFile", "when": "filesExplorerFocus" },
{ "key": "ctrl+shift+n", "command": "explorer.newFolder", "when": "filesExplorerFocus" },
{ "key": "ctrl+/", "command": "workbench.files.action.showActiveFileInExplorer", "when": "filesExplorerFocus && !inputFocus" },
{ "key": "ctrl+down", "command": "outline.focus", "when": "!inputFocus && filesExplorerFocus" },
{ "key": "ctrl+up", "command": "workbench.explorer.fileView.focus", "when": "!inputFocus && focusedView == 'outline'" },
{ "key": "ctrl+down", "command": "timeline.focus", "when": "!inputFocus && focusedView == 'outline'" },
{ "key": "ctrl+up", "command": "outline.focus", "when": "!inputFocus && focusedView == 'timeline'" },
// Panel Toggling
{ "key": "ctrl+g", "command": "workbench.action.togglePanel" },
{ "key": "ctrl+shift+y", "command": "workbench.actions.view.problems" },
{ "key": "ctrl+shift+i", "command": "workbench.debug.action.toggleRepl" },
{ "key": "ctrl+shift+o", "command": "workbench.action.terminal.toggleTerminal" },
// Problems
{ "key": "alt+-", "command": "editor.action.marker.prev", "when": "view.workbench.panel.markers.view.visible"},
{ "key": "alt+=", "command": "editor.action.marker.next", "when": "view.workbench.panel.markers.view.visible"},
{ "key": "ctrl+alt+-", "command": "editor.action.marker.prevInFiles", "when": "view.workbench.panel.markers.view.visible"},
{ "key": "ctrl+alt+=", "command": "editor.action.marker.nextInFiles", "when": "view.workbench.panel.markers.view.visible"},
// Terminal
{ "key": "ctrl+backspace", "command": "workbench.action.terminal.sendSequence", "when": "terminalFocus", "args": { "text": "\u001b[1;6D\u007f" } },
{ "key": "ctrl+delete", "command": "workbench.action.terminal.sendSequence", "when": "terminalFocus", "args": { "text": "\u001b[1;6C\u007f" } },
{ "key": "ctrl+\\", "command": "workbench.action.terminal.split", "when": "terminalFocus" },
{ "key": "ctrl+/", "command": "workbench.action.terminal.scrollToBottom", "when": "terminalFocus" },
{ "key": "pagedown", "command": "workbench.action.terminal.scrollDownPage", "when": "terminalFocus" },
{ "key": "pageup", "command": "workbench.action.terminal.scrollUpPage", "when": "terminalFocus" },
{ "key": "ctrl+shift+a", "command": "workbench.action.terminal.selectAll", "when": "terminalFocus" },
{ "key": "alt+down", "command": "noop", "when": "terminalFocus" },
{ "key": "alt+right", "command": "noop", "when": "terminalFocus" },
{ "key": "alt+up", "command": "noop", "when": "terminalFocus" },
{ "key": "alt+left", "command": "noop", "when": "terminalFocus" },
//{ "key": "shift+alt+,", "command": "Edit-Profile", "when": "terminalFocus" },
//{ "key": "shift+alt+.", "command": "Reload-Profile", "when": "terminalFocus" },
//{ "key": "shift+alt+/", "command": "Edit-Theme", "when": "terminalFocus" },
// Terminal Editor Only
{ "key": "ctrl+shift+\\", "command": "workbench.action.createTerminalEditor" },
{ "key": "ctrl+w", "command": "workbench.action.terminal.killEditor", "when": "terminalFocus && !panelFocus" },
{ "key": "alt+\\", "command": "workbench.action.terminal.moveToTerminalPanel", "when": "terminalFocus && !panelFocus" },
{ "key": "alt+/", "command": "workbench.action.pinEditor", "when": "terminalFocus && !panelFocus && !activeEditorIsPinned" },
{ "key": "alt+/", "command": "workbench.action.unpinEditor", "when": "terminalFocus && !panelFocus && activeEditorIsPinned" },
// Terminal Panel Only
{ "key": "ctrl+n", "command": "workbench.action.terminal.new", "when": "terminalFocus && panelFocus" },
{ "key": "ctrl+w", "command": "workbench.action.terminal.kill", "when": "terminalFocus && panelFocus" },
{ "key": "alt+\\", "command": "workbench.action.terminal.moveToEditor", "when": "terminalFocus && panelFocus" },
{ "key": "ctrl+pageup", "command": "workbench.action.terminal.focusPreviousPane", "when": "terminalFocus && panelFocus" },
{ "key": "ctrl+pagedown", "command": "workbench.action.terminal.focusNextPane", "when": "terminalFocus && panelFocus" },
{ "key": "ctrl+shift+pageup", "command": "workbench.action.terminal.focusPrevious", "when": "terminalFocus && panelFocus" },
{ "key": "ctrl+shift+pagedown", "command": "workbench.action.terminal.focusNext", "when": "terminalFocus && panelFocus" },
// Utility Windows
{ "key": "ctrl+alt+[", "command": "workbench.action.openGlobalKeybindingsFile" },
{ "key": "ctrl+alt+]", "command": "workbench.action.openDefaultKeybindingsFile" },
{ "key": "ctrl+alt+\\", "command": "workbench.action.openGlobalKeybindings" },
{ "key": "ctrl+alt+,", "command": "workbench.action.openSettingsJson" },
{ "key": "ctrl+alt+.", "command": "workbench.action.openRawDefaultSettings" },
{ "key": "ctrl+alt+/", "command": "workbench.action.openGlobalSettings" },
{ "key": "ctrl+alt+f12", "command": "workbench.action.toggleDevTools" },
{ "key": "ctrl+`", "command": "workbench.action.inspectContextKeys" },
{ "key": "ctrl+shift+c", "command": "keybindings.editor.copyCommandKeybindingEntry", "when": "inKeybindings" },
// Debugging
{ "key": "shift+alt+q", "command": "debug.jumpToCursor", },
{ "key": "shift+alt+w", "command": "workbench.action.debug.stepBack", },
{ "key": "shift+alt+e", "command": "editor.debug.action.runToCursor", },
{ "key": "shift+alt+r", "command": "workbench.action.debug.reverseContinue", },
{ "key": "shift+alt+a", "command": "workbench.action.debug.stepOut", },
{ "key": "shift+alt+s", "command": "workbench.action.debug.stepOver", },
{ "key": "shift+alt+d", "command": "workbench.action.debug.stepInto", },
{ "key": "shift+alt+f", "command": "workbench.action.debug.continue", },
{ "key": "shift+alt+t", "command": "editor.debug.action.toggleBreakpoint", },
{ "key": "shift+alt+y", "command": "editor.debug.action.conditionalBreakpoint", },
//{ "key": "shift+alt+u", "command": "", }, // Tracepoint
//{ "key": "shift+alt+i", "command": "", }, // Data breakpoint
//{ "key": "shift+alt+o", "command": "", }, // Temporary breakpoint
//{ "key": "shift+alt+p", "command": "", }, // Dependent breakpoint
{ "key": "shift+alt+g", "command": "debug.enableOrDisableBreakpoint", },
{ "key": "shift+alt+h", "command": "editor.debug.action.editBreakpoint", }, // Edit Action
//{ "key": "shift+alt+j", "command": "", }, // Edit Condition
{ "key": "shift+alt+k", "command": "editor.debug.action.goToPrevousBreakpoint", },
{ "key": "shift+alt+l", "command": "editor.debug.action.goToNextBreakpoint", },
{ "key": "shift+alt+;", "command": "", }, // Freeze threads except this
{ "key": "shift+alt+'", "command": "", }, // Unfreeze threads
// Tasks
{ "key": "ctrl+alt+t", "command": "workbench.action.tasks.runTask", "args": "vcs" },
{ "key": "ctrl+alt+y", "command": "workbench.action.tasks.runTask", "args": "generate-solution" },
{ "key": "ctrl+alt+u", "command": "workbench.action.tasks.runTask", "args": "build-file" },
{ "key": "ctrl+alt+i", "command": "workbench.action.tasks.runTask", "args": "build-project" },
{ "key": "ctrl+alt+o", "command": "workbench.action.tasks.runTask", "args": "build-solution" },
{ "key": "ctrl+alt+h", "command": "workbench.action.tasks.runTask", "args": "rebuild-file" },
{ "key": "ctrl+alt+j", "command": "workbench.action.tasks.runTask", "args": "rebuild-project" },
{ "key": "ctrl+alt+k", "command": "workbench.action.tasks.runTask", "args": "rebuild-solution" },
{ "key": "ctrl+alt+b", "command": "workbench.action.tasks.runTask", "args": "clean-file" },
{ "key": "ctrl+alt+n", "command": "workbench.action.tasks.runTask", "args": "clean-project" },
{ "key": "ctrl+alt+m", "command": "workbench.action.tasks.runTask", "args": "clean-solution" },
{ "key": "ctrl+alt+q", "command": "workbench.action.tasks.runTask", "args": "test-file" },
{ "key": "ctrl+alt+w", "command": "workbench.action.tasks.runTask", "args": "test-project" },
{ "key": "ctrl+alt+e", "command": "workbench.action.tasks.runTask", "args": "test-solution" },
{ "key": "ctrl+alt+a", "command": "workbench.action.tasks.runTask", "args": "profile-file" },
{ "key": "ctrl+alt+s", "command": "workbench.action.tasks.runTask", "args": "profile-project" },
{ "key": "ctrl+alt+d", "command": "workbench.action.tasks.runTask", "args": "profile-solution" },
{ "key": "ctrl+alt+z", "command": "workbench.action.tasks.runTask", "args": "profile-build-file" },
{ "key": "ctrl+alt+x", "command": "workbench.action.tasks.runTask", "args": "profile-build-project" },
{ "key": "ctrl+alt+c", "command": "workbench.action.tasks.runTask", "args": "profile-build-solution" },
{
"key": "noop",
"command": "noop"
},
]
{
// TODO: Ctrl+Shift+[] doesn't work on template line of template functions
// TODO: Ctrl+Shift+[] doesn't work in disable preprocessor branches when symbols are available but folding regions are not
// -- Built In --------------------------------------------------------------
"breadcrumbs.enabled": false,
"debug.console.wordWrap": false,
"debug.onTaskErrors": "showErrors",
"debug.openDebug": "neverOpen",
"debug.showInStatusBar": "always",
"debug.toolBarLocation": "hidden",
"diffEditor.ignoreTrimWhitespace": false,
"diffEditor.renderSideBySide": true,
"editor.autoIndent": "full",
"editor.bracketPairColorization.enabled": false,
"editor.comments.insertSpace": false,
"editor.cursorBlinking": "smooth",
"editor.cursorSurroundingLines": 20,
"editor.dragAndDrop": false,
"editor.find.addExtraSpaceOnTop": false,
"editor.fontLigatures": "'case'",
"editor.gotoLocation.alternativeDeclarationCommand": "",
"editor.gotoLocation.alternativeDefinitionCommand": "",
"editor.gotoLocation.alternativeTypeDefinitionCommand": "",
"editor.guides.indentation": false,
"editor.foldingHighlight": false,
"editor.inlayHints.enabled": "offUnlessPressed",
"editor.insertSpaces": false,
"editor.inlayHints.fontSize": 12,
"editor.linkedEditing": true,
"editor.minimap.enabled": false,
"editor.mouseWheelScrollSensitivity": 4,
"editor.occurrencesHighlight": "off",
"editor.overviewRulerBorder": false,
"editor.quickSuggestionsDelay": 0,
"editor.quickSuggestions": { "other": "inline" },
"editor.renderControlCharacters": true,
"editor.renderLineHighlight": "all",
"editor.renderWhitespace": "all",
"editor.roundedSelection": false,
"editor.rulers": [ 100, 120 ],
"editor.scrollBeyondLastColumn": 0,
"editor.scrollBeyondLastLine": false,
"editor.smoothScrolling": true,
"editor.snippetSuggestions": "none",
"editor.stickyScroll.enabled": true,
"editor.suggest.filterGraceful": false,
"editor.suggest.insertMode": "insert", // TODO: Ensure this replaces the C++ setting
"editor.suggest.showKeywords": false,
"editor.suggest.showWords": false,
"editor.suggest.showSnippets": false,
"editor.suggestSelection": "recentlyUsedByPrefix",
"editor.tabSize": 3,
"editor.tabCompletion": "onlySnippets",
"editor.wrappingIndent": "deepIndent",
"editor.wordBasedSuggestions": "currentDocument",
"explorer.autoReveal": false,
"explorer.openEditors.visible": 1,
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.expand": false,
"extensions.ignoreRecommendations": true,
"files.associations": {
"*.vs": "hlsl",
"*.ps": "hlsl",
"*.vssettings": "xml",
},
"files.defaultLanguage": "plaintext",
"files.eol": "\n",
"files.hotExit": "onExitAndWindowClose",
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"git.confirmSync": false,
"git.enableStatusBarSync": false,
"git.decorations.enabled": false, // TODO: Doesn't work
"git.enableSmartCommit": true,
"git.ignoreMissingGitWarning": true,
"git.openRepositoryInParentFolders": "never",
"markdown.updateLinksOnFileMove.enabled": "prompt",
"markdown.validate.enabled": true,
"outline.collapseItems": "alwaysCollapse",
"problems.decorations.enabled": false,
"problems.sortOrder": "position",
"scm.diffDecorations": "gutter",
"search.searchOnType": false,
"search.decorations.badges": false,
"search.decorations.colors": false,
"security.workspace.trust.enabled": false,
"security.workspace.trust.untrustedFiles": "open",
"telemetry.telemetryLevel": "off",
"terminal.external.windowsExec": "wt.exe",
//"terminal.integrated.allowMnemonics": true,
"terminal.integrated.commandsToSkipShell": [
"-workbench.action.showCommands", // F1 - help
"workbench.action.files.newUntitledFile",
"workbench.action.focusLeftGroup",
"workbench.action.focusNextGroup",
"workbench.action.focusPreviousGroup",
"workbench.action.focusRightGroup",
"workbench.action.moveActiveEditorGroupLeft",
"workbench.action.moveActiveEditorGroupRight",
"workbench.action.moveEditorLeftInGroup",
"workbench.action.moveEditorRightInGroup",
"workbench.action.moveEditorToLeftGroup",
"workbench.action.moveEditorToNextGroup",
"workbench.action.moveEditorToPreviousGroup",
"workbench.action.moveEditorToRightGroup",
"workbench.action.nextEditorInGroup",
"workbench.action.pinEditor",
"workbench.action.previousEditorInGroup",
"workbench.action.toggleCenteredLayout",
"workbench.action.toggleEditorWidths",
"workbench.action.toggleMaximizeEditorGroup",
"workbench.action.toggleSidebarVisibility",
"workbench.action.unpinEditor",
],
"terminal.integrated.confirmOnKill": "never",
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.cursorStyle": "line",
"terminal.integrated.cursorWidth": 2,
"terminal.integrated.enablePersistentSessions": false,
"terminal.integrated.fontFamily": "Inconsolata Nerd Font",
"terminal.integrated.minimumContrastRatio": 1,
"terminal.integrated.mouseWheelScrollSensitivity": 1.55,
"terminal.integrated.rightClickBehavior": "default",
"terminal.integrated.scrollback": 100000,
"terminal.integrated.shellIntegration.suggestEnabled": true,
"terminal.integrated.smoothScrolling": true,
"terminal.integrated.stickyScroll.enabled": true,
"terminal.integrated.tabs.hideCondition": "never",
"terminal.integrated.tabs.title": "${sequence}",
"terminal.integrated.tabs.location": "left",
"terminal.integrated.tabs.showActions": "never",
"terminal.integrated.tabStopWidth": 4,
"window.commandCenter": false,
"window.customMenuBarAltFocus": false,
"window.density.editorTabHeight": "compact",
"window.menuBarVisibility": "toggle",
"window.newWindowDimensions": "inherit",
"window.restoreFullscreen": true,
"window.restoreWindows": "all",
"window.title": " ${dirty}${rootName} ",
"window.titleBarStyle": "custom",
"workbench.activityBar.location": "hidden",
"workbench.colorTheme": "akbyrd-vsc-theme-material",
"workbench.commandPalette.preserveInput": true,
"workbench.colorCustomizations": {
// There's no setting for these and I don't want to bake it into my theme
"editorOverviewRuler.findMatchForeground": "#00000000",
"editorOverviewRuler.selectionHighlightForeground": "#00000000",
// TODO: ts - const id = `${theme.values}`
// TODO: ts - navigator
// TODO: ts - type Code = { scrollTarget?: HTMLElement }
},
"workbench.editor.centeredLayoutFixedWidth": true,
"workbench.editor.dragToOpenWindow": false,
"workbench.editor.editorActionsLocation": "hidden",
"workbench.editor.empty.hint": "hidden",
"workbench.editor.enablePreview": false,
"workbench.editor.focusRecentEditorAfterClose": false,
"workbench.editor.highlightModifiedTabs": true,
"workbench.editor.navigationScope": "editorGroup",
"workbench.editor.openPositioning": "last",
"workbench.editor.sharedViewState": true,
"workbench.editor.tabActionCloseVisibility": false,
"workbench.editor.tabSizing": "shrink",
"workbench.editor.untitled.labelFormat": "name",
"workbench.editor.wrapTabs": true,
"workbench.iconTheme": "material-icon-theme",
"workbench.layoutControl.enabled": false,
"workbench.list.defaultFindMode": "filter",
"workbench.list.openMode": "doubleClick",
"workbench.list.smoothScrolling": true,
"workbench.quickOpen.preserveInput": true,
"workbench.startupEditor": "none",
"workbench.tips.enabled": false,
"workbench.tree.enableStickyScroll": true,
"zenMode.hideLineNumbers": false,
"zenMode.restore": true,
"zenMode.silentNotifications": false,
// --------------------------------------------------------------------------
// -- Extensions ------------------------------------------------------------
"autoalign.columnWidth": 1,
"autoalign.minSeparationLeft": 1,
"github.copilot.editor.enableCodeActions": false,
"highlight.regexFlags": "g",
"highlight.regexes": {
"\\b(DEBUG|FIXME|HACK|TODO|BUG)\\b": {
"decorations": [ { "color": "#c62828" } ],
},
"\\b(NEXT|OPTIMIZE|QUESTION|TEST|WARNING)\\b": {
"decorations": [ { "color": "#ff9800" } ],
},
"\\b(NOTE|PLAN|REQUIREMENT)\\b": {
"decorations": [ { "color": "#2196f3" } ],
},
},
"material-icon-theme.folders.theme": "classic",
"multiCommand.commands": {
"custom.list.collapseAll": {
"sequence": [
"list.focusParent",
"list.focusParent",
"list.focusParent",
"list.focusParent",
"list.focusParent",
"list.focusParent",
"list.focusParent",
"list.collapseAll",
],
},
},
"perforce.addOnFileCreate": true,
"perforce.deleteOnFileDelete": true,
"perforce.editOnFileModified": true,
"perforce.editOnFileSave": true,
// NOTE: Remember to add History and globalStorage to ignoreUploadFolders
"sync.gist": "5ae70d1a634b2d2b2642843dba30d15f",
"sync.autoDownload": false,
"sync.autoUpload": false,
"sync.forceDownload": false,
"sync.quietSync": true,
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"xml.format.maxLineWidth": 0,
"xml.format.splitAttributes": true,
"xml.format.splitAttributesIndentSize": 1,
// --------------------------------------------------------------------------
// -- Languages -------------------------------------------------------------
"C_Cpp.autoAddFileAssociations": false,
"C_Cpp.commentContinuationPatterns": [
"/**",
"/*",
" *",
],
"C_Cpp.dimInactiveRegions": true,
"C_Cpp.errorSquiggles": "enabled",
"C_Cpp.inlayHints.autoDeclarationTypes.enabled": true,
"C_Cpp.inlayHints.autoDeclarationTypes.showOnLeft": true,
"C_Cpp.inlayHints.parameterNames.enabled": true,
"C_Cpp.inlayHints.parameterNames.suppressWhenArgumentContainsName": false,
"C_Cpp.inlayHints.referenceOperator.enabled": true,
"C_Cpp.loggingLevel": "Warning",
"C_Cpp.suggestSnippets": true, // TODO: Why doesn't this work?
"[csharp]": {
"editor.semanticHighlighting.enabled": false,
},
"dotnet.codeLens.enableReferencesCodeLens": false,
"evenBetterToml.schema.catalogs": [],
"[markdown]": {
"editor.rulers": [],
"editor.snippetSuggestions": "inline",
"editor.suggest.showSnippets": true,
},
"[plaintext]": {
"editor.rulers": [ 100 ],
"editor.useTabStops": false,
"editor.wordWrapColumn": 100,
"editor.wrappingIndent": "indent",
},
"[typescript]": {
//"editor.formatOnSave": true,
//"editor.formatOnSaveMode": "modifications",
"editor.autoIndent": "advanced",
},
"typescript.inlayHints.enumMemberValues.enabled": true,
"typescript.inlayHints.functionLikeReturnTypes.enabled": true,
"typescript.inlayHints.parameterNames.enabled": "all",
"typescript.inlayHints.parameterNames.suppressWhenArgumentMatchesName": false,
"typescript.inlayHints.parameterTypes.enabled": true,
"typescript.inlayHints.propertyDeclarationTypes.enabled": true,
"typescript.inlayHints.variableTypes.enabled": true,
"typescript.inlayHints.variableTypes.suppressWhenTypeMatchesName": false,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": false,
"typescript.format.placeOpenBraceOnNewLineForControlBlocks": true,
"typescript.format.placeOpenBraceOnNewLineForFunctions": true,
"typescript.format.semicolons": "remove",
}
{
// TODO: Better surround with snippets
// TODO: Don't use last letter for snippet, require full word
// TODO: C++ suggestions (for, if, etc)
// TODO: json snippets
// BUG: can't write snippet for "all except markdown"
// BUG: Snippets schema isn't hooked up
// BUG: Conditional insertions aren't supported - "${TM_FILENAME/(.*)/(?1:matched)/g}"
// BUG: Snippets don't show up when selecting text and cursor is at end (filtering)
"block comment": {
"prefix": "bcom",
"body": [
"${BLOCK_COMMENT_START} $TM_SELECTED_TEXT$0 ${BLOCK_COMMENT_END}"
]
},
"bug": {
"prefix": "bug",
"body": [
"${LINE_COMMENT/.+/$0 /g}BUG: "
]
},
"debug": {
"prefix": "dbg",
"body": [
"${LINE_COMMENT/.+/$0 /g}DEBUG: "
]
},
"guid": {
"prefix": "guid",
"body": [
"${UUID}"
]
},
"hack": {
"prefix": "hack",
"body": [
"${LINE_COMMENT/.+/$0 /g}HACK: "
]
},
"note": {
"prefix": "note",
"body": [
"${LINE_COMMENT/.+/$0 /g}NOTE: "
]
},
"optimize": {
"prefix": "opt",
"body": [
"${LINE_COMMENT/.+/$0 /g}OPTIMIZE: "
]
},
"question": {
"prefix": "que",
"body": [
"${LINE_COMMENT/.+/$0 /g}QUESTION: "
]
},
"test": {
"prefix": "test",
"body": [
"${LINE_COMMENT/.+/$0 /g}TEST: "
]
},
"todo": {
"prefix": "todo",
"body": [
"${LINE_COMMENT/.+/$0 /g}TODO: "
]
},
"inc": {
"prefix": "inc",
"body": [
"#include \"$0.h\""
]
},}
{
"version": "2.0.0",
"inputs": [
{
"id": "solution",
"type": "command",
"command": "cpptools.activeConfigName",
"args": "solution"
},
{
"id": "configuration",
"type": "command",
"command": "cpptools.activeConfigName",
"args": "configuration"
},
{
"id": "platform",
"type": "command",
"command": "cpptools.activeConfigName",
"args": "platform"
},
{
"id": "target",
"type": "command",
"command": "akbyrd.task.getArgs",
"args": "target"
},
{
"id": "args",
"type": "command",
"command": "akbyrd.task.getArgs",
"args": "args"
}
],
"type": "shell",
"problemMatcher": [ "$msCompile" ],
"presentation": {
"echo": false,
"showReuseMessage": false,
"clear": true,
},
"tasks": [
{ "label": "vcs", "hide": true, "args": ["${file}"], "command": "build-system/vcs.ps1", },
{ "label": "build-file", "hide": true, "args": ["${file}"], "command": "build-system/build-file.ps1", },
{ "label": "build-project", "hide": true, "args": ["${file}"], "command": "build-system/build-project.ps1", },
{ "label": "build-solution", "hide": true, "args": ["${file}"], "command": "build-system/build-solution.ps1", },
{ "label": "rebuild-file", "hide": true, "args": ["${file}"], "command": "build-system/rebuild-file.ps1", },
{ "label": "rebuild-project", "hide": true, "args": ["${file}"], "command": "build-system/rebuild-project.ps1", },
{ "label": "rebuild-solution", "hide": true, "args": ["${file}"], "command": "build-system/rebuild-solution.ps1", },
{ "label": "clean-file", "hide": true, "args": ["${file}"], "command": "build-system/clean-file.ps1", },
{ "label": "clean-project", "hide": true, "args": ["${file}"], "command": "build-system/clean-project.ps1", },
{ "label": "clean-solution", "hide": true, "args": ["${file}"], "command": "build-system/clean-solution.ps1", },
{ "label": "test-file", "hide": true, "args": ["${file}"], "command": "build-system/test-file.ps1", },
{ "label": "test-project", "hide": true, "args": ["${file}"], "command": "build-system/test-project.ps1", },
{ "label": "test-solution", "hide": true, "args": ["${file}"], "command": "build-system/test-solution.ps1", },
{ "label": "profile-file", "hide": true, "args": ["${file}"], "command": "build-system/profile-file.ps1", },
{ "label": "profile-project", "hide": true, "args": ["${file}"], "command": "build-system/profile-project.ps1", },
{ "label": "profile-solution", "hide": true, "args": ["${file}"], "command": "build-system/profile-solution.ps1", },
{ "label": "profile-build-file", "hide": true, "args": ["${file}"], "command": "build-system/profile-build-file.ps1", },
{ "label": "profile-build-project", "hide": true, "args": ["${file}"], "command": "build-system/profile-build-project.ps1", },
{ "label": "profile-build-solution", "hide": true, "args": ["${file}"], "command": "build-system/profile-build-solution.ps1", },
{
"label": "vcs-git",
"hide": true,
"type": "shell",
"command": "tgit log",
"problemMatcher": [],
"presentation": {
"reveal": "silent",
"panel": "shared",
"showReuseMessage": false,
"clear": true
}
},
{
"label": "build-msbuild",
"hide": true,
"icon": { "id": "code", "color": "terminal.ansiCyan" },
"detail": "msbuild",
"group": "build",
"type": "cppbuild",
"command": "msbuild",
"options": { "cwd": "${workspaceFolder}" },
"args": [
"/nologo", "/v:m", "/m",
"/t:${input:target}",
"/p:Configuration=${input:configuration}",
"/p:Platform=${input:platform}",
//"/p:GenerateFullPaths=true",
//"/clp:NoSummary",
"${input:solution}",
],
"problemMatcher": "$akbyrd-msbuild",
"presentation": {
"panel": "dedicated",
"reveal": "silent",
"clear": true,
"showReuseMessage": false,
"revealProblems": "onProblem",
},
},
{
"label": "profile-build-unreal",
"hide": true,
"type": "shell",
"command": "./build-system/profile-build.ps1 ${input:args}",
"problemMatcher": [ "$msCompile" ]
},
{
"label": "build-unreal",
"hide": true,
"type": "shell",
"command": "Engine/Build/BatchFiles/Build.bat DragonEditor Win64 Development ${input:args}",
"problemMatcher": "$akbyrd-msbuild",
"presentation": {
"panel": "dedicated",
"reveal": "always",
"clear": true,
"showReuseMessage": false,
},
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment