Skip to content

Instantly share code, notes, and snippets.

@damlys
Last active March 28, 2023 14:46
Show Gist options
  • Save damlys/c31bbe917a08edde67516444868818db to your computer and use it in GitHub Desktop.
Save damlys/c31bbe917a08edde67516444868818db to your computer and use it in GitHub Desktop.
vscode settings
$ code --list-extensions
alefragnani.Bookmarks
amazonwebservices.aws-toolkit-vscode
eamodio.gitlens
EditorConfig.EditorConfig
esbenp.prettier-vscode
foxundermoon.shell-format
GitHub.codespaces
GitHub.copilot
GitHub.remotehub
github.vscode-github-actions
GitHub.vscode-pull-request-github
golang.go
googlecloudtools.cloudcode
hashicorp.hcl
hashicorp.terraform
ms-azuretools.vscode-docker
ms-kubernetes-tools.vscode-kubernetes-tools
ms-vscode-remote.remote-containers
ms-vscode.azure-repos
ms-vscode.remote-repositories
redhat.vscode-xml
redhat.vscode-yaml
streetsidesoftware.code-spell-checker
xdebug.php-debug
[
{
"key": "alt+tab",
"command": "workbench.files.action.showActiveFileInExplorer",
"when": "editorTextFocus"
},
{
"key": "escape",
"command": "workbench.action.focusActiveEditorGroup",
"when": "filesExplorerFocus || searchViewletFocus"
},
{
"key": "ctrl+escape",
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus"
},
{
"key": "enter",
"command": "-renameFile"
},
{
"key": "f2",
"command": "renameFile",
"when": "filesExplorerFocus"
},
{
"key": "cmd+backspace",
"command": "-deleteAllLeft",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "cmd+backspace",
"command": "editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
// Git
{
"key": "alt+cmd+z",
"command": "git.revertSelectedRanges",
"when": "editorTextFocus"
},
// macOS native tabs
{
"key": "cmd+w",
"command": "-workbench.action.closeWindow"
},
{
"key": "cmd+shift+w",
"command": "-workbench.action.closeWindow"
},
{
"key": "cmd+t",
"command": "-workbench.action.showAllSymbols"
},
{
"key": "cmd+t",
"command": "workbench.action.newWindowTab"
},
{
"key": "cmd+shift+]",
"command": "-workbench.action.nextEditor"
},
{
"key": "cmd+shift+]",
"command": "workbench.action.showNextWindowTab"
},
{
"key": "cmd+shift+[",
"command": "-workbench.action.previousEditor"
},
{
"key": "cmd+shift+[",
"command": "workbench.action.showPreviousWindowTab"
},
// Editor
{
"key": "cmd+w",
"command": "-workbench.action.closeActiveEditor"
},
{
"key": "cmd+w",
"command": "workbench.action.closeActiveEditor",
"when": "editorFocus"
},
{
"key": "cmd+shift+w",
"command": "workbench.action.closeAllEditors"
},
// Terminal
{
"key": "ctrl+shift+`",
"command": "-workbench.action.terminal.new"
},
{
"key": "ctrl+shift+`",
"command": "workbench.action.toggleMaximizedPanel",
"when": "terminalFocus"
},
{
"key": "cmd+n",
"command": "workbench.action.terminal.new",
"when": "terminalFocus || terminalTabsFocus"
},
{
"key": "ctrl+tab",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus"
},
{
"key": "cmd+w",
"command": "workbench.action.terminal.kill",
"when": "terminalFocus"
},
{
"key": "cmd+shift+w",
"command": "workbench.action.terminal.killAll",
"when": "terminalFocus"
},
{
"key": "escape",
"command": "workbench.action.terminal.focus",
"when": "terminalTabsFocus"
},
// Disable splitting
{
"key": "ctrl+shift+5",
"command": "-workbench.action.terminal.split"
},
{
"key": "cmd+\\",
"command": "-workbench.action.terminal.split"
},
{
"key": "cmd+\\",
"command": "-workbench.action.splitEditor"
},
{
"key": "cmd+k cmd+shift+\\",
"command": "-workbench.action.splitEditorInGroup"
},
{
"key": "cmd+k cmd+\\",
"command": "-workbench.action.splitEditorOrthogonal"
},
{
"key": "ctrl+shift+5",
"command": "-workbench.action.terminal.splitInstance"
},
{
"key": "cmd+\\",
"command": "-workbench.action.terminal.splitInstance"
},
{
"key": "cmd+k cmd+shift+\\",
"command": "-notebook.cell.split"
},
// Fix Polish characters (ąćęłńóśźżĄĆĘŁŃÓŚŹŻ)
{
"key": "alt+c",
"command": "",
"when": "textInputFocus"
},
{
"key": "alt+z",
"command": "",
"when": "textInputFocus"
},
{
"key": "shift+alt+a",
"command": "",
"when": "textInputFocus"
},
{
"key": "shift+alt+l",
"command": "",
"when": "textInputFocus"
}
]
{
"editor.fontSize": 14,
"editor.letterSpacing": 0,
"editor.lineHeight": 1.4,
"editor.indentSize": 2,
"editor.tabSize": 2,
"terminal.integrated.fontSize": 14,
"terminal.integrated.letterSpacing": 0,
"terminal.integrated.lineHeight": 1.4,
"markdown.preview.fontSize": 14,
"markdown.preview.lineHeight": 1.4,
"files.encoding": "utf8",
"files.eol": "\n",
"files.trimTrailingWhitespace": true,
"files.trimFinalNewlines": true,
"files.insertFinalNewline": true,
"files.autoSave": "onFocusChange",
"files.enableTrash": false,
"files.exclude": {
"**/.DS_Store": true,
"**/.git": false,
"**/.hg": false,
"**/.svn": false,
"**/CVS": false,
"**/Thumbs.db": false
},
"search.exclude": {
"**/.git": true,
"**/*.code-search": true,
"**/bower_components": true,
"**/node_modules": true
},
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"yaml.format.printWidth": 120,
"prettier.printWidth": 120,
"[dockerfile]": { "editor.defaultFormatter": "ms-azuretools.vscode-docker" },
"[go]": { "editor.defaultFormatter": "golang.go" },
"[hcl]": { "editor.defaultFormatter": "hashicorp.hcl" },
"[helm]": { "editor.defaultFormatter": null, "editor.formatOnSave": false },
"[ignore]": { "editor.defaultFormatter": "foxundermoon.shell-format" },
"[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
"[json][jsonc]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
"[markdown]": { "editor.tabSize": 4 },
"[shellscript]": { "editor.defaultFormatter": "foxundermoon.shell-format" },
"[terraform][terraform-vars]": { "editor.defaultFormatter": "hashicorp.terraform" },
"[typescript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
"[xml]": { "editor.defaultFormatter": "redhat.vscode-xml" },
"[yaml]": { "editor.defaultFormatter": "redhat.vscode-yaml" },
"breadcrumbs.enabled": false,
"diffEditor.wordWrap": "off",
"editor.bracketPairColorization.enabled": false,
"editor.codeLens": true, // github copilot requires that
"editor.folding": false,
"editor.guides.indentation": false,
"editor.inlineSuggest.enabled": true,
"editor.lineNumbers": "off",
"editor.matchBrackets": "near",
"editor.minimap.enabled": false,
"editor.occurrencesHighlight": true,
"editor.renderControlCharacters": true,
"editor.renderLineHighlight": "line",
"editor.renderWhitespace": "none",
"editor.smoothScrolling": false,
"editor.suggestSelection": "recentlyUsed",
"editor.wordWrap": "off",
"explorer.compactFolders": false,
"terminal.integrated.tabs.showActions": "never",
"window.nativeTabs": true,
"window.restoreWindows": "none",
"workbench.activityBar.visible": true,
"workbench.editor.enablePreview": false,
"workbench.editor.openPositioning": "first",
"workbench.editor.showTabs": false,
"workbench.editor.splitOnDragAndDrop": false,
"workbench.iconTheme": null,
"workbench.settings.editor": "json",
"workbench.settings.useSplitJSON": false,
"workbench.startupEditor": "none",
"workbench.statusBar.visible": false,
"workbench.tips.enabled": false,
"workbench.tree.renderIndentGuides": "none",
"git.autoRepositoryDetection": "subFolders",
"gitlens.blame.format": "${author|16?} ${agoOrDate|14-}",
"gitlens.codeLens.enabled": false,
"gitlens.currentLine.enabled": false,
"gitlens.defaultDateFormat": "YYYY-MM-DD hh:mm:ss",
"gitlens.defaultDateShortFormat": "YYYY-MM-DD",
"gitlens.defaultTimeFormat": "hh:mm:ss",
"gitlens.hovers.currentLine.over": "line",
"gitlens.hovers.enabled": false,
"gitlens.showWhatsNewAfterUpgrades": false,
"vs-kubernetes": {
"vs-kubernetes.crd-code-completion": "enabled"
},
"yaml.schemas": {
"file:///root/.vscode-server/extensions/atlassian.atlascode-3.0.2/resources/schemas/pipelines-schema.json": "bitbucket-pipelines.yml"
},
"yaml.customTags": [
"!And",
"!And sequence",
"!If",
"!If sequence",
"!Not",
"!Not sequence",
"!Equals",
"!Equals sequence",
"!Or",
"!Or sequence",
"!FindInMap",
"!FindInMap sequence",
"!Base64",
"!Join",
"!Join sequence",
"!Cidr",
"!Ref",
"!Sub",
"!Sub sequence",
"!GetAtt",
"!GetAZs",
"!ImportValue",
"!ImportValue sequence",
"!Select",
"!Select sequence",
"!Split",
"!Split sequence"
],
"cSpell.userWords": [
],
"redhat.telemetry.enabled": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment