Skip to content

Instantly share code, notes, and snippets.

@percygrunwald
Last active September 7, 2021 01:26
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 percygrunwald/37e5b06dad39c47a42df3af93e4d11ab to your computer and use it in GitHub Desktop.
Save percygrunwald/37e5b06dad39c47a42df3af93e4d11ab to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-09-07T01:26:03.389Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "c821cdcd-134b-4c94-99ab-34d3cd83ab74",
"publisherId": "haaaad.ansible",
"publisherDisplayName": "haaaad"
},
"name": "ansible",
"publisher": "haaaad",
"version": "0.2.8"
},
{
"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": "3b3d36c0-6af6-4ede-aaba-6f460423ddea",
"publisherId": "casualjim.gotemplate",
"publisherDisplayName": "casualjim"
},
"name": "gotemplate",
"publisher": "casualjim",
"version": "0.4.0"
},
{
"metadata": {
"id": "f30b63fa-e34a-40af-a573-5de5ecfb6c5e",
"publisherId": "k--kato.intellij-idea-keybindings",
"publisherDisplayName": "k--kato"
},
"name": "intellij-idea-keybindings",
"publisher": "k--kato",
"version": "0.2.41"
},
{
"metadata": {
"id": "8b477a76-974c-403d-a454-58028c1709d1",
"publisherId": "samuelcolvin.jinjahtml",
"publisherDisplayName": "samuelcolvin"
},
"name": "jinjahtml",
"publisher": "samuelcolvin",
"version": "0.16.0"
},
{
"metadata": {
"id": "607fd052-be03-4363-b657-2bd62b83d28a",
"publisherId": "ms-vscode-remote.remote-ssh",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "remote-ssh",
"publisher": "ms-vscode-remote",
"version": "0.61.0"
},
{
"metadata": {
"id": "bfeaf631-bcff-4908-93ed-fda4ef9a0c5c",
"publisherId": "ms-vscode-remote.remote-ssh-edit",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "remote-ssh-edit",
"publisher": "ms-vscode-remote",
"version": "0.65.7"
},
{
"metadata": {
"id": "c6f87c08-f5ca-4f59-8cee-bc29464dcbfb",
"publisherId": "scala-lang.scala",
"publisherDisplayName": "scala-lang"
},
"name": "scala",
"publisher": "scala-lang",
"version": "0.5.4"
},
{
"metadata": {
"id": "9241744d-f4d5-42f1-adff-798ef15725d3",
"publisherId": "percygrunwald.vscode-intellij-recent-files",
"publisherDisplayName": "percygrunwald"
},
"name": "vscode-intellij-recent-files",
"publisher": "percygrunwald",
"version": "1.0.0"
},
{
"metadata": {
"id": "23d72dfc-8dd1-4e30-926e-8783b4378f13",
"publisherId": "ms-vscode-remote.vscode-remote-extensionpack",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "vscode-remote-extensionpack",
"publisher": "ms-vscode-remote",
"version": "0.21.0"
},
{
"metadata": {
"id": "708cfcd8-e0c6-49ca-9af6-b27a342d247b",
"publisherId": "wingrunr21.vscode-ruby",
"publisherDisplayName": "wingrunr21"
},
"name": "vscode-ruby",
"publisher": "wingrunr21",
"version": "0.28.0"
}
]
{
"remoteListeningOn": {
"port": 42037
},
"osReleaseId": "ubuntu",
"arch": "x86_64",
"webUiAccessToken": "",
"sshAuthSock": "/tmp/ssh-U2hfuMG7tZ/agent.41889",
"tmpDir": "/run/user/1766",
"platform": "linux",
"serverStartTime": 414,
"pid": 58159,
"ipcHandlePath": "/var/folders/06/szg1cyzx26l57lk26fgd3wdm0000gn/T/vscode-ssh-askpass-4816e7915f38a9dbf155061613feb7857238d20e.sock",
"socksPort": 62833,
"startupTime": 1630977873899
}
{
"agentPort": 34698,
"osReleaseId": "debian",
"arch": "x86_64",
"webUiAccessToken": "",
"sshAuthSock": "/tmp/ssh-xRzavFRtxS/agent.11263",
"tmpDir": "/run/user/1766",
"platform": "linux",
"pid": 99055,
"ipcHandlePath": "/var/folders/06/szg1cyzx26l57lk26fgd3wdm0000gn/T/vscode-ssh-askpass-b109a72eb18b50592dffe72762575c8a5764f23f.sock",
"socksPort": 62114,
"startupTime": 1591814536291
}
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "shift+cmd+m",
"command": "-workbench.actions.view.problems"
},
{
"key": "shift+cmd+m",
"command": "workbench.action.terminal.toggleTerminal",
"when": "terminalFocus"
},
{
"key": "shift+cmd+m",
"command": "workbench.action.terminal.focus",
"when": "!terminalFocus"
},
{
"key": "ctrl+`",
"command": "-workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+shift+`",
"command": "-workbench.action.terminal.new"
},
{
"key": "cmd+t",
"command": "workbench.action.terminal.new",
"when": "terminalFocus"
},
{
"key": "cmd+n",
"command": "workbench.action.terminal.new",
"when": "terminalFocus"
},
{
"key": "cmd+]",
"command": "-workbench.action.navigateForward"
},
{
"key": "cmd+[",
"command": "-workbench.action.navigateBack"
},
{
"key": "cmd+]",
"command": "workbench.action.navigateForward",
"when": "!terminalFocus"
},
{
"key": "cmd+[",
"command": "workbench.action.navigateBack",
"when": "!terminalFocus"
},
{
"key": "shift+cmd+[",
"command": "-workbench.action.terminal.focusPrevious",
"when": "terminalFocus"
},
{
"key": "shift+cmd+]",
"command": "-workbench.action.terminal.focusNext",
"when": "terminalFocus"
},
{
"key": "cmd+[",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus"
},
{
"key": "cmd+]",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus"
},
{
"key": "shift+cmd+]",
"command": "workbench.action.terminal.focusNextPane",
"when": "terminalFocus"
},
{
"key": "shift+cmd+[",
"command": "workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus"
},
{
"key": "cmd+n",
"command": "-workbench.action.files.newUntitledFile"
},
{
"key": "cmd+n",
"command": "explorer.newFile",
"when": "explorerViewletFocus"
},
{
"key": "alt+cmd+backspace",
"command": "-deleteFile"
},
{
"key": "backspace",
"command": "deleteFile",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus"
},
{
"key": "shift+cmd+s",
"command": "-workbench.action.files.saveAs"
},
{
"key": "shift+cmd+s",
"command": "workbench.action.gotoSymbol"
},
{
"key": "shift+cmd+o",
"command": "-workbench.action.gotoSymbol"
},
{
"key": "escape",
"command": "workbench.action.focusFirstEditorGroup",
"when": "explorerViewletVisible && filesExplorerFocus"
},
{
"key": "cmd+2",
"command": "-workbench.action.focusSecondEditorGroup"
},
{
"key": "cmd+2",
"command": "workbench.action.focusFirstEditorGroup"
},
{
"key": "cmd+3",
"command": "-workbench.view.search",
"when": "!searchViewletVisible"
},
{
"key": "cmd+3",
"command": "-workbench.action.focusThirdEditorGroup"
},
{
"key": "cmd+3",
"command": "workbench.action.focusSecondEditorGroup"
},
{
"key": "cmd+w",
"command": "workbench.action.terminal.kill",
"when": "terminalFocus"
},
{
"key": "shift+cmd+1",
"command": "revealInExplorer"
},
{
"key": "cmd+1",
"command": "-workbench.action.focusFirstEditorGroup"
},
{
"key": "cmd+1",
"command": "-workbench.action.toggleSidebarVisibility",
"when": "!editorFocus"
},
{
"key": "cmd+1",
"command": "-workbench.view.explorer",
"when": "editorFocus"
},
{
"key": "cmd+1",
"command": "workbench.view.explorer",
"when": ""
},
{
"key": "cmd+1",
"command": "workbench.action.toggleSidebarVisibility",
"when": "explorerViewletVisible && explorerViewletFocus && filesExplorerFocus"
},
{
"key": "cmd+1",
"command": "workbench.files.action.focusFilesExplorer",
"when": "explorerViewletVisible && explorerViewletFocus && !filesExplorerFocus"
},
{
"key": "shift+cmd+f",
"command": "filesExplorer.findInFolder",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsFolder"
},
{
"key": "shift+cmd+w",
"command": "toggleSearchWholeWord",
"when": "searchInputBoxFocus && searchViewletVisible"
},
{
"key": "shift+cmd+g",
"command": "toggleSearchRegex",
"when": "searchInputBoxFocus && searchViewletVisible"
},
{
"key": "shift+cmd+c",
"command": "-workbench.action.terminal.openNativeConsole",
"when": "!terminalFocus"
},
{
"key": "shift+cmd+c",
"command": "toggleSearchCaseSensitive",
"when": "searchInputBoxFocus && searchViewletVisible"
},
{
"key": "shift+cmd+c",
"command": "relative-path-and-line.copyRelativePathAndLine",
"when": "editorFocus"
},
{
"key": "alt+enter",
"command": "editor.action.showHover",
"when": "editorTextFocus"
},
{
"key": "cmd+e",
"command": "-workbench.action.openRecent"
},
{
"key": "cmd+e",
"command": "extension.intellijRecentFiles",
"when": "!inQuickOpen"
},
{
"key": "cmd+e",
"command": "workbench.action.quickOpenNavigateNext",
"when": "inQuickOpen"
},
{
"key": "shift+cmd+e",
"command": "workbench.action.quickOpenNavigatePrevious",
"when": "inQuickOpen"
},
{
"key": "cmd+e",
"command": "workbench.action.quickOpenNavigateNext",
"when": "inQuickOpen"
},
{
"key": "cmd+left",
"command": "workbench.files.action.collapseExplorerFolders",
"when": "explorerViewletVisible && filesExplorerFocus"
},
{
"key": "cmd+right",
"command": "list.focusLast",
"when": "explorerViewletVisible && filesExplorerFocus"
},
{
"key": "cmd+d",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+cmd+d",
"command": "-workbench.view.debug"
},
{
"key": "shift+cmd+d",
"command": "editor.action.selectHighlights",
"when": "editorFocus"
},
{
"key": "cmd+p",
"command": "-workbench.action.quickOpen"
},
{
"key": "cmd+b",
"command": "-workbench.action.toggleSidebarVisibility"
},
{
"key": "cmd+b",
"command": "editor.action.goToDeclaration",
"when": "editorHasDefinitionProvider"
},
{
"key": "cmd+down",
"command": "-editor.action.goToDeclaration",
"when": "editorHasDefinitionProvider && editorTextFocus"
},
{
"key": "alt+enter",
"command": "-editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "shift+cmd+a",
"command": "editor.action.marker.nextInFiles",
"when": "editorFocus && !editorReadOnly"
},
{
"key": "cmd+t",
"command": "-git.sync"
},
{
"key": "shift+cmd+c",
"command": "toggleFindCaseSensitive",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "shift+cmd+r",
"command": "toggleFindRegex",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "shift+cmd+w",
"command": "toggleFindWholeWord",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "shift+cmd+e",
"command": "-workbench.view.explorer",
},
{
"key": "shift+cmd+e",
"command": "editor.action.goToDeclaration",
"when": "editorHasDefinitionProvider && editorTextFocus"
},
{
"key": "shift+cmd+n",
"command": "-workbench.action.newWindow"
},
{
"key": "shift+cmd+n",
"command": "workbench.action.newWindow",
"when": "!filesExplorerFocus"
},
{
"key": "shift+cmd+n",
"command": "explorer.newFolder",
"when": "filesExplorerFocus"
},
{
"key": "cmd+r",
"command": "-editor.action.startFindReplaceAction"
},
{
"key": "cmd+r",
"command": "editor.action.startFindReplaceAction",
"when": "editorFocus"
},
{
"key": "cmd+r",
"command": "git.refresh",
"when": "!editorFocus"
},
{
"key": "cmd+r",
"command": "renameFile",
"when": "explorerViewletVisible && filesExplorerFocus"
},
{
"key": "cmd+r",
"command": "workbench.action.terminal.rename",
"when": "terminalFocus"
},
{
"key": "shift+cmd+a",
"command": "-workbench.action.showCommands"
},
{
"key": "shift+alt+down",
"command": "workbench.action.terminal.selectToNextLine",
"when": "terminalFocus"
},
{
"key": "shift+alt+up",
"command": "workbench.action.terminal.selectToPreviousLine",
"when": "terminalFocus"
},
{
"key": "ctrl+r",
"command": "-workbench.action.openRecent"
},
{
"key": "alt+r",
"command": "workbench.action.openRecent"
},
{
"key": "shift+cmd+w",
"command": "-workbench.action.closeWindow"
},
{
"key": "shift+alt+w",
"command": "workbench.action.closeWindow"
},
{
"key": "alt+up",
"command": "-editor.action.smartSelect.grow",
"when": "editorTextFocus"
},
{
"key": "alt+down",
"command": "-editor.action.smartSelect.shrink",
"when": "editorTextFocus"
},
{
"key": "alt+up",
"command": "-editor.action.smartSelect.grow",
"when": "editorTextFocus"
},
{
"key": "alt+down",
"command": "-editor.action.smartSelect.shrink",
"when": "editorTextFocus"
},
{
"key": "ctrl+up",
"command": "editor.action.smartSelect.grow",
"when": "editorTextFocus"
},
{
"key": "ctrl+down",
"command": "editor.action.smartSelect.shrink",
"when": "editorTextFocus"
},
{
"key": "alt+up",
"command": "cursorMove",
"args": {
"to": "up",
"by": "line",
"value": 5
},
"when": "editorTextFocus"
},
{
"key": "alt+down",
"command": "cursorMove",
"args": {
"to": "down",
"by": "line",
"value": 5
},
"when": "editorTextFocus"
},
{
"key": "cmd+o",
"command": "-workbench.action.files.openFileFolder"
},
{
"key": "alt+o",
"command": "workbench.action.files.openFileFolder"
},
{
"key": "shift+cmd+w",
"command": "cSpell.addWordToUserDictionary",
"when": "editorFocus && !findWidgetVisible"
},
{
"key": "shift+alt+cmd+c",
"command": "-copyRelativeFilePath",
"when": "!editorFocus"
},
{
"key": "shift+cmd+c",
"command": "-copyFilePath",
"when": "!editorFocus"
},
{
"key": "shift+cmd+c",
"command": "copyRelativeFilePath",
"when": "!editorFocus"
},
{
"key": "shift+alt+c",
"command": "copyFilePath",
"when": "!editorFocus"
},
{
"key": "cmd+d",
"command": "-editor.action.duplicateSelection",
"when": "editorHasSelection && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+\\",
"command": "-workbench.action.splitEditor"
},
{
"key": "cmd+\\",
"command": "workbench.action.splitEditorDown",
"when": "!terminalFocus"
},
{
"key": "ctrl+r",
"command": "-workbench.action.tasks.reRunTask"
},
{
"key": "cmd+9",
"command": "workbench.view.scm",
"when": "terminalFocus"
},
]
{
"editor.tabSize": 2,
"editor.tabCompletion": "on",
"editor.insertSpaces": true,
"editor.minimap.enabled": false,
"window.zoomLevel": 1,
"workbench.activityBar.visible": false,
"workbench.editor.showTabs": false,
"sync.gist": "37e5b06dad39c47a42df3af93e4d11ab",
"sync.host": "",
"sync.pathPrefix": "",
"sync.quietSync": false,
"sync.askGistName": false,
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"sync.autoDownload": false,
"sync.autoUpload": false,
"sync.lastUpload": "2018-07-02T05:59:21.666Z",
"sync.lastDownload": "",
"sync.forceDownload": false,
"editor.fontSize": 14,
"editor.lineHeight": 20,
"files.trimTrailingWhitespace": true,
"files.associations": {
"**/defaults/**/*": "ansible",
"**/tasks/**/*.yml": "ansible",
"**/handlers/*.yml": "ansible",
"**/*_vars/**/*.yml": "ansible",
"**/roles/**/*.yml": "ansible",
"**/playbooks/**/*.yml": "ansible",
"**/*ansible*/**/*.yml": "ansible",
"**/vars/**/*.yml": "ansible",
"**/inventory/*/*": "ansible",
"**/ansible/**/templates/**/*": "jinja",
"**/ansible/**/templates/**/*.yml": "jinja-yaml"
},
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/*/**": true,
"**/tmp/babel_cache/**": true,
"**/tmp/cache/**": true
},
"files.autoSave": "onFocusChange",
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/*.pyc": true,
"**/.elixir_ls": true,
"**/.idea": true,
"**/.terragrunt-cache": true,
"**/.vagrant": true,
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"search.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/*.pyc": true,
"**/_build/**/*.*": true,
"**/*.beam": true,
"**/.elixir_ls/**/*.*": true,
"**/.terragrunt-cache": true,
"**/.vagrant": true
},
"search.useIgnoreFiles": false,
"window.newWindowDimensions": "maximized",
"editor.rulers": [
80,
100,
120
],
"emmet.includeLanguages": {
"HTML (Eex)": "html",
"gohtml": "html",
"jinja-html": "html",
"jinja-yaml": "yaml"
},
"ruby.intellisense": "rubyLocate",
"ruby.codeCompletion": "rcodetools",
"ruby.lint": {
"rubocop": true,
"ruby": true,
// "ruby-lint": true
},
"ruby.format": "rubocop",
"[ruby]": {
"editor.defaultFormatter": "rebornix.ruby"
},
"sassFormat.indent": 2,
"beautify.language": {
"js": {
"type": [
"javascript",
"json"
],
"filename": [
".jshintrc",
".jsbeautifyrc"
]
},
"css": [],
"html": [
"htm",
"html",
"HTML (Eex)",
"gohtml",
"php"
]
},
"files.insertFinalNewline": true,
"explorer.confirmDragAndDrop": false,
"cSpell.ignorePaths": [
"node_modules",
"**/node_modules",
"**/node_modules/**",
"node_modules/**",
"vscode-extension",
".git",
"*.dll",
"**/*.dll",
"*.scss"
],
"cSpell.userWords": [
"",
"agentless",
"ansible",
"ansible's",
"asdf",
"autoclean",
"autoremove",
"backend",
"behaviour",
"benchee",
"bootcamp",
"centos",
"charcode",
"charcodes",
"charlist",
"charlists",
"chdir",
"clickbait",
"clickbaity",
"cpus",
"distro",
"distros",
"downcase",
"downcased",
"drupal",
"epel",
"erlang",
"exercism",
"exercism's",
"grapheme",
"haproxy",
"hostnames",
"idempotence",
"isogram",
"jinja",
"keyring",
"keyserver",
"laravel",
"leaderboard",
"mitogen",
"mkdir",
"netstat",
"nginx",
"nonpattern",
"nucleotide",
"nucleotides",
"parallelize",
"parallelizing",
"percygrunwald",
"playbook",
"precompile",
"precompiled",
"prepend",
"provisioner",
"pseudocode",
"recurse",
"relref",
"repo",
"reshim",
"rsync",
"rsyslog",
"sbin",
"solaris",
"suboptimal",
"sudoers",
"symlink",
"symlinks",
"syslog",
"systemd",
"taskbar",
"templated",
"templating",
"terraform",
"unarchive",
"uncomment",
"unfeasibly",
"vagrantfile",
"vhosts",
"visudo",
"walkthrough",
"welyn",
"wordpress"
],
"workbench.colorTheme": "Visual Studio Light",
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"java.errors.incompleteClasspath.severity": "ignore",
"python.jediEnabled": false,
"gitlens.advanced.messages": {
"suppressGitVersionWarning": true
},
"terminal.integrated.shell.linux": "/bin/bash",
"sync.forceUpload": true,
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"terraform.codelens.enabled": true,
"terraform.languageServer": {
"external": true,
"args": [
"serve"
]
},
"terraform.indexing": {
"enabled": false,
"liveIndexing": false,
"delay": 500,
"exclude": [
".terraform/**/*",
"**/.terraform/**/*"
]
},
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"diffEditor.ignoreTrimWhitespace": false,
"terminal.integrated.scrollback": 10000,
"remote.SSH.maxReconnectionAttempts": 1,
"update.mode": "manual",
"go.toolsManagement.autoUpdate": true,
"python.languageServer": "Microsoft",
"workbench.startupEditor": "newUntitledFile",
"[javascript]": {
"editor.defaultFormatter": "HookyQR.beautify"
}
}
{
// Place your snippets for dockerfile 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"
// }
"run": {
"prefix": "run",
"body": [
"RUN set -xe \\",
" && "
],
"description": "RUN statement"
}
}
{
// Place your snippets for Eex 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"
// }
"<% %>": {
"prefix": "l",
"body": [
"<% $1 %>"
],
"description": "<% %>"
},
"<%= %>": {
"prefix": "l=",
"body": [
"<%= $1 %>"
],
"description": "<%= %>"
},
}
{
// Place your snippets for elixir 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"
// }
"IO.inspect/1": {
"prefix": "ins",
"body": [
"IO.inspect($1)"
],
"description": "IO.inspect/1"
},
"with": {
"prefix": "with",
"body": [
"with $1 <- $2$0 do",
" :ok",
"else",
" {:error, message} ->",
" {:error, message}",
"end"
]
}
}
{
// Place your snippets for gohtml 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"
// }
"CDATA": {
"prefix": "cd",
"body": [
"{{ `<[CDATA[` | safeHTML }}$1{{ `]]>` | safeHTML }}"
],
"description": "CDATA"
},
"braces": {
"prefix": "l",
"body": [
"{{ $1 }}"
],
"description": "{{ }}"
}
}
{
// Place your snippets for HTML (Eex) 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"
// }
"<% %>": {
"prefix": "l",
"body": [
"<% $1 %>"
],
"description": "<% %>"
},
"<%= %>": {
"prefix": "l=",
"body": [
"<%= $1 %>"
],
"description": "<%= %>"
},
}
{
// Place your snippets for html 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 snippets for jinja-html 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 snippets for jinja-yaml 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"
// }
"playbook": {
"prefix": "playbook",
"body": [
"---",
"# ansible-playbook $1.yml --extra-vars \"env=$ENV\"",
"",
"$2"
],
"description": "playbook template"
}
}
{
// 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"
// }
"shebang bash": {
"prefix": "bash",
"body": [
"#!/bin/bash"
],
"description": "shebang bash"
}
}
{
// Place your snippets for yaml 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"
// }
"playbook": {
"prefix": "pl",
"body": [
"---",
"# ansible-playbook $1.yml",
"",
"- name: run tasks on all hosts",
" hosts: *",
" tasks:",
" - "
],
"description": "playbook template"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment