Skip to content

Instantly share code, notes, and snippets.

@esauvisky
Created October 3, 2020 10:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save esauvisky/00aa2618eadad06abe04b7b037747705 to your computer and use it in GitHub Desktop.
Save esauvisky/00aa2618eadad06abe04b7b037747705 to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-10-03T10:58:35.173Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "f68b80f4-3d7a-47c1-af85-9bd5d56c7f7c",
"publisherId": "lunarlimbo.banner-comments-plus",
"publisherDisplayName": "lunarlimbo"
},
"name": "banner-comments-plus",
"publisher": "lunarlimbo",
"version": "0.3.1"
},
{
"metadata": {
"id": "b689fcc8-d494-4dbf-a228-2c694a578afc",
"publisherId": "alefragnani.Bookmarks",
"publisherDisplayName": "alefragnani"
},
"name": "Bookmarks",
"publisher": "alefragnani",
"version": "11.3.1"
},
{
"metadata": {
"id": "5a6e2b21-1d61-4acd-b31b-907f9c23f18a",
"publisherId": "CoenraadS.bracket-pair-colorizer-2",
"publisherDisplayName": "CoenraadS"
},
"name": "bracket-pair-colorizer-2",
"publisher": "CoenraadS",
"version": "0.2.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": "ac44dd75-bdb7-433b-9d86-23f9f070c07a",
"publisherId": "iocave.customize-ui",
"publisherDisplayName": "iocave"
},
"name": "customize-ui",
"publisher": "iocave",
"version": "0.1.49"
},
{
"metadata": {
"id": "1b625615-bded-4797-9806-079abcacfcc1",
"publisherId": "letrieu.expand-region",
"publisherDisplayName": "letrieu"
},
"name": "expand-region",
"publisher": "letrieu",
"version": "0.1.4"
},
{
"metadata": {
"id": "438221f8-1107-4ccd-a6fe-f3b7fe0856b7",
"publisherId": "mhutchie.git-graph",
"publisherDisplayName": "mhutchie"
},
"name": "git-graph",
"publisher": "mhutchie",
"version": "1.26.0"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "10.2.2"
},
{
"metadata": {
"id": "e86acd7a-7484-4006-bf9f-5e9ddacb84d8",
"publisherId": "jasonlhy.hungry-delete",
"publisherDisplayName": "jasonlhy"
},
"name": "hungry-delete",
"publisher": "jasonlhy",
"version": "1.6.0"
},
{
"metadata": {
"id": "5db78037-f674-459f-a236-db622c427c5b",
"publisherId": "PKief.material-icon-theme",
"publisherDisplayName": "PKief"
},
"name": "material-icon-theme",
"publisher": "PKief",
"version": "4.3.0"
},
{
"metadata": {
"id": "736c2316-7f4f-4b6a-8e5c-70527d82cf51",
"publisherId": "iocave.monkey-patch",
"publisherDisplayName": "iocave"
},
"name": "monkey-patch",
"publisher": "iocave",
"version": "0.1.10"
},
{
"metadata": {
"id": "a41c1549-4053-44d4-bf30-60fc809b4a86",
"publisherId": "christian-kohler.path-intellisense",
"publisherDisplayName": "christian-kohler"
},
"name": "path-intellisense",
"publisher": "christian-kohler",
"version": "2.3.0"
},
{
"metadata": {
"id": "1b747f06-3789-4ebd-ac99-f1fe430c3347",
"publisherId": "alefragnani.project-manager",
"publisherDisplayName": "alefragnani"
},
"name": "project-manager",
"publisher": "alefragnani",
"version": "11.3.0"
},
{
"metadata": {
"id": "a7fa941e-bcda-486f-8141-8483a6286177",
"publisherId": "SonarSource.sonarlint-vscode",
"publisherDisplayName": "SonarSource"
},
"name": "sonarlint-vscode",
"publisher": "SonarSource",
"version": "1.17.0"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "2.1.8"
},
{
"metadata": {
"publisherId": "undefined_publisher.vscode-frida",
"publisherDisplayName": "undefined_publisher"
},
"name": "vscode-frida",
"publisher": "undefined_publisher",
"version": "0.0.1"
},
{
"metadata": {
"id": "9ccc1dd7-7ec4-4a46-bd4f-7d7b8b9d322a",
"publisherId": "vscode-icons-team.vscode-icons",
"publisherDisplayName": "vscode-icons-team"
},
"name": "vscode-icons",
"publisher": "vscode-icons-team",
"version": "11.0.0"
},
{
"metadata": {
"id": "5a7017bf-c571-4d77-b902-6e56b16f539a",
"publisherId": "johnpapa.vscode-peacock",
"publisherDisplayName": "johnpapa"
},
"name": "vscode-peacock",
"publisher": "johnpapa",
"version": "3.8.0"
},
{
"metadata": {
"id": "e8f08043-9121-4d44-bf6e-f941fc3a95c3",
"publisherId": "Braver.vscode-solarized",
"publisherDisplayName": "Braver"
},
"name": "vscode-solarized",
"publisher": "Braver",
"version": "2.0.4"
},
{
"metadata": {
"id": "876e8f93-74d0-4f4f-91b7-34a09f19f444",
"publisherId": "VisualStudioExptTeam.vscodeintellicode",
"publisherDisplayName": "VisualStudioExptTeam"
},
"name": "vscodeintellicode",
"publisher": "VisualStudioExptTeam",
"version": "1.2.10"
}
]
// Place your key bindings in this file to overwrite the defaults
[
/////////////////////
//? Documentation //
/////////////////////
{
"key": "f9",
"command": "editor.debug.action.toggleBreakpoint"
},
{
"key": "f5",
"command": "workbench.action.debug.start",
"when": "!inDebugMode"
},
{
"key": "f5",
"command": "workbench.action.debug.continue",
"when": "inDebugMode"
},
{
"key": "f6",
"command": "workbench.action.debug.stepOver",
"when": "inDebugMode"
},
{
"key": "f7",
"command": "workbench.action.debug.stepInto",
"when": "inDebugMode"
},
{
"key": "alt+f7",
"command": "workbench.action.debug.stepOut",
"when": "inDebugMode"
},
{
"key": "f8",
"command": "workbench.action.debug.stop",
"when": "inDebugMode"
},
{
"key": "shift+f8",
"command": "workbench.action.debug.pause",
"when": "inDebugMode"
},
//? From now on removes old shortcuts
{
"key": "f5",
"command": "-workbench.action.debug.continue",
"when": "inDebugMode"
},
{
"key": "f6",
"command": "-workbench.action.debug.pause",
"when": "inDebugMode"
},
{
"key": "ctrl+shift+f5",
"command": "-workbench.action.debug.restart",
"when": "inDebugMode"
},
{
"key": "ctrl+k ctrl+i",
"command": "-editor.debug.action.showDebugHover",
"when": "editorTextFocus && inDebugMode"
},
{
"key": "f5",
"command": "-workbench.action.debug.start",
"when": "!inDebugMode"
},
{
"key": "f10",
"command": "-extension.node-debug.startWithStopOnEntry",
"when": "!inDebugMode && debugConfigurationType == 'node'"
},
{
"key": "ctrl+f5",
"command": "-workbench.action.debug.run",
"when": "!inDebugMode"
},
{
"key": "f11",
"command": "-workbench.action.debug.stepInto",
"when": "inDebugMode"
},
{
"key": "shift+f11",
"command": "-workbench.action.debug.stepOut",
"when": "inDebugMode"
},
{
"key": "f10",
"command": "-workbench.action.debug.stepOver",
"when": "inDebugMode"
},
{
"key": "shift+f5",
"command": "-workbench.action.debug.stop",
"when": "inDebugMode"
},
{
"key": "ctrl+shift+y",
"command": "-workbench.debug.action.toggleRepl"
},
{
"key": "f9",
"command": "-editor.debug.action.toggleBreakpoint",
"when": "editorTextFocus"
},
{
"key": "alt+z",
"command": "-editor.action.toggleWordWrap"
},
//////////////
//? Editing //
//////////////
{
"key": "ctrl+w",
"command": "expand_region",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+w",
"command": "workbench.action.closeActiveEditor"
// "command": "undo_expand_region",
// "when": "editorTextFocus && editorHasSelection"
},
{
"key": "ctrl+i",
"command": "editor.action.reindentselectedlines",
"when": "editorHasSelection && textInputFocus"
},
{
"key": "f4",
"command": "editor.action.toggleWordWrap",
"when": "editorTextFocus && !isInDiffEditor"
},
// Move line up and down behaviour:
{
"key": "ctrl+shift+up",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+down",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus"
},
// Multiple cursors up and down
{
"key": "ctrl+pageup",
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "ctrl+pagedown",
"command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "ctrl+l",
"command": "expandLineSelection",
"when": "textInputFocus"
},
{
"key": "alt+left",
"command": "workbench.action.navigateBack"
},
{
"key": "alt+right",
"command": "workbench.action.navigateForward"
},
{
"key": "shift+alt+left",
"command": "workbench.action.navigateToLastEditLocation"
},
{
"key": "shift+alt+right",
"command": "workbench.action.navigateLast"
},
{
"key": "ctrl+shift+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus"
},
/////////////////
//? Navigation //
/////////////////
{
"key": "ctrl+backspace",
"command": "-extension.hungryDelete",
},
{
"key": "alt+backspace",
"command": "extension.hungryDelete",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+q",
"command": "workbench.action.closeWindow"
},
{
"key": "alt+e",
"command": "revealFileInOS",
},
{
"key": "ctrl+n",
"command": "workbench.action.newWindow"
},
{
"key": "ctrl+shift+t",
"command": "workbench.action.terminal.split",
"when": "terminalFocus"
},
{
"key": "ctrl+F4",
"command": "workbench.action.closeActiveEditor"
},
{
"key": "alt+t",
"command": "workbench.action.terminal.toggleTerminal",
},
{
"key": "alt+d",
"command": "workbench.debug.action.toggleRepl"
},
{
"key": "shift+f9",
"command": "workbench.action.togglePanel",
},
{
"key": "escape",
"command": "workbench.action.togglePanel",
"when": "panelFocus"
},
{
"key": "ctrl+shift+c",
"command": "workbench.action.toggleSidebarVisibility",
},
//////////
//? GIT //
//?///////
{
"key": "alt+f5",
"command": "workbench.action.compareEditor.nextChange",
"when": "textCompareEditorVisible"
},
{
"key": "shift+alt+f5",
"command": "workbench.action.compareEditor.previousChange",
"when": "textCompareEditorVisible"
},
{
"key": "alt+escape s",
"command": "git.stageSelectedRanges",
},
{
"key": "alt+escape u",
"command": "git.unstageSelectedRanges",
},
{
"key": "alt+escape c",
"command": "git.commit",
},
{
"key": "alt+escape r",
"command": "git.revertSelectedRanges",
},
//! /////////////////////////////////
//! FROM NOW ON NEEDS MANUAL CHECK //
//! /////////////////////////////////
{
"key": "ctrl+shift+w",
"command": "-workbench.action.closeWindow"
},
{
"key": "ctrl+shift+5",
"command": "-workbench.action.terminal.split",
"when": "terminalFocus"
},
{
"key": "ctrl+k ctrl+\\",
"command": "-workbench.action.splitEditorOrthogonal"
},
{
"key": "ctrl+\\",
"command": "-workbench.action.splitEditor"
},
{
"key": "ctrl+w",
"command": "-workbench.action.closeWindow",
},
{
"key": "ctrl+w",
"command": "-workbench.action.closeGroup",
},
{
"key": "ctrl+w",
"command": "-workbench.action.closeActiveEditor"
},
{
"key": "ctrl+meta+w",
"command": "-workbench.action.toggleTabsVisibility"
},
{
"key": "f1",
"command": "-workbench.action.showCommands"
},
{
"key": "ctrl+j",
"command": "-workbench.action.togglePanel"
},
{
"key": "ctrl+t",
"command": "workbench.action.files.newUntitledFile"
},
{
"key": "ctrl+n",
"command": "-workbench.action.files.newUntitledFile"
},
{
"key": "ctrl+k ctrl+j",
"command": "-editor.unfoldAll",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+up",
"command": "-workbench.action.focusAboveGroup"
},
{
"key": "ctrl+k ctrl+shift+w",
"command": "-workbench.action.closeAllGroups"
},
{
"key": "ctrl+k ctrl+down",
"command": "-workbench.action.focusBelowGroup"
},
{
"key": "ctrl+1",
"command": "-workbench.action.focusFirstEditorGroup"
},
{
"key": "ctrl+k ctrl+left",
"command": "-workbench.action.focusLeftGroup"
},
{
"key": "ctrl+k ctrl+right",
"command": "-workbench.action.focusRightGroup"
},
{
"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": "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+shift+pageup",
"command": "-workbench.action.moveEditorLeftInGroup"
},
{
"key": "ctrl+shift+pagedown",
"command": "-workbench.action.moveEditorRightInGroup"
},
{
"key": "alt+0",
"command": "-workbench.action.lastEditorInGroup"
},
{
"key": "ctrl+9",
"command": "-workbench.action.lastEditorInGroup"
},
{
"key": "ctrl+3",
"command": "-workbench.action.focusThirdEditorGroup"
},
{
"key": "ctrl+8",
"command": "-workbench.action.focusEighthEditorGroup"
},
{
"key": "ctrl+5",
"command": "-workbench.action.focusFifthEditorGroup"
},
{
"key": "ctrl+4",
"command": "-workbench.action.focusFourthEditorGroup"
},
{
"key": "ctrl+2",
"command": "-workbench.action.focusSecondEditorGroup"
},
{
"key": "ctrl+7",
"command": "-workbench.action.focusSeventhEditorGroup"
},
{
"key": "ctrl+6",
"command": "-workbench.action.focusSixthEditorGroup"
},
{
"key": "ctrl+k w",
"command": "-workbench.action.closeEditorsInGroup"
},
{
"key": "ctrl+shift+left",
"command": "-workbench.action.terminal.resizePaneLeft",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+tab",
"command": "-workbench.action.openPreviousRecentlyUsedEditorInGroup"
},
{
"key": "ctrl+tab",
"command": "-workbench.action.openNextRecentlyUsedEditorInGroup"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.previousEditor",
"when": "editorIsOpen",
},
{
"key": "ctrl+tab",
"command": "workbench.action.nextEditor",
"when": "editorIsOpen",
},
{
"key": "ctrl+tab",
"command": "-workbench.action.quickOpenNavigateNextInEditorPicker",
"when": "inEditorsPicker && inQuickOpen"
},
{
"key": "ctrl+pageup",
"command": "-workbench.action.previousEditor"
},
{
"key": "ctrl+shift+tab",
"command": "-workbench.action.quickOpenNavigatePreviousInEditorPicker",
"when": "inEditorsPicker && inQuickOpen"
},
{
"key": "ctrl+pagedown",
"command": "-workbench.action.nextEditor"
},
{
"key": "f4",
"command": "-goToNextReferenceFromEmbeddedEditor",
"when": "inReferenceSearchEditor"
},
{
"key": "f11",
"command": "-workbench.action.toggleFullScreen"
},
{
"key": "alt+p",
"command": "-keybindings.editor.toggleSortByPrecedence",
"when": "inKeybindings"
},
{
"key": "ctrl+shift+m",
"command": "-workbench.actions.view.problems"
},
{
"key": "f8",
"command": "-editor.action.marker.nextInFiles",
"when": "editorFocus && !editorReadonly"
},
{
"key": "shift+f8",
"command": "-editor.action.marker.prevInFiles",
"when": "editorFocus && !editorReadonly"
},
{
"key": "shift+alt+p",
"command": "projectManager.listProjects"
},
{
"key": "shift+alt+p",
"command": "-projectManager.listProjects"
},
{
"key": "ctrl+\\",
"command": "-workbench.action.terminal.split",
"when": "terminalFocus"
},
{
"key": "ctrl+i",
"command": "editor.action.formatSelection",
"when": "editorTextFocus && editorHasDocumentFormattingProvider && editorHasSelection"
},
{
"key": "ctrl+k ctrl+f",
"command": "-editor.action.formatSelection",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+f2",
"command": "-editor.action.changeAll",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+f1",
"command": "-editor.action.showAccessibilityHelp",
"when": "editorFocus"
},
{
"key": "f7",
"command": "-editor.action.wordHighlight.next",
"when": "editorTextFocus && hasWordHighlights"
},
{
"key": "f7",
"command": "-editor.action.diffReview.next",
"when": "isInDiffEditor"
},
{
"key": "f4",
"command": "-search.action.focusNextSearchResult",
"when": "hasSearchResult"
},
{
"key": "f4",
"command": "-goToNextReference",
"when": "referenceSearchVisible"
},
{
"key": "shift+f4",
"command": "-search.action.focusPreviousSearchResult",
"when": "hasSearchResult"
},
{
"key": "shift+f4",
"command": "-goToPreviousReference",
"when": "referenceSearchVisible"
},
{
"key": "shift+f4",
"command": "-goToPreviousReferenceFromEmbeddedEditor",
"when": "inReferenceSearchEditor"
},
{
"key": "f3",
"command": "-workbench.action.terminal.findNext",
"when": "terminalFindWidgetFocused"
},
{
"key": "f3",
"command": "-editor.action.nextMatchFindAction",
"when": "editorFocus"
},
{
"key": "alt+f3",
"command": "-editor.action.dirtydiff.next",
"when": "editorTextFocus"
},
{
"key": "ctrl+b",
"command": "-workbench.action.toggleSidebarVisibility"
},
{
"key": "ctrl+tab",
"command": "workbench.action.nextPanelView",
"when": "panelFocus",
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.previousPanelView",
"when": "panelFocus",
},
{
"key": "ctrl+shift+o",
"command": "workbench.action.files.openFolder"
},
{
"key": "ctrl+k ctrl+o",
"command": "-workbench.action.files.openFolder"
},
{
"key": "ctrl+shift+o",
"command": "-workbench.action.gotoSymbol"
},
{
"key": "ctrl+shift+c",
"command": "-workbench.action.terminal.openNativeConsole",
"when": "!terminalFocus"
},
{
"key": "ctrl+space",
"command": "-toggleSuggestionDetails",
"when": "suggestWidgetVisible && textInputFocus"
},
// Settings shortcuts:
{
"key": "ctrl+k ctrl+j",
"command": "workbench.action.openSettingsJson",
"when": "!terminalFocus"
},
{
"key": "ctrl+k ctrl+k",
"command": "workbench.action.openSettings",
"when": "!terminalFocus"
},
{
"key": "ctrl+k ctrl+s",
"command": "workbench.action.openGlobalKeybindingsFile",
"when": "!terminalFocus"
},
{
"key": "ctrl+k ctrl+a",
"command": "workbench.action.openGlobalKeybindings",
"when": "!terminalFocus"
},
{
"key": "ctrl+shift+f10",
"command": "-editor.action.peekDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "ctrl+shift+i",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !editorHasSelection"
},
{
"key": "ctrl+shift+i",
"command": "-editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+i",
"command": "-editor.action.formatDocument.none",
"when": "editorTextFocus && !editorHasDocumentFormattingProvider && !editorHasDocumentFormattingProvider && !editorReadonly"
},
{
"key": "ctrl+k ctrl+f",
"command": "editor.action.formatSelection.multiple"
},
{
"key": "ctrl+shift+alt+p",
"command": "projectManager.listProjectsNewWindow"
},
{
"key": "shift+f3",
"command": "-workbench.action.terminal.findPrevious",
"when": "terminalFindWidgetFocused"
},
{
"key": "shift+f3",
"command": "-editor.action.previousMatchFindAction",
"when": "editorFocus"
},
{
"key": "shift+alt+l",
"command": "-bookmarks.expandSelectionToNext",
"when": "editorTextFocus"
},
{
"key": "shift+alt+j",
"command": "-bookmarks.expandSelectionToPrevious",
"when": "editorTextFocus"
},
{
"key": "shift+alt+k",
"command": "-bookmarks.shrinkSelection",
"when": "editorTextFocus"
},
{
"key": "f1",
"command": "bookmarks.toggle",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+k",
"command": "-bookmarks.toggle",
"when": "editorTextFocus"
},
{
"key": "shift+alt+f3",
"command": "-editor.action.dirtydiff.previous",
"when": "editorTextFocus"
},
{
"key": "ctrl+f3",
"command": "-editor.action.nextSelectionMatchFindAction",
"when": "editorFocus"
},
{
"key": "ctrl+shift+f3",
"command": "-editor.action.previousSelectionMatchFindAction",
"when": "editorFocus"
},
{
"key": "f3",
"command": "bookmarks.jumpToNext",
"when": "editorTextFocus && !isInDiffEditor"
},
{
"key": "ctrl+alt+l",
"command": "-bookmarks.jumpToNext",
"when": "editorTextFocus"
},
{
"key": "shift+f3",
"command": "bookmarks.jumpToPrevious",
"when": "editorTextFocus && !isInDiffEditor"
},
{
"key": "ctrl+alt+j",
"command": "-bookmarks.jumpToPrevious",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+b",
"command": "-workbench.action.tasks.build"
},
{
"key": "ctrl+shift+b",
"command": "bookmarks.list"
},
{
"key": "ctrl+shift+alt+d",
"command": "editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+shift+k",
"command": "-editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "alt+p",
"command": "workbench.view.extension.project-manager"
},
{
"key": "ctrl+0",
"command": "-workbench.action.focusSideBar"
},
{
"key": "ctrl+shift+0",
"command": "workbench.action.zoomReset"
},
{
"key": "ctrl+numpad0",
"command": "-workbench.action.zoomReset"
},
{
"key": "ctrl+0",
"command": "editor.action.fontZoomReset"
},
{
"key": "ctrl+shift+=",
"command": "workbench.action.zoomIn"
},
{
"key": "ctrl+numpad_add",
"command": "-workbench.action.zoomIn"
},
{
"key": "ctrl+shift+=",
"command": "-workbench.action.zoomIn"
},
{
"key": "ctrl+=",
"command": "-workbench.action.zoomIn"
},
{
"key": "ctrl+shift+-",
"command": "workbench.action.zoomOut"
},
{
"key": "ctrl+numpad_subtract",
"command": "-workbench.action.zoomOut"
},
{
"key": "ctrl+shift+-",
"command": "-workbench.action.navigateForward"
},
{
"key": "ctrl+-",
"command": "-workbench.action.zoomOut"
},
{
"key": "ctrl+=",
"command": "editor.action.fontZoomIn"
},
{
"key": "ctrl+-",
"command": "editor.action.fontZoomOut"
},
{
"key": "ctrl+shift+w",
"command": "workbench.action.closePanel",
"when": "panelFocus"
},
{
"key": "ctrl+alt+t",
"command": "workbench.action.terminal.openNativeConsole"
},
{
"key": "ctrl+k ctrl+s",
"command": "-workbench.action.openGlobalKeybindings"
},
{
"key": "ctrl+k ctrl+alt+s",
"command": "-git.stageSelectedRanges",
"when": "isInDiffEditor"
},
{
"key": "ctrl+k ctrl+u",
"command": "-git.unstageSelectedRanges",
"when": "isInDiffEditor"
},
{
"key": "alt+left",
"command": "-workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus"
},
{
"key": "alt+left",
"command": "-gitlens.key.alt+left",
"when": "gitlens:key:alt+left"
},
{
"key": "ctrl+alt+-",
"command": "-workbench.action.navigateBack"
},
{
"key": "alt+left",
"command": "workbench.action.quickInputBack",
"when": "inQuickOpen"
},
{
"key": "ctrl+alt+-",
"command": "-workbench.action.quickInputBack",
"when": "inQuickOpen"
},
{
"key": "alt+s",
"command": "toggleSearchEditorContextLines",
"when": "inSearchEditor"
},
{
"key": "alt+l",
"command": "-toggleSearchEditorContextLines",
"when": "inSearchEditor"
},
{
"key": "alt+s",
"command": "toggleFindInSelection",
"when": "editorFocus"
},
{
"key": "alt+l",
"command": "-toggleFindInSelection",
"when": "editorFocus"
},
{
"key": "alt+enter",
"command": "-debug.openBreakpointToSide",
"when": "breakpointsFocused"
},
{
"key": "alt+enter",
"command": "-notebook.cell.executeAndInsertBelow",
"when": "notebookEditorFocused"
},
{
"key": "alt+enter",
"command": "-editor.action.selectAllMatches",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "alt+enter",
"command": "editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+.",
"command": "-editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
}
]
{
//////////////////
//*PER LANGUAGE*//
//////////////////
"[php]": {
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client",
"editor.detectIndentation": false
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features",
},
"[javascript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.suggest.statusBar.visible": true,
},
"[css]": {
"editor.defaultFormatter": "sibiraj-s.vscode-scss-formatter",
},
"[scss]": {
"editor.defaultFormatter": "sibiraj-s.vscode-scss-formatter"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features",
},
"[yaml]": {
"editor.defaultFormatter": "redhat.vscode-yaml"
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"prettier.printWidth": 400,
"prettier.vueIndentScriptAndStyle": false,
////////////
// EDITOR //
////////////
"editor.overviewRulerBorder": false,
"editor.hover.delay": 350,
"editor.autoIndent": "brackets",
"editor.fontFamily": "'Fira Code Light', 'Inconsolata', 'Droid Sans Mono', 'monospace'",
"editor.lineHeight": 17, // Controls the line height. Use 0 to compute the lineHeight from the fontSize.
"editor.fontLigatures": false,
"editor.matchBrackets": "always",
"editor.formatOnSave": false,
"formatContextMenu.saveAft1erFormat": false,
"editor.formatOnType": false,
"editor.dragAndDrop": false,
"editor.emptySelectionClipboard": false,
"editor.find.autoFindInSelection": "multiline",
"editor.find.seedSearchStringFromSelection": false,
"editor.acceptSuggestionOnEnter": "smart",
"editor.accessibilitySupport": "off",
"editor.fontSize": 12,
"editor.formatOnPaste": false,
"editor.mouseWheelZoom": true,
"editor.smoothScrolling": true,
"editor.cursorSurroundingLines": 10,
"editor.letterSpacing": 0.4,
"editor.suggest.showKeywords": false,
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": false
},
"editor.multiCursorModifier": "ctrlCmd",
"editor.quickSuggestionsDelay": 100,
"editor.renderControlCharacters": true,
"editor.showFoldingControls": "mouseover",
"editor.snippetSuggestions": "inline",
"editor.parameterHints.enabled": true,
"editor.suggestOnTriggerCharacters": true,
"editor.suggestSelection": "recentlyUsedByPrefix",
"editor.tabCompletion": "on",
"editor.wordBasedSuggestions": true,
"editor.wordWrap": "off",
// The following three options say do not work but actually do.
// They're used together with "editor.minimap.showSlider": "always"
// to use the minimap slider as the scrollbar.
// "editor.scrollbar.horizontal": "hidden",
"editor.scrollbar.vertical": "hidden",
"editor.scrollbar.verticalScrollbarSize": 10,
"editor.minimap.enabled": true,
"editor.minimap.maxColumn": 100,
"editor.minimap.showSlider": "always",
"editor.minimap.size": "fill",
"editor.minimap.scale": 2,
"editor.minimap.renderCharacters": true,
//////////////
// EXPLORER //
//////////////
"explorer.decorations.badges": false,
"explorer.confirmDelete": false,
"explorer.enableDragAndDrop": false,
"explorer.sortOrder": "modified",
"extensions.closeExtensionDetailsOnViewChange": true,
"extensions.showRecommendationsOnlyOnDemand": false,
/* Config Syncer */
"sync.autoUpload": true,
"sync.gist": "",
"sync.quietSync": false,
"sync.removeExtensions": true,
//
"autoDocstring.docstringFormat": "google",
"autoDocstring.startOnNewLine": true,
"breadcrumbs.enabled": true,
"debug.inlineValues": true,
"diffEditor.ignoreTrimWhitespace": true,
"diffEditor.renderSideBySide": true,
"vetur.format.defaultFormatter.html": "prettier",
"vetur.format.defaultFormatter.js": "prettier",
// Number of spaces per indentation level. Inherited by all formatters.
"vetur.format.options.tabSize": 4,
"prettier.semi": true,
"prettier.tabWidth": 4,
"vetur.format.false": true,
"eslint.alwaysShowStatus": true,
"eslint.nodePath": "/usr/lib/node_modules/",
"prettier.jsxBracketSameLine": false,
"prettier.bracketSpacing": true,
"prettier.quoteProps": "consistent",
"prettier.htmlWhitespaceSensitivity": "strict",
"faker.locale": "pt_BR",
"files.autoGuessEncoding": false,
"files.autoSave": "off",
"files.encoding": "utf8",
"files.hotExit": "onExit",
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"git.confirmSync": false,
"gitlens.codeLens.recentChange.command": "gitlens.showQuickCommitDetails",
"gitlens.keymap": "none",
"gitlens.statusBar.enabled": false,
"gitlens.views.compare.location": "scm",
"gitlens.views.fileHistory.location": "scm",
"gitlens.views.lineHistory.location": "scm",
"gitlens.views.repositories.location": "scm",
"gitlens.views.search.enabled": true,
"gitlens.views.search.files.layout": "list",
"path-autocomplete.triggerOutsideStrings": true,
"local-history.path": "/home/esauvisky/.config/Code - OSS/LocalHistory/",
"projectManager.filterOnFullPath": true,
"projectManager.groupList": true,
"projectManager.sortList": "Saved",
"projectManager.git.maxDepthRecursion": 1,
"projectManager.openInNewWindowWhenClickingInStatusBar": true,
"projectManager.git.baseFolders": [
"/home/esauvisky/Bravi/",
"/home/esauvisky/Coding/",
"/home/esauvisky/Coding/Pokemod",
],
"projectManager.git.ignoredFolders": [
"node_modules",
"out",
"typings",
"test",
".old"
],
"search.collapseResults": "auto",
"search.showLineNumbers": true,
"search.smartCase": true,
"sonarlint.disableTelemetry": true,
"telemetry.enableCrashReporter": false,
"telemetry.enableTelemetry": false,
"terminal.external.linuxExec": "gnome-terminal",
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.fontSize": 14,
"terminal.integrated.rendererType": "dom",
"terminal.integrated.scrollback": 999999,
"typescript.disableAutomaticTypeAcquisition": false,
"vsintellicode.modify.editor.suggestSelection": "enabled",
"editor.mouseWheelScrollSensitivity": 1.5,
"workbench.editor.limit.enabled": true,
"workbench.editor.limit.value": 10,
"workbench.editor.limit.perEditorGroup": true,
"window.titleBarStyle": "custom",
"window.menuBarVisibility": "toggle",
"window.title": "${dirty}${activeEditorShort}${separator}${rootName}",
"window.openFilesInNewWindow": "off",
"window.restoreWindows": "one",
"window.restoreFullscreen": true,
"window.newWindowDimensions": "maximized",
"window.openWithoutArgumentsInNewWindow": "off",
"window.zoomLevel": 0,
"workbench.colorTheme": "Solarized Dark",
"workbench.editor.centeredLayoutAutoResize": false,
"workbench.editor.highlightModifiedTabs": true,
"workbench.editor.labelFormat": "default",
"workbench.editor.openPositioning": "right",
"workbench.editor.showTabs": true,
"workbench.editor.tabCloseButton": "off",
"workbench.sideBar.location": "left",
"workbench.startupEditor": "none",
"workbench.commandPalette.preserveInput": true,
"workbench.editor.focusRecentEditorAfterClose": true,
"workbench.editor.tabSizing": "fit",
"workbench.view.alwaysShowHeaderActions": true,
"xmlTools.splitAttributesOnFormat": true,
"zenMode.fullScreen": false,
"workbench.editor.enablePreview": true,
"workbench.editor.enablePreviewFromQuickOpen": true,
"zenMode.hideTabs": false,
"sonarlint.rules": {
"php:S1192": {
"level": "off"
},
"php:S1757": {
"level": "on"
},
"python:S3776": {
"level": "off"
},
"Web:BoldAndItalicTagsCheck": {
"level": "off"
},
"Web:AvoidCommentedOutCodeCheck": {
"level": "off"
},
"php:S125": {
"level": "off"
},
"Web:S5148": {
"level": "off"
},
"php:S3973": {
"level": "off"
},
"php:S1142": {
"level": "off"
},
"php:S3776": {
"level": "off"
},
"javascript:S2703": {
"level": "off"
}
},
"python.linting.flake8Args": [
"--ignore=E402,E266,E302,E305,E501,F841,F401,W503,W504",
],
"python.formatting.autopep8Args": [
"--max-line-length=100",
"--experimental",
"--hang-closing",
"-aaaaa"
],
"python.autoComplete.addBrackets": true,
"python.globalModuleInstallation": false,
"[python]": {
"editor.defaultFormatter": "ms-python.python",
"editor.autoIndent": "full",
"editor.suggest.statusBar.visible": true,
"editor.wordBasedSuggestions": false
},
"python.insidersChannel": "off",
"python.formatting.provider": "yapf",
"python.linting.pycodestyleArgs": [
"--ignore=E501,W605,W503"
],
"python.jediMemoryLimit": -1,
"python.linting.pylintEnabled": true,
"python.linting.pylintUseMinimalCheckers": false,
"python.pythonPath": ".venv/bin/python",
"python.linting.pylintArgs": [
// Disables specific common useless pylint error messages
//? See http://pylint-messages.wikidot.com/all-codes to find
//? the code for the error message
"--disable=C0301,C0411,C0103,C0111,C0330,W0703,W605,E501",
"--extension-pkg-whitelist=cv2"
],
"bracket-pair-colorizer-2.scopeLineCSS": [
"borderStyle : solid",
"borderWidth : 1px",
"borderColor : {color}",
"opacity: 0.4"
],
// True: Scope Line will start from the ending bracket position. False: Scope Line will always be at column 0
"bracket-pair-colorizer-2.scopeLineRelativePosition": true,
// Scope colors
"bracket-pair-colorizer-2.colors": [
"Orchid",
"#Mandalorian Blue",
"LightSkyBlue",
],
// Show active bracket scope in gutter?
"bracket-pair-colorizer-2.showBracketsInGutter": true,
// Show active bracket scope in ruler?
"bracket-pair-colorizer-2.showBracketsInRuler": true,
"peacock.favoriteColors": [
{
"name": "Angular Red",
"value": "#b52e31"
},
{
"name": "Auth0 Orange",
"value": "#eb5424"
},
{
"name": "Azure Blue",
"value": "#007fff"
},
{
"name": "C# Purple",
"value": "#68217A"
},
{
"name": "Gatsby Purple",
"value": "#639"
},
{
"name": "Go Cyan",
"value": "#5dc9e2"
},
{
"name": "Java Blue-Gray",
"value": "#557c9b"
},
{
"name": "JavaScript Yellow",
"value": "#f9e64f"
},
{
"name": "Mandalorian Blue",
"value": "#1857a4"
},
{
"name": "Node Green",
"value": "#215732"
},
{
"name": "React Blue",
"value": "#00b3e6"
},
{
"name": "Something Different",
"value": "#832561"
},
{
"name": "Vue Green",
"value": "#42b883"
},
{
"name": "Python",
"value": "#FACE5A"
}
],
"peacock.affectAccentBorders": true,
"peacock.affectTabActiveBorder": true,
"peacock.elementAdjustments": {
"activityBar": "lighten",
"statusBar": "none",
"titleBar": "lighten"
},
"workbench.settings.enableNaturalLanguageSearch": true,
"workbench.iconTheme": "material-icon-theme",
"vsicons.dontShowNewVersionMessage": true,
"path-intellisense.extensionOnImport": true,
"path-intellisense.autoSlashAfterDirectory": true,
"editor.detectIndentation": true,
"editor.folding": false,
"editor.parameterHints.cycle": true,
"editor.cursorSmoothCaretAnimation": true,
"gitlens.advanced.telemetry.enabled": false,
"workbench.colorCustomizations": {
"terminal.background": "#002B36",
"terminal.foreground": "#93A1A1",
"terminalCursor.background": "#93A1A1",
"terminalCursor.foreground": "#93A1A1",
"terminal.ansiBlack": "#002B36",
"terminal.ansiBlue": "#268BD2",
"terminal.ansiBrightBlack": "#657B83",
"terminal.ansiBrightBlue": "#268BD2",
"terminal.ansiBrightCyan": "#2AA198",
"terminal.ansiBrightGreen": "#859900",
"terminal.ansiBrightMagenta": "#6C71C4",
"terminal.ansiBrightRed": "#DC322F",
"terminal.ansiBrightWhite": "#FDF6E3",
"terminal.ansiBrightYellow": "#B58900",
"terminal.ansiCyan": "#2AA198",
"terminal.ansiGreen": "#859900",
"terminal.ansiMagenta": "#6C71C4",
"terminal.ansiRed": "#DC322F",
"terminal.ansiWhite": "#93A1A1",
"terminal.ansiYellow": "#B58900",
"activityBarBadge.background": "#d8c769",
"list.activeSelectionForeground": "#d8c769",
"list.inactiveSelectionForeground": "#d8c769",
"list.highlightForeground": "#d8c769",
"scrollbarSlider.activeBackground": "#d8c76950",
"editorSuggestWidget.highlightForeground": "#d8c769",
"textLink.foreground": "#d8c769",
"progressBar.background": "#d8c769",
"pickerGroup.foreground": "#d8c769",
"tab.activeBorder": "#d8c769",
"notificationLink.foreground": "#d8c769",
"editorWidget.resizeBorder": "#d8c769",
"editorWidget.border": "#d8c769",
"settings.modifiedItemIndicator": "#d8c769",
"settings.headerForeground": "#d8c769",
"panelTitle.activeBorder": "#d8c769",
"breadcrumb.activeSelectionForeground": "#d8c769",
"menu.selectionForeground": "#d8c769",
"menubar.selectionForeground": "#d8c769",
"editor.findMatchBorder": "#d8c769",
"selection.background": "#d8c76940"
},
"customizeUI.listRowHeight": 28,
"customizeUI.stylesheet": {
".monaco-icon-label:before": "align-self: center; background-size: 20px; padding-right: 10px;",
},
"local-history.absolute": true,
"local-history.daysLimit": 7,
"intelephense.trace.server": "off",
"intelephense.completion.fullyQualifyGlobalConstantsAndFunctions": true,
"intelephense.telemetry.enabled": false,
"intelephense.format.braces": "k&r",
"intelephense.completion.maxItems": 50,
"intelephense.diagnostics.enable": true,
"intelephense.diagnostics.run": "onSave",
"workbench.statusBar.visible": true,
"gitlens.views.repositories.branches.layout": "list",
"gitlens.sortBranchesBy": "date:desc",
"gitlens.sortTagsBy": "date:desc",
"gitlens.views.repositories.files.layout": "list",
"gitlens.views.repositories.files.compact": false,
"gitlens.views.search.location": "scm",
"editor.renderWhitespace": "none",
"rewrap.wrappingColumn": 100,
"autoDocstring.includeName": true,
"banner-comments-plus.trimEmptyLines": true,
"banner-comments-plus.trimTrailingWhitespace": true,
"bookmarks.saveBookmarksInProject": true,
"bookmarks.showCommandsInContextMenu": false,
"bookmarks.navigateThroughAllFiles": true,
"bookmarks.useWorkaroundForFormatters": true,
"git.enableCommitSigning": true,
"git-graph.combineLocalAndRemoteBranchLabels": false,
"git-graph.showSignatureStatus": true,
"git-graph.showUncommittedChanges": false,
"gitlens.blame.separateLines": false,
"gitlens.codeLens.enabled": false,
"gitlens.codeLens.recentChange.enabled": false,
"gitlens.gitCommands.search.matchRegex": false,
"gitlens.gitCommands.search.showResultsInView": false,
"gitlens.showWhatsNewAfterUpgrades": false,
"html.format.endWithNewline": true,
"python.analysis.cachingLevel": "Library",
"python.analysis.cacheFolderPath": "/tmp/",
"python.analysis.memory.keepLibraryAst": true,
"python.analysis.memory.keepLibraryLocalVariables": true,
"python.dataScience.allowImportFromNotebook": false,
"python.dataScience.allowLiveShare": false,
"python.dataScience.addGotoCodeLenses": false,
"python.dataScience.askForLargeDataFrames": false,
"python.dataScience.askForKernelRestart": false,
"python.dataScience.disableJupyterAutoStart": true,
"python.dataScience.enabled": false,
"python.dataScience.searchForJupyter": false,
"python.envFile": "${workspaceFolder}/.venv",
"python.languageServer": "Microsoft",
"python.terminal.activateEnvInCurrentTerminal": true,
"python.workspaceSymbols.enabled": true,
/*
// _ _ ______ _ _
// | | | | | _ \ | | | |
// | |_| |_ _ _ __ __ _ _ __ _ _| | | |___| | ___| |_ ___
// | _ | | | | '_ \ / _` | '__| | | | | | / _ \ |/ _ \ __/ _ \
// | | | | |_| | | | | (_| | | | |_| | |/ / __/ | __/ || __/
// \_| |_/\__,_|_| |_|\__, |_| \__, |___/ \___|_|\___|\__\___|
// __/ | __/ |
// |___/ |___/
*/
"hungryDelete.languageConfigurations": [
{
"languageId": "html",
"indentationRules": {
"increaseIndentPattern": "<(?!\\?|(?:area|base|br|col|frame|hr|html|img|input|link|meta|param)\\b|[^>]*\\/>)([-_\\.A-Za-z0-9]+)(?=\\s|>)\\b[^>]*>(?!.*<\\/\\1>)|<!--(?!.*-->)|\\{[^}\"']*$",
"decreaseIndentPattern": "^\\s*(<\\/(?!html)[-_\\.A-Za-z0-9]+\\b[^>]*>|-->|\\})"
}
},
{
"languageId": "go",
"indentationRules": {
"increaseIndentPattern": "^.*(\\bcase\\b.*:|\\bdefault\\b:|(\\b(func|if|else|switch|select|for|struct)\\b.*)?{[^}\"'`]*|\\([^)\"'`]*)$",
"decreaseIndentPattern": "^\\s*(\\bcase\\b.*:|\\bdefault\\b:|}[)}]*[),]?|\\)[,]?)$"
}
},
{
"languageId": "json",
"indentationRules": {
"increaseIndentPattern": "^.*(\\{[^}]*|\\[[^\\]]*)$",
"decreaseIndentPattern": "^\\s*[}\\]],?\\s*$"
}
},
{
"languageId": "less",
"indentationRules": {
"increaseIndentPattern": "(^.*\\{[^}]*$)",
"decreaseIndentPattern": "^\\s*\\}"
}
},
{
"languageId": "lua",
"indentationRules": {
"increaseIndentPattern": "^((?!(\\-\\-)).)*((\\b(else|function|then|do|repeat)\\b((?!\\b(end|until)\\b).)*)|(\\{\\s*))$",
"decreaseIndentPattern": "^\\s*((\\b(elseif|else|end|until)\\b)|(\\})|(\\)))"
}
},
{
"languageId": "php",
"indentationRules": {
"increaseIndentPattern": "({(?!.+}).*|\\(|\\[|((else(\\s)?)?if|else|for(each)?|while|switch).*:)\\s*(/[/*].*)?$",
"decreaseIndentPattern": "^(.*\\*\\/)?\\s*((\\})|(\\)+[;,])|(\\][;,])|\\b(else:)|\\b((end(if|for(each)?|while|switch));))"
}
},
{
"languageId": "ruby",
"indentationRules": {
"increaseIndentPattern": "^\\s*((begin|class|(private|protected)\\s+def|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|while|case)|([^#]*\\sdo\\b)|([^#]*=\\s*(case|if|unless)))\\b([^#\\{;]|(\"|'|/).*\\4)*(#.*)?$",
"decreaseIndentPattern": "^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(end|rescue|ensure|else|elsif|when)\\b)"
}
},
{
"languageId": "typescript",
"indentationRules": {
"increaseIndentPattern": "^((?!.*?\\/\\*).*\\*\\/)?\\s*[\\}\\]].*$",
"decreaseIndentPattern": "^((?!\\/\\/).)*(\\{[^}\"'`]*|\\([^)\"'`]*|\\[[^\\]\"'`]*)$"
}
},
{
"languageId": "yaml",
"indentationRules": {
"increaseIndentPattern": "^\\s*.*(:|-) ?(&amp;\\w+)?(\\{[^}\"']*|\\([^)\"']*)?$",
"decreaseIndentPattern": "^\\s+\\}$"
}
}
],
"hungryDelete.keepOneSpace": true,
"hungryDelete.followAbovelineIndent": true,
"hungryDelete.considerIncreaseIndentPattern": true,
"hungryDelete.keepOneSpaceException": ">;",
"hungryDelete.enableSmartBackspace": true,
/*
// ____ _ _
// | \|_|___ ___ ___ ___ _| |
// | | | |_ -| _| . | _| . |
// |____/|_|___|___|___|_| |___|
*/
"discord.detailsIdle": "Having a",
"discord.lowerDetailsIdle": "   🚬 and a ☕",
"discord.largeImageIdle": "Writing some code",
"discord.detailsEditing": "Working at:",
"discord.detailsDebugging": "Debugging:",
"discord.largeImage": "Writing {lang} code",
"discord.lowerDetailsDebugging": "   {workspace}",
"discord.lowerDetailsEditing": "   {workspace}",
"discord.lowerDetailsNotFound": "{currentline} of {totallines}",
"discord.smallImage": "Pokémod ❤️",
"discord.workspaceExcludePatterns": [
"frida",
"spongyelephant"
],
"discord.silent": false,
"discord.workspaceElapsedTime": true,
"eslint.codeActionsOnSave.mode": "problems",
"eslint.codeAction.showDocumentation": {
"enable": true
},
"eslint.format.enable": true,
"eslint.lintTask.enable": false,
"rewrap.reformat": true,
"rewrap.doubleSentenceSpacing": true,
"banner-comments-plus.favorites": [
"Calvin S",
"Rectangles",
"Doom",
"Contessa",
"Mini"
],
"banner-comments-plus.font": "Calvin S",
"banner-comments-plus.commentStyle": "block",
"python.jediEnabled": false,
"terminal.integrated.allowChords": false,
"rainbow_csv.csv_lint_detect_trailing_spaces": true,
"git-graph.loadMoreCommitsAutomatically": false,
"sync.forceDownload": false,
"debug.onTaskErrors": "debugAnyway",
"sync.forceUpload": true,
}
{
// Place your snippets for css here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
"Print to console": {
"prefix": "@media",
"body": [
"@media only screen and (min-width: 991px) and (max-width: 1170px) {",
" ${1:element} { ${2:property}: ${0:value} }",
"}",
"@media only screen and (min-width: 768px) and (max-width: 991px) {",
" ${1:element} { ${2:property}: ${0:value} }",
"}",
"@media only screen and (max-width: 768px) {",
" ${1:element} { ${2:property}: ${0:value} }",
"}",
"@media only screen and (max-width: 480) {",
" ${1:element} { ${2:property}: ${0:value} }",
"}",
"@media only screen and (max-width: 320px) {",
" ${1:element} { ${2:property}: ${0:value} }",
"}"
],
"description": "Add bootstrap @media boilerplate"
}
}
{
// Place your snippets for dotenv here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
}
{
// Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
// Placeholders with the same ids are connected.
// Example:
// "Print to console": {
// "scope": "javascript,typescript",
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
}
{
// Place your snippets for javascript here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
// "Frida: Attach": {
// "prefix": "Interceptor.attach",
// "body": [
// "Interceptor.attach(${1:getMethodOffset(${2:namespace}, ${3:className}, ${4:method}, ${5:arg#})}, {",
// " onEnter: (args) => {",
// " ${6:args[1] = 1;}",
// " },",
// " onLeave: (retval) => {",
// " ${7:retval.replace(ptr(0x0));}",
// " },",
// "});"
// ],
// "description": "Intercept calls to function at target. This is a NativePointer specifying the address of the function you would like to intercept calls to. Note that on 32-bit ARM this address must have its least significant bit set to 0 for ARM functions, and 1 for Thumb functions. Frida takes care of this detail for you if you get the address from a Frida API (for example Module.getExportByName()).\nThe callbacks argument is an object containing one or more of:\nonEnter: function (args): callback function given one argument args that can be used to read or write arguments as an array of NativePointer objects.\nonLeave: function (retval): callback function given one argument retval that is a NativePointer-derived object containing the raw return value. You may call retval.replace(1337) to replace the return value with the integer 1337, or retval.replace(ptr("0x1234")) to replace with a pointer. Note that this object is recycled across onLeave calls, so do not store and use it outside your callback. Make a deep copy if you need to store the contained value, e.g.: ptr(retval.toString())."
// },
// "Frida: Replace": {
// "prefix": "Interceptor.replace",
// "body": [
// "Interceptor.replace(${1:getMethodOffset(${2:namespace}, ${3:className}, ${4:method}, ${5:arg#})}, new NativeCallback((${6:object, intArg}) => {",
// " $0",
// "}, '${7:void}', [${8:'pointer'}, ${9:'int'}]));",
// ],
// "description": "Replace function at target with implementation at replacement. This is typically used if you want to fully or partially replace an existing function’s implementation.\nUse NativeCallback to implement a replacement in JavaScript.\nIn case the replaced function is very hot, you may implement replacement in C using CModule. You may then also specify the third optional argument data, which is a NativePointer accessible through gum_invocation_context_get_listener_function_data(). Use gum_interceptor_get_current_invocation() to get hold of the GumInvocationContext *.\nNote that replacement will be kept alive until Interceptor#revert is called.\nIf you want to chain to the original implementation you can synchronously call target through a NativeFunction inside your implementation, which will bypass and go directly to the original implementation."
// },
// "Frida: Replace & Chain": {
// "prefix": "Interceptor.chainReplace",
// "body": [
// "const functionToCall = new NativeFunction(${1:getMethodOffset(${2:namespace}, ${3:className}, ${4:method}, ${5:arg#})}, '${6:pointer}', ['pointer'${7}]);",
// "Interceptor.replace(${1:getMethodOffset(${2:namespace}, ${3:className}, ${4:method}, ${5:arg#})}, new NativeCallback( (object${8:${7}}) => {",
// " functionToCall(object${8:${7}});",
// " $0",
// "}, '${6:pointer}', ['pointer'${7}]));",
// ],
// "description": "Replace function at target with itself at replacement. This is typically used if you want to fully or partially replace an existing function’s implementation.\nUse NativeCallback to implement a replacement in JavaScript.\nIn case the replaced function is very hot, you may implement replacement in C using CModule. You may then also specify the third optional argument data, which is a NativePointer accessible through gum_invocation_context_get_listener_function_data(). Use gum_interceptor_get_current_invocation() to get hold of the GumInvocationContext *.\nNote that replacement will be kept alive until Interceptor#revert is called.\nIf you want to chain to the original implementation you can synchronously call target through a NativeFunction inside your implementation, which will bypass and go directly to the original implementation."
// },
// "Frida: new NativeFunction": {
// "prefix": "new NativeFunction",
// "body": [
// "new NativeFunction(${1:getMethodOffset(${2:namespace}, ${3:className}, ${4:method}, ${5:arg#})}, '${6:pointer}', [${7:'pointer', 'pointer'}]);",
// ],
// "description": "Create a new NativeFunction to call the function at address (specified with a NativePointer), where returnType specifies the return type, and the argTypes array specifies the argument types. You may optionally also specify abi if not system default. For variadic functions, add a '...' entry to argTypes between the fixed arguments and the variadic ones."
// },
}
{
// Place your snippets for php here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
"imprimir query": {
"prefix": "printquery",
"body": "echo '<pre>'; print_r($$this->db->last_query()); echo '</pre>'; die();"
}
{
// Place your snippets for plaintext here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
"Bash Init BP": {
"prefix": "bash",
"body": [
"#!/usr/bin/env bash",
"set -o errexit; set -o errtrace; set -o pipefail # Exit on errors",
"# Uncomment line below for debugging:",
"#PS4=$'+ $(tput sgr0)$(tput setaf 4)DEBUG ${FUNCNAME[0]:+${FUNCNAME[0]}}$(tput bold)[$(tput setaf 6)${LINENO}$(tput setaf 4)]: $(tput sgr0)'; set -o xtrace",
"__deps=( \"sed\" \"grep\" )",
"for dep in ${__deps[@]}; do hash $dep >& /dev/null || (echo \"$dep was not found. Please install it and try again.\" && exit 1); done",
],
"description": "Shebang and some BP for bash"
},
"Python Init BP": {
"description": "Default starting boilerplate for Python scripts without argument parsing.",
"prefix": "python",
"body": [
"#!/usr/bin/env python3",
"\"\"\"",
"Module Docstring",
"\"\"\"",
"",
"__author__ = \"Your Name\"",
"__version__ = \"0.1.0\"",
"__license__ = \"MIT\"",
"",
"",
"def main():",
" \"\"\" Main entry point of the app \"\"\"",
" print(\"hello world\")",
"",
"",
"if __name__ == \"__main__\":",
" \"\"\" This is executed when run from the command line \"\"\"",
" main()",
]
},
}
{
// Place your snippets for python here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
"Simple Class": {
"description": "Simple class with __init__",
"prefix": "class",
"body": [
"class ${1:ClassName}(object):",
" def __init__(self):",
" self.${2:var} = True"
],
},
"Default Logging": {
"description": "Snippet for logzero using default logger, with custom formatter and some fixes.",
"prefix": "pythonlogzero",
"body": [
"import logzero",
"from logzero import logger",
"",
"logzero.LogFormatter.DEFAULT_COLORS[logzero.logging.CRITICAL] = logzero.ForegroundColors.RED",
"CUSTOM_FORMAT = logzero.LogFormatter(",
" fmt='%(color)s[%(asctime)s] %(module)8.8s:%(lineno)3.3d %(levelname)1.1s | %(end_color)s%(message)s',",
" datefmt='%I:%M:%S')",
"logzero.setup_default_logger(formatter=CUSTOM_FORMAT)",
]
},
"Boilerplate (with argparse)": {
"description": "Default starting boilerplate for Python scripts with argument parsing.",
"prefix": "pythonbpargs",
"body": [
"#!/usr/bin/env python3",
"\"\"\"",
"Module Docstring",
"\"\"\"",
"",
"__author__ = \"Your Name\"",
"__version__ = \"0.1.0\"",
"__license__ = \"MIT\"",
"",
"import argparse",
"from logzero import logger",
"",
"",
"def main(args):",
" \"\"\" Main entry point of the app \"\"\"",
" logger.info(\"hello world\")",
" logger.info(args)",
"",
"",
"if __name__ == \"__main__\":",
" parser = argparse.ArgumentParser()",
"",
" # Required single positional argument",
" parser.add_argument(\"arg\", ",
" help=\"Required positional argument (a single thing).\")",
"",
" # Required multime positional arguments",
" parser.add_argument('items', nargs='+', ",
" help='Required various positional arguments (a list).')",
"",
" # Optional argument flag which defaults to False",
" parser.add_argument(\"-f\", \"--flag\", action=\"store_true\", default=False,",
" help=\"Activate Flag (false by default)\")",
"",
" # Optional argument which requires a parameter (eg. -d test)",
" parser.add_argument(\"-n\", \"--name\", action=\"store\", dest=\"name\",",
" help=\"Specifies a name if necessary.\")",
"",
" # Optional extra verbosity level.",
" parser.add_argument(\"-v\", \"--verbose\", action=\"store_const\", default=\"INFO\", const=\"DEBUG\",",
" help=\"Increases verbosity. Shows debugging log messages.\")",
"",
" # Specify output of \"--version\"",
" parser.add_argument(\"--version\", action=\"version\", ",
" version=\"%(prog)s (version {version})\".format(version=__version__))",
"",
" args = parser.parse_args()",
" logger.setLevel(args.verbose)",
"",
" main(args)",
]
},
"Boilerplate (async with argparse)": {
"description": "Default starting boilerplate for Python scripts with argument parsing.",
"prefix": "pythonbpasync",
"body": [
"#!/usr/bin/env python3",
"\"\"\"",
"Module Docstring",
"\"\"\"",
"",
"__author__ = \"Your Name\"",
"__version__ = \"0.1.0\"",
"__license__ = \"MIT\"",
"",
"import argparse",
"import asyncio",
"from sys import platform",
"",
"from logzero import logger",
"",
"",
"class Main:",
" def __init__(self, args):",
" self.args = args",
"",
" async def start(self):",
" logger.info(\"hello world\")",
" logger.info(self.args)",
"",
"",
"if __name__ == \"__main__\":",
" if platform == 'win32':",
" asyncio.set_event_loop_policy(asyncio.WindowsProactorEventLoopPolicy())",
" parser = argparse.ArgumentParser()",
"",
" # Required single positional argument",
" parser.add_argument(\"arg\",",
" help=\"Required positional argument (a single thing).\")",
"",
" # Required multime positional arguments",
" parser.add_argument('items', nargs='+',",
" help='Required various positional arguments (a list).')",
"",
" # Optional argument flag which defaults to False",
" parser.add_argument(\"-f\", \"--flag\", action=\"store_true\", default=False,",
" help=\"Activate Flag (false by default)\")",
"",
" # Optional argument which requires a parameter (eg. -d test)",
" parser.add_argument(\"-n\", \"--name\", action=\"store\", dest=\"name\",",
" help=\"Specifies a name if necessary.\")",
"",
" # Optional extra verbosity level.",
" parser.add_argument(\"-v\", \"--verbose\", action=\"store_const\", default=\"INFO\", const=\"DEBUG\",",
" help=\"Increases verbosity. Shows debugging log messages.\")",
"",
" # Specify output of \"--version\"",
" parser.add_argument(\"--version\", action=\"version\", ",
" version=\"%(prog)s (version {version})\".format(version=__version__))",
"",
" args = parser.parse_args()",
" logger.setLevel(args.verbose)",
"",
" asyncio.run(Main(args).start())",
]
},
}
{
// Place your snippets for shellscript here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
"While Read Loop": {
"prefix": "whileread",
"body": [
"while read ${1:line}; do",
" ${0:echo \"Word count per line: $line\"}",
"done < <(${2:cat list-of-dirs.txt | wc -w})",
],
"description": "Reads a file in a while loop, line by line.\nMore robust than a for loop."
},
"If Block": {
"prefix": "if",
"body": [
"if [[ ${1:condition} ]]; then",
" ${0:#something}",
"fi",
],
"description": "If Basic Block"
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment