Skip to content

Instantly share code, notes, and snippets.

@CyrilPeponnet
Last active June 25, 2020 22:42
Show Gist options
  • Save CyrilPeponnet/f0f432b8927d8c06c02fb424cd515afc to your computer and use it in GitHub Desktop.
Save CyrilPeponnet/f0f432b8927d8c06c02fb424cd515afc to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-06-25T22:42:05.976Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "b689fcc8-d494-4dbf-a228-2c694a578afc",
"publisherId": "alefragnani.Bookmarks",
"publisherDisplayName": "alefragnani"
},
"name": "Bookmarks",
"publisher": "alefragnani",
"version": "11.1.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": "121396ad-85a1-45ec-9fd1-d95028a847f5",
"publisherId": "naumovs.color-highlight",
"publisherDisplayName": "naumovs"
},
"name": "color-highlight",
"publisher": "naumovs",
"version": "2.3.0"
},
{
"metadata": {
"id": "690b692e-e8a9-493f-b802-8089d50ac1b2",
"publisherId": "ms-vscode.cpptools",
"publisherDisplayName": "ms-vscode"
},
"name": "cpptools",
"publisher": "ms-vscode",
"version": "0.27.1"
},
{
"metadata": {
"id": "3acc06d9-1bc5-49e1-ae61-306118c95228",
"publisherId": "Stephanvs.dot",
"publisherDisplayName": "Stephanvs"
},
"name": "dot",
"publisher": "Stephanvs",
"version": "0.0.1"
},
{
"metadata": {
"id": "43335a8d-5929-408b-874a-65f08362642c",
"publisherId": "file-icons.file-icons",
"publisherDisplayName": "file-icons"
},
"name": "file-icons",
"publisher": "file-icons",
"version": "1.0.23"
},
{
"metadata": {
"id": "2bba45f2-4a48-41a6-bb86-d6ba5ab29a9f",
"publisherId": "felipecaputo.git-project-manager",
"publisherDisplayName": "felipecaputo"
},
"name": "git-project-manager",
"publisher": "felipecaputo",
"version": "1.7.1"
},
{
"metadata": {
"id": "5960f38e-0bbe-4644-8f9c-9c8824e82511",
"publisherId": "donjayamanne.githistory",
"publisherDisplayName": "donjayamanne"
},
"name": "githistory",
"publisher": "donjayamanne",
"version": "0.6.5"
},
{
"metadata": {
"id": "3e891cf9-53cb-49a3-8d01-8f0b1f0afb29",
"publisherId": "codezombiech.gitignore",
"publisherDisplayName": "codezombiech"
},
"name": "gitignore",
"publisher": "codezombiech",
"version": "0.6.0"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "10.2.1"
},
{
"metadata": {
"id": "d6f6cfea-4b6f-41f4-b571-6ad2ab7918da",
"publisherId": "ms-vscode.Go",
"publisherDisplayName": "ms-vscode"
},
"name": "Go",
"publisher": "ms-vscode",
"version": "0.14.1"
},
{
"metadata": {
"id": "c941a679-d500-46a8-b2a9-208063125901",
"publisherId": "wholroyd.jinja",
"publisherDisplayName": "wholroyd"
},
"name": "jinja",
"publisher": "wholroyd",
"version": "0.0.8"
},
{
"metadata": {
"id": "73ea9700-8caa-44b4-b75a-db021e086265",
"publisherId": "caarlos0.language-prometheus",
"publisherDisplayName": "caarlos0"
},
"name": "language-prometheus",
"publisher": "caarlos0",
"version": "0.1.2"
},
{
"metadata": {
"id": "1f5eb737-5496-44a3-a8a1-36a85eee4979",
"publisherId": "magicstack.MagicPython",
"publisherDisplayName": "magicstack"
},
"name": "MagicPython",
"publisher": "magicstack",
"version": "1.1.0"
},
{
"metadata": {
"id": "98790d67-10fa-497c-9113-f6c7489207b2",
"publisherId": "yzhang.markdown-all-in-one",
"publisherDisplayName": "yzhang"
},
"name": "markdown-all-in-one",
"publisher": "yzhang",
"version": "2.8.0"
},
{
"metadata": {
"id": "3b1db1fc-c7f7-4bd6-9fa4-b499dfa99a8a",
"publisherId": "shd101wyy.markdown-preview-enhanced",
"publisherDisplayName": "shd101wyy"
},
"name": "markdown-preview-enhanced",
"publisher": "shd101wyy",
"version": "0.5.3"
},
{
"metadata": {
"id": "a4f91432-1b7d-4acd-b906-76d8ac8ad7e7",
"publisherId": "mdickin.markdown-shortcuts",
"publisherDisplayName": "mdickin"
},
"name": "markdown-shortcuts",
"publisher": "mdickin",
"version": "0.12.0"
},
{
"metadata": {
"id": "08792992-bb56-41fb-b5dd-8551bbee0cb6",
"publisherId": "bpruitt-goddard.mermaid-markdown-syntax-highlighting",
"publisherDisplayName": "bpruitt-goddard"
},
"name": "mermaid-markdown-syntax-highlighting",
"publisher": "bpruitt-goddard",
"version": "1.0.2"
},
{
"metadata": {
"publisherId": "primalmotion.mojave",
"publisherDisplayName": "primalmotion"
},
"name": "mojave",
"publisher": "primalmotion",
"version": "1.0.0"
},
{
"metadata": {
"id": "6cf182b2-70cf-433e-97f2-45f414c9ad89",
"publisherId": "platformio.platformio-ide",
"publisherDisplayName": "platformio"
},
"name": "platformio-ide",
"publisher": "platformio",
"version": "1.10.0"
},
{
"metadata": {
"id": "67e66172-30c7-4478-8f5d-6eac4ae755dc",
"publisherId": "mohsen1.prettify-json",
"publisherDisplayName": "mohsen1"
},
"name": "prettify-json",
"publisher": "mohsen1",
"version": "0.0.3"
},
{
"metadata": {
"id": "1b747f06-3789-4ebd-ac99-f1fe430c3347",
"publisherId": "alefragnani.project-manager",
"publisherDisplayName": "alefragnani"
},
"name": "project-manager",
"publisher": "alefragnani",
"version": "10.12.0"
},
{
"metadata": {
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
"publisherId": "ms-python.python",
"publisherDisplayName": "ms-python"
},
"name": "python",
"publisher": "ms-python",
"version": "2020.4.76186"
},
{
"metadata": {
"id": "f5188937-53e0-45bb-a16d-61231003fa3b",
"publisherId": "donjayamanne.python-extension-pack",
"publisherDisplayName": "donjayamanne"
},
"name": "python-extension-pack",
"publisher": "donjayamanne",
"version": "1.6.0"
},
{
"metadata": {
"id": "797a79de-a0fd-4349-9034-bec47be9a941",
"publisherId": "2gua.rainbow-brackets",
"publisherDisplayName": "2gua"
},
"name": "rainbow-brackets",
"publisher": "2gua",
"version": "0.0.6"
},
{
"metadata": {
"id": "d1a63fc0-a398-4887-b61f-bcd79b4fed91",
"publisherId": "aporeto.regolithe-specifications",
"publisherDisplayName": "aporeto"
},
"name": "regolithe-specifications",
"publisher": "aporeto",
"version": "4.1.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.51.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.51.0"
},
{
"metadata": {
"id": "5d9b66c1-7da3-4004-8c92-2b0852ec0c9b",
"publisherId": "ms-vscode-remote.remote-ssh-explorer",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "remote-ssh-explorer",
"publisher": "ms-vscode-remote",
"version": "0.51.0"
},
{
"metadata": {
"id": "dda49fd5-1f3b-4d25-bf61-4fc41905ede5",
"publisherId": "humao.rest-client",
"publisherDisplayName": "humao"
},
"name": "rest-client",
"publisher": "humao",
"version": "0.23.2"
},
{
"metadata": {
"id": "5fb19573-2183-4cf2-b53d-0fb869dae7ae",
"publisherId": "foxundermoon.shell-format",
"publisherDisplayName": "foxundermoon"
},
"name": "shell-format",
"publisher": "foxundermoon",
"version": "7.0.1"
},
{
"metadata": {
"id": "f95d8fff-f70a-4ae5-bb06-5c47ddbc8fc6",
"publisherId": "timonwong.shellcheck",
"publisherDisplayName": "timonwong"
},
"name": "shellcheck",
"publisher": "timonwong",
"version": "0.9.0"
},
{
"metadata": {
"id": "00518570-772b-4ccb-8b06-d056f3f556e0",
"publisherId": "Tyriar.sort-lines",
"publisherDisplayName": "Tyriar"
},
"name": "sort-lines",
"publisher": "Tyriar",
"version": "1.9.0"
},
{
"metadata": {
"id": "7d236dd4-6af6-48f4-9464-6bf82ad36aaa",
"publisherId": "ban.spellright",
"publisherDisplayName": "ban"
},
"name": "spellright",
"publisher": "ban",
"version": "3.0.50"
},
{
"metadata": {
"id": "4a23294b-fd16-4c51-9759-da9936474cf8",
"publisherId": "mauve.terraform",
"publisherDisplayName": "mauve"
},
"name": "terraform",
"publisher": "mauve",
"version": "1.4.0"
},
{
"metadata": {
"id": "e79fd228-c27f-423b-a8fc-b006fa99ed64",
"publisherId": "be5invis.toml",
"publisherDisplayName": "be5invis"
},
"name": "toml",
"publisher": "be5invis",
"version": "0.4.0"
},
{
"metadata": {
"id": "a225bb1b-d82f-4036-953e-293523b9eb71",
"publisherId": "bibhasdn.unique-lines",
"publisherDisplayName": "bibhasdn"
},
"name": "unique-lines",
"publisher": "bibhasdn",
"version": "1.0.0"
},
{
"metadata": {
"id": "d0febfc8-15fa-4951-bad7-ad5c9682af4a",
"publisherId": "marcostazi.VS-code-vagrantfile",
"publisherDisplayName": "marcostazi"
},
"name": "VS-code-vagrantfile",
"publisher": "marcostazi",
"version": "0.0.7"
},
{
"metadata": {
"id": "8f26d05e-e8ef-4156-af0a-ca7778b47006",
"publisherId": "lihui.vs-color-picker",
"publisherDisplayName": "lihui"
},
"name": "vs-color-picker",
"publisher": "lihui",
"version": "1.0.0"
},
{
"metadata": {
"id": "721aa8b5-801a-4113-a23d-c72651da702c",
"publisherId": "fabiospampinato.vscode-commands",
"publisherDisplayName": "fabiospampinato"
},
"name": "vscode-commands",
"publisher": "fabiospampinato",
"version": "1.3.0"
},
{
"metadata": {
"id": "8e8d8573-d69a-4c7b-a951-d72a266a5822",
"publisherId": "Pivotal.vscode-concourse",
"publisherDisplayName": "Pivotal"
},
"name": "vscode-concourse",
"publisher": "Pivotal",
"version": "1.17.0"
},
{
"metadata": {
"id": "4b41a5a8-170e-4156-b2c0-10efb270abbc",
"publisherId": "batisteo.vscode-django",
"publisherDisplayName": "batisteo"
},
"name": "vscode-django",
"publisher": "batisteo",
"version": "0.20.0"
},
{
"metadata": {
"id": "03944bdc-9bcb-4ac2-b9b3-fdb050dd43e4",
"publisherId": "mrmlnc.vscode-duplicate",
"publisherDisplayName": "mrmlnc"
},
"name": "vscode-duplicate",
"publisher": "mrmlnc",
"version": "1.2.1"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "2.1.5"
},
{
"metadata": {
"id": "8699dfcb-4beb-4760-b976-c46dcdd87df2",
"publisherId": "KnisterPeter.vscode-github",
"publisherDisplayName": "KnisterPeter"
},
"name": "vscode-github",
"publisher": "KnisterPeter",
"version": "0.30.3"
},
{
"metadata": {
"id": "4837e4f3-1b01-4732-b1a6-daa57ef64cab",
"publisherId": "ms-kubernetes-tools.vscode-kubernetes-tools",
"publisherDisplayName": "ms-kubernetes-tools"
},
"name": "vscode-kubernetes-tools",
"publisher": "ms-kubernetes-tools",
"version": "1.2.0"
},
{
"metadata": {
"id": "daf8b44d-8aae-4da2-80c5-1f770219f643",
"publisherId": "DavidAnson.vscode-markdownlint",
"publisherDisplayName": "DavidAnson"
},
"name": "vscode-markdownlint",
"publisher": "DavidAnson",
"version": "0.35.1"
},
{
"metadata": {
"id": "befc4c89-f7c1-4cf4-ba20-e2b1360a1611",
"publisherId": "suntobright.vscode-sftp",
"publisherDisplayName": "suntobright"
},
"name": "vscode-sftp",
"publisher": "suntobright",
"version": "1.1.1"
},
{
"metadata": {
"id": "3fb77af3-b8b3-4cb9-9137-f555bd80e2b1",
"publisherId": "richie5um2.vscode-sort-json",
"publisherDisplayName": "richie5um2"
},
"name": "vscode-sort-json",
"publisher": "richie5um2",
"version": "1.18.0"
},
{
"metadata": {
"id": "97a08c5f-6667-4242-a5c5-045dfb6bd4b9",
"publisherId": "wayou.vscode-todo-highlight",
"publisherDisplayName": "wayou"
},
"name": "vscode-todo-highlight",
"publisher": "wayou",
"version": "1.0.4"
},
{
"metadata": {
"id": "d64b9a43-2c4d-4add-a4b0-1109edbfc838",
"publisherId": "sadesyllas.vscode-workspace-switcher",
"publisherDisplayName": "sadesyllas"
},
"name": "vscode-workspace-switcher",
"publisher": "sadesyllas",
"version": "1.14.0"
},
{
"metadata": {
"id": "2061917f-f76a-458a-8da9-f162de22b97e",
"publisherId": "redhat.vscode-yaml",
"publisherDisplayName": "redhat"
},
"name": "vscode-yaml",
"publisher": "redhat",
"version": "0.7.2"
},
{
"metadata": {
"id": "876e8f93-74d0-4f4f-91b7-34a09f19f444",
"publisherId": "VisualStudioExptTeam.vscodeintellicode",
"publisherDisplayName": "VisualStudioExptTeam"
},
"name": "vscodeintellicode",
"publisher": "VisualStudioExptTeam",
"version": "1.2.6"
}
]
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "alt+r",
"command": "editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+alt+cmd+p",
"command": "projectManager.listProjects"
},
{ "key": "cmd+shift+g",
"command": "workbench.action.navigateBack"
},
{
"key": "cmd+k a",
"command": "editor.action.referenceSearch.trigger",
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "cmd+k p",
"command": "editor.action.previewDeclaration",
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "cmd+k u",
"command": "editor.action.transformToUppercase",
"when": "editorTextFocus"
},
{
"key": "cmd+k l",
"command": "editor.action.transformToLowercase",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+d",
"command": "-workbench.view.debug"
},
{
"key": "shift+cmd+d",
"command": "editor.action.selectHighlights",
"when": "editorFocus"
},
{
"key": "shift+cmd+l",
"command": "-editor.action.selectHighlights",
"when": "editorFocus"
},
{
"key": "cmd+k t",
"command": "go.test.package"
},
{
"key": "cmd+k s",
"command": "editor.action.sortLinesAscending"
},
{
"key": "shift+cmd+e",
"command": "-workbench.view.explorer"
},
{
"key": "cmd+k g",
"command": "workbench.view.scm"
},
{
"key": "ctrl+shift+g",
"command": "-workbench.view.scm"
},
{
"key": "cmd+k f",
"command": "-workbench.action.closeFolder"
},
{
"key": "cmd+k f",
"command": "workbench.files.action.collapseExplorerFolders"
},
{
"key": "cmd+k v",
"command": "-markdown.showPreviewToSide",
"when": "editorLangId == 'markdown'"
},
{
"key": "cmd+k p",
"command": "-workbench.action.files.copyPathOfActiveFile"
},
{
"key": "cmd+k e",
"command": "editor.action.insertSnippet",
"args": {
"langId": "go",
"name": "Err Wrap",
}
},
{
"key": "cmd+k h",
"command": "gitlens.showQuickRepoHistory",
"when": "gitlens:enabled && gitlens:keymap == 'chorded'"
},
{
"key": "alt+cmd+g shift+h",
"command": "-gitlens.showQuickRepoHistory",
"when": "gitlens:enabled && gitlens:keymap == 'chorded'"
},
{
"key": "cmd+k b",
"command": "bookmarks.toggle",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+k",
"command": "-bookmarks.toggle",
"when": "editorTextFocus"
},
{
"key": "cmd+k shift+b",
"command": "bookmarks.list"
},
{
"key": "cmd+k r",
"command": "-workbench.action.files.revealActiveFileInWindows"
},
{
"key": "cmd+k r",
"command": "workbench.files.action.showActiveFileInExplorer"
},
{
"key": "cmd+l",
"command": "expandLineSelection",
"when": "textInputFocus"
},
{
"key": "cmd+i",
"command": "-expandLineSelection",
"when": "textInputFocus"
},
{
"key": "alt+cmd+p",
"command": "-projectManager.listProjects"
},
{
"key": "shift+cmd+l",
"command": "editor.action.insertCursorAtEndOfEachLineSelected",
"when": "editorTextFocus"
},
{
"key": "shift+alt+i",
"command": "-editor.action.insertCursorAtEndOfEachLineSelected",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+up",
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+up",
"command": "-editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+down",
"command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+down",
"command": "-editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "alt+`",
"command": "workbench.action.terminal.focus"
},
{
"key": "shift+cmd+'",
"command": "search.action.focusNextSearchResult",
"when": "hasSearchResult"
},
{
"key": "f4",
"command": "-search.action.focusNextSearchResult",
"when": "hasSearchResult"
},
{
"key": "shift+alt+cmd+'",
"command": "search.action.focusPreviousSearchResult",
"when": "hasSearchResult"
},
{
"key": "shift+f4",
"command": "-search.action.focusPreviousSearchResult",
"when": "hasSearchResult"
},
{
"key": "ctrl+=",
"command": "workbench.action.navigateForward"
},
{
"key": "ctrl+shift+-",
"command": "-workbench.action.navigateForward"
},
{
"key": "ctrl+cmd+p",
"command": "vscodeWorkspaceSwitcher.switchWorkspaceNewWindow"
},
{
"key": "ctrl+k ctrl+w",
"command": "-vscodeWorkspaceSwitcher.switchWorkspaceNewWindow"
}
]
{
"[go]": {
"editor.insertSpaces": true,
"editor.snippetSuggestions": "top",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true,
}
},
"[javascript]": {
"editor.tabSize": 2
},
"[markdown]": {
"editor.tabSize": 2
},
"[yaml]": {
"editor.tabSize": 2
},
"[goyaml]": {
"editor.tabSize": 2
},
"[scss]": {
"editor.tabSize": 2
},
"[toml]": {
"editor.tabSize": 2
},
"color-highlight.markRuler": false,
"commands.commands": [
{
"color": "#a4a5a8",
"command": "workbench.action.terminal.new",
"text": "$(terminal)",
"tooltip": "Open Terminal"
},
{
"color": "#a4a5a8",
"command": "go.test.package",
"commandType": "palette",
"filterFileRegex": ".*\\.go",
"text": "$(bug)",
"tooltip": "Run Tests"
},
{
"color": "#a4a5a8",
"command": "go.test.coverage",
"commandType": "palette",
"filterFileRegex": ".*\\.go",
"text": "$(circle-slash)",
"tooltip": "Run Tests"
},
{
"color": "#a4a5a8",
"command": "vscode-github.createSimplePullRequest",
"commandType": "palette",
"text": "$(git-pull-request)",
"tooltip": "Create Pull Request"
}
],
"diffEditor.ignoreTrimWhitespace": false,
"diffEditor.renderSideBySide": true,
"editor.cursorWidth": 2,
"editor.detectIndentation": false,
"editor.find.autoFindInSelection": "multiline",
"editor.fontFamily": "Liga Hack",
"editor.fontLigatures": true,
"editor.fontSize": 11,
"editor.minimap.enabled": false,
"editor.minimap.renderCharacters": false,
"editor.renderControlCharacters": false,
"editor.renderIndentGuides": false,
"editor.renderWhitespace": "boundary",
"editor.rulers": [
120
],
"editor.scrollBeyondLastLine": false,
"editor.smoothScrolling": true,
"eslint.packageManager": "yarn",
"explorer.confirmDragAndDrop": false,
"explorer.openEditors.visible": 0,
"extensions.ignoreRecommendations": true,
"files.associations": {
"**/charts/**/templates/*.yaml": "goyaml",
"**/k8s/**/*.yml": "goyaml",
"*.gotpl": "gotemplate",
"*.lock": "toml"
},
"files.exclude": {
"**/.DS_Store": true,
"**/.git": true,
"**/.hg": true,
"**/.svn": true,
"**/CVS": true,
"**/node_modules": true,
"**/.data": true,
"**/.certificates": true
},
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"files.useExperimentalFileWatcher": true,
"git.autofetch": true,
"git.confirmSync": false,
"git.enableSmartCommit": false,
"git.inputValidation": "always",
"git.promptToSaveFilesBeforeCommit": "always",
"github.autoPublish": true,
"github.preferedMergeMethod": "squash",
"github.statusbar.command": "vscode-github.browserSimplePullRequest",
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false,
"suppressResultsExplorerNotice": true,
"suppressShowKeyBindingsNotice": true,
"suppressUpdateNotice": true,
"suppressWelcomeNotice": true
},
"gitlens.advanced.telemetry.enabled": false,
"gitlens.keymap": "none",
"gitlens.recentChanges.highlight.locations": [
"gutter",
"line",
"overview"
],
"launch": {
"configurations": [
{
"host": "127.0.0.1",
"mode": "remote",
"name": "Attach",
"port": 2345,
"program": "${workspaceRoot:squall}",
"request": "launch",
"showLog": true,
"type": "go"
},
{
"host": "192.168.100.100",
"mode": "remote",
"name": "Remote Enforcerd VM",
"port": 2345,
"program": "${workspaceFolder}",
"remotePath": "${workspaceFolder}",
"request": "launch",
"type": "go"
}
],
"version": "0.2.0"
},
"markdown-preview-enhanced.liveUpdate": true,
"problems.autoReveal": true,
"problems.decorations.enabled": true,
"rest-client.enableTelemetry": false,
"scm.alwaysShowProviders": true,
"search.exclude": {
"**/.git": true,
"**/.git/**": true,
"**/bower_components": true,
"**/node_modules": true,
"**/.data": true,
"**/.certificates": true
},
"sync.askGistName": false,
"sync.autoDownload": false,
"sync.autoUpload": false,
"sync.forceDownload": false,
"sync.gist": "f0f432b8927d8c06c02fb424cd515afc",
"sync.quietSync": false,
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"telemetry.enableCrashReporter": false,
"telemetry.enableTelemetry": false,
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.fontFamily": "Liga Hack",
"terminal.integrated.fontSize": 11,
"todohighlight.include": [
"**/*.js",
"**/*.jsx",
"**/*.ts",
"**/*.tsx",
"**/*.html",
"**/*.php",
"**/*.css",
"**/*.scss",
"**/*.go"
],
"todohighlight.toggleURI": true,
"vscodeWorkspaceSwitcher.paths": [
"/Users/cyril/Aporeto/apomux/vscode"
],
"window.nativeTabs": true,
"window.openFoldersInNewWindow": "on",
"window.restoreWindows": "none",
"window.title": "${rootName}",
"window.titleBarStyle": "custom",
"window.zoomLevel": 0,
"workbench.activityBar.visible": true,
"workbench.colorTheme": "Mojave",
"workbench.editor.labelFormat": "short",
"workbench.editor.openPositioning": "first",
"workbench.editor.swipeToNavigate": true,
"workbench.editor.tabSizing": "fit",
"workbench.fontAliasing": "auto",
"workbench.iconTheme": "file-icons",
"workbench.sideBar.location": "left",
"workbench.startupEditor": "none",
"workbench.statusBar.feedback.visible": false,
"workbench.tips.enabled": false,
"terminal.integrated.rendererType": "dom",
"shellcheck.executablePath": "/usr/local/bin/shellcheck",
"gitProjectManager.baseProjectsFolders": [
"/Users/cyril/Dev",
"/Users/cyril/Aporeto",
"/Users/cyril/Nuage",
"/Users/cyril/Aporeto/apomux/workspace/code/go/src/"
],
"gitProjectManager.maxDepthRecursion": 3,
"gitProjectManager.searchInsideProjects": true,
"gitProjectManager.storeRepositoriesBetweenSessions": true,
"projectManager.cacheProjectsBetweenSessions": true,
"editor.tabSize": 2,
"breadcrumbs.enabled": true,
"gitlens.views.repositories.branches.layout": "list",
"gitlens.views.repositories.files.layout": "list",
"gitlens.views.fileHistory.enabled": true,
"gitlens.views.lineHistory.enabled": true,
"gitlens.codeLens.recentChange.enabled": false,
"gitlens.codeLens.authors.enabled": false,
"gitlens.codeLens.enabled": false,
"[helm]": {},
"go.gotoSymbol.includeGoroot": true,
"go.autocompleteUnimportedPackages": true,
"go.coverOnSingleTest": true,
"go.coverageDecorator": {
"type": "highlight"
},
"go.coverageOptions": "showUncoveredCodeOnly",
"go.docsTool": "gogetdoc",
"go.enableCodeLens": {
"references": false,
"runtest": true
},
"go.formatTool": "goreturns",
"go.buildOnSave": "off",
"go.lintFlags": [
"--disable-all",
"--skip-dirs",
".*/vendor/.*",
"--exclude-use-default=false",
"--enable=errcheck",
"--enable=goimports",
"--enable=ineffassign",
"--enable=golint",
"--enable=prealloc",
"--enable=staticcheck",
"--enable=govet",
"--skip-files",
"values_codecgen.go"
],
"go.lintOnSave": "off",
"go.lintTool": "golangci-lint",
"go.useCodeSnippetsOnFunctionSuggest": true,
"go.useCodeSnippetsOnFunctionSuggestWithoutType": false,
"go.useLanguageServer": true,
"go.languageServerFlags": [
"-remote",
"auto"
],
"go.vetOnSave": "off",
"go.vetFlags": [
"-shadow",
],
"gopls": {
"usePlaceholders": true,
"completeUnimported": true,
"linkTarget": "godoc.org"
},
// "go.testTimeout": "60s",
"go.languageServerExperimentalFeatures": {
"autoComplete": true,
"diagnostics": true,
"documentLink": true,
"documentSymbols": true,
"findReferences": true,
"format": true,
"incrementalSync": true,
"goToDefinition": true,
"goToImplementation": true,
"goToTypeDefinition": true,
"hover": true,
"rename": true,
"signatureHelp": true,
"workspaceSymbols": true
},
"window.nativeFullScreen": false,
"extensions.autoUpdate": false,
"terraform.telemetry.enabled": false,
"editor.formatOnSave": true,
"shellformat.effectLanguages": [
"shellscript",
"dotenv",
"hosts",
"jvmoptions",
"ignore",
"gitignore",
"properties",
"spring-boot-properties",
"azcli"
],
"terraform.indexing": {
"enabled": false,
"liveIndexing": false,
"delay": 500,
"exclude": [
".terraform/**/*",
"**/.terraform/**/*"
]
},
"terraform.languageServer": {
"enabled": true,
"args": []
},
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"python.jediEnabled": false,
"python.analysis.cachingLevel": "Library",
"vsintellicode.features.python.deepLearning": "enabled",
"go.testFlags": [
"-race"
],
"python.formatting.provider": "none"
}
{
// Place your snippets for ansible 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 Go 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"
}
*/
"GoConvey: New Test File": {
"prefix": "ntf",
"body": [
"package ${1:package}",
"",
"import (",
"\t\"testing\"",
"",
"\t. \"github.com/smartystreets/goconvey/convey\"",
")",
"",
"func Test${2:Thing}_${3:Function}(t *testing.T) {",
"\t",
"\t${4:code}",
"}"
]
},
"GoConvey: New Test": {
"prefix": "nt",
"body": [
"func Test${1:Thing}_${2:Function}(t *testing.T) {",
"\t",
"\t${3:code}",
"}"
]
},
"GoConvey: Given": {
"prefix": "cg",
"body": [
"Convey(\"Given ${1:do thing}\", t, func() {",
"\t",
"\t${2:do it}",
"})"
]
},
"GoConvey: When": {
"prefix": "cw",
"body": [
"Convey(\"When I ${1:do thing}\", func() {",
"\t",
"\t${2:do it}",
"})"
]
},
"GoConvey: Then": {
"prefix": "ct",
"body": [
"Convey(\"Then ${1:this} should ${2:be like that}\", func() {",
"\tSo(${3:this}, ${4:ShouldEqual}, ${5:that})",
"})"
]
},
"Zap: zap.String": {
"prefix": "zs",
"body": [
"zap.String(${1:key}, ${2:value})"
]
},
"Zap: zap.Error": {
"prefix": "ze",
"body": [
"zap.Error(${1:err})"
]
},
"Err Wrap":{
"prefix": "errw",
"body": [
"if err := $TM_SELECTED_TEXT; err != nil {",
"\treturn err",
"}"
]
},
"Bahamut: New Processor": {
"prefix": "np",
"body": [
"package processors",
"",
"import (",
"\t\"github.com/aporeto-inc/bahamut\"",
"\t\"github.com/aporeto-inc/gaia/v1/golang\"",
"\t\"github.com/aporeto-inc/manipulate\"",
"\t\"github.com/aporeto-inc/sephiroth/internal/core\"",
")",
"",
"// A ${1:Model}sProcessor is a bahamut processor for ${1:Model}s.",
"type ${1:Model}sProcessor struct {",
"\tmanipulator manipulate.TransactionalManipulator",
"}",
"",
"// New${1:Model}sProcessor returns a new ${1:Model}sProcessor.",
"func New${1:Model}sProcessor(manipulator manipulate.TransactionalManipulator) *${1:Model}sProcessor {",
"",
"\treturn &${1:Model}sProcessor{",
"\t\tmanipulator: manipulator,",
"\t}",
"}",
"",
"// Manipulator returns the manipulator used by the processor.",
"func (p *${1:Model}sProcessor) Manipulator() manipulate.TransactionalManipulator {",
"",
"\treturn p.manipulator",
"}",
"",
"// ProcessCreate handles the creates requests for ${1:Model}s.",
"func (p *${1:Model}sProcessor) ProcessCreate(ctx *bahamut.Context) error {",
"",
"\treturn core.ProcessCreate(p, ctx, nil, nil, nil)",
"}",
"",
"// ProcessRetrieveMany handles the retrieve many requests for ${1:Model}s.",
"func (p *${1:Model}sProcessor) ProcessRetrieveMany(ctx *bahamut.Context) error {",
"",
"\treturn core.ProcessRetrieveMany(p, ctx, &gaia.${1:Model}sList{}, nil, nil, nil)",
"}",
"",
"// ProcessRetrieve handles the retrieve requests for ${1:Model}s.",
"func (p *${1:Model}sProcessor) ProcessRetrieve(ctx *bahamut.Context) error {",
"",
"\treturn core.ProcessRetrieve(p, ctx, gaia.New${1:Model}(), nil, nil)",
"}",
"",
"// ProcessUpdate handles the update requests for ${1:Model}s.",
"func (p *${1:Model}sProcessor) ProcessUpdate(ctx *bahamut.Context) error {",
"",
"\treturn core.ProcessUpdate(p, ctx, gaia.New${1:Model}(), nil, nil)",
"}",
"",
"// ProcessDelete handles the delete requests for ${1:Model}s.",
"func (p *${1:Model}sProcessor) ProcessDelete(ctx *bahamut.Context) error {",
"",
"\treturn core.ProcessDelete(p, ctx, gaia.New${1:Model}(), nil, nil)",
"}",
"",
"// ProcessInfo handles the info request for ${1:Model}s.",
"func (p *${1:Model}sProcessor) ProcessInfo(ctx *bahamut.Context) error {",
"",
"\treturn core.ProcessInfo(p, ctx, gaia.${1:Model}Identity, nil, nil, nil)",
"}"
]
}
}
{
// 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"
// }
}
{
// 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"
// }
}
{"version":"7.19.0","status":2,"welcomeShown":true}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment