Skip to content

Instantly share code, notes, and snippets.

@Epikem
Last active May 14, 2020 14:46
Show Gist options
  • Save Epikem/c79babb1e0926ca1765aafb09cd42cdd to your computer and use it in GitHub Desktop.
Save Epikem/c79babb1e0926ca1765aafb09cd42cdd to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-01-16T01:57:17.042Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "2e9fe0cb-4e63-42fc-a809-fb056aad49c3",
"publisherId": "stevencl.addDocComments",
"publisherDisplayName": "stevencl"
},
"name": "addDocComments",
"publisher": "stevencl",
"version": "0.0.8"
},
{
"metadata": {
"id": "1210a58b-ea67-4e0e-ab49-9a8fe600eb05",
"publisherId": "pedroguerra.ant-tree-viewer",
"publisherDisplayName": "pedroguerra"
},
"name": "ant-tree-viewer",
"publisher": "pedroguerra",
"version": "0.3.2"
},
{
"metadata": {
"id": "2d6fea35-f68e-461d-9b7b-5cd05be99451",
"publisherId": "njpwerner.autodocstring",
"publisherDisplayName": "njpwerner"
},
"name": "autodocstring",
"publisher": "njpwerner",
"version": "0.4.0"
},
{
"metadata": {
"id": "697255a9-3f36-44c8-b084-d3b91edfb23a",
"publisherId": "HookyQR.beautify",
"publisherDisplayName": "HookyQR"
},
"name": "beautify",
"publisher": "HookyQR",
"version": "1.5.0"
},
{
"metadata": {
"id": "b689fcc8-d494-4dbf-a228-2c694a578afc",
"publisherId": "alefragnani.Bookmarks",
"publisherDisplayName": "alefragnani"
},
"name": "Bookmarks",
"publisher": "alefragnani",
"version": "10.6.0"
},
{
"metadata": {
"id": "5e8803a2-3dc8-42b3-9c5f-ea9d37828c03",
"publisherId": "googlecloudtools.cloudcode",
"publisherDisplayName": "googlecloudtools"
},
"name": "cloudcode",
"publisher": "googlecloudtools",
"version": "1.0.1"
},
{
"metadata": {
"id": "2be7cf14-2603-402e-9771-fd79df83cdf8",
"publisherId": "twxs.cmake",
"publisherDisplayName": "twxs"
},
"name": "cmake",
"publisher": "twxs",
"version": "0.0.17"
},
{
"metadata": {
"id": "3677198f-c671-4381-9aa5-b25ad8e20629",
"publisherId": "go2sh.cmake-integration-vscode",
"publisherDisplayName": "go2sh"
},
"name": "cmake-integration-vscode",
"publisher": "go2sh",
"version": "0.7.1"
},
{
"metadata": {
"id": "7c889349-8749-43d4-8b5e-08939936d7f4",
"publisherId": "ms-vscode.cmake-tools",
"publisherDisplayName": "ms-vscode"
},
"name": "cmake-tools",
"publisher": "ms-vscode",
"version": "1.2.3"
},
{
"metadata": {
"id": "a6a0c5b2-d078-4bf5-a9ee-4e37054414b3",
"publisherId": "formulahendry.code-runner",
"publisherDisplayName": "formulahendry"
},
"name": "code-runner",
"publisher": "formulahendry",
"version": "0.9.15"
},
{
"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": "690b692e-e8a9-493f-b802-8089d50ac1b2",
"publisherId": "ms-vscode.cpptools",
"publisherDisplayName": "ms-vscode"
},
"name": "cpptools",
"publisher": "ms-vscode",
"version": "0.26.2"
},
{
"metadata": {
"id": "f57f68ea-9ee8-42b5-9a97-041d3e4278c4",
"publisherId": "Dart-Code.dart-code",
"publisherDisplayName": "Dart-Code"
},
"name": "dart-code",
"publisher": "Dart-Code",
"version": "3.7.1"
},
{
"metadata": {
"id": "2bbe1392-1ad3-4f59-82bc-fccaa3afc3a5",
"publisherId": "icrawl.discord-vscode",
"publisherDisplayName": "icrawl"
},
"name": "discord-vscode",
"publisher": "icrawl",
"version": "3.13.0"
},
{
"metadata": {
"id": "532533c9-a894-4a58-9eee-bbfbe7c06f71",
"publisherId": "mikestead.dotenv",
"publisherDisplayName": "mikestead"
},
"name": "dotenv",
"publisher": "mikestead",
"version": "1.0.1"
},
{
"metadata": {
"id": "f60a60a6-95ba-42d4-b41c-3d24c1b89588",
"publisherId": "EditorConfig.EditorConfig",
"publisherDisplayName": "EditorConfig"
},
"name": "EditorConfig",
"publisher": "EditorConfig",
"version": "0.14.2"
},
{
"metadata": {
"id": "45fef933-f1d9-4536-bf46-da5bfc3671dc",
"publisherId": "ria.elastic",
"publisherDisplayName": "ria"
},
"name": "elastic",
"publisher": "ria",
"version": "0.13.3"
},
{
"metadata": {
"id": "976eb754-5cd2-4716-82fc-90f201c9ca9d",
"publisherId": "sbrink.elm",
"publisherDisplayName": "sbrink"
},
"name": "elm",
"publisher": "sbrink",
"version": "0.26.0"
},
{
"metadata": {
"id": "88cceeb3-b940-4ff2-abcf-275083194b21",
"publisherId": "necinc.elmmet",
"publisherDisplayName": "necinc"
},
"name": "elmmet",
"publisher": "necinc",
"version": "1.0.1"
},
{
"metadata": {
"id": "19804510-b475-4dae-b0f7-6ca08fd1af0c",
"publisherId": "dsznajder.es7-react-js-snippets",
"publisherDisplayName": "dsznajder"
},
"name": "es7-react-js-snippets",
"publisher": "dsznajder",
"version": "2.5.0"
},
{
"metadata": {
"id": "8bb12ae3-73f8-40cf-86b7-4bd5729c6238",
"publisherId": "GrapeCity.gc-excelviewer",
"publisherDisplayName": "GrapeCity"
},
"name": "gc-excelviewer",
"publisher": "GrapeCity",
"version": "2.1.32"
},
{
"metadata": {
"id": "6333012c-5de4-4955-ade9-77c630e471fc",
"publisherId": "joshjg.generate-react-component",
"publisherDisplayName": "joshjg"
},
"name": "generate-react-component",
"publisher": "joshjg",
"version": "0.2.1"
},
{
"metadata": {
"id": "438221f8-1107-4ccd-a6fe-f3b7fe0856b7",
"publisherId": "mhutchie.git-graph",
"publisherDisplayName": "mhutchie"
},
"name": "git-graph",
"publisher": "mhutchie",
"version": "1.21.0"
},
{
"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.4.13"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "10.2.0"
},
{
"metadata": {
"id": "3e8a391a-f3f0-44b2-8631-7847b0c8839a",
"publisherId": "kumar-harsh.graphql-for-vscode",
"publisherDisplayName": "kumar-harsh"
},
"name": "graphql-for-vscode",
"publisher": "kumar-harsh",
"version": "1.15.3"
},
{
"metadata": {
"id": "7b71fc1b-190d-4f7d-95d1-93e422649b0a",
"publisherId": "Zignd.html-css-class-completion",
"publisherDisplayName": "Zignd"
},
"name": "html-css-class-completion",
"publisher": "Zignd",
"version": "1.19.0"
},
{
"metadata": {
"id": "76fbde36-77d4-4688-b1f8-202727442961",
"publisherId": "tht13.html-preview-vscode",
"publisherDisplayName": "tht13"
},
"name": "html-preview-vscode",
"publisher": "tht13",
"version": "0.2.5"
},
{
"metadata": {
"id": "198a707e-28af-4e84-8610-6e2f628dd12d",
"publisherId": "redhat.java",
"publisherDisplayName": "redhat"
},
"name": "java",
"publisher": "redhat",
"version": "0.54.2"
},
{
"metadata": {
"id": "d36bad53-910d-481a-a7ee-8992450665f6",
"publisherId": "mathiasfrohlich.Kotlin",
"publisherDisplayName": "mathiasfrohlich"
},
"name": "Kotlin",
"publisher": "mathiasfrohlich",
"version": "1.7.0"
},
{
"metadata": {
"id": "b9d2dfd7-af7e-4d90-a696-db33ef5e77ee",
"publisherId": "nwolverson.language-purescript",
"publisherDisplayName": "nwolverson"
},
"name": "language-purescript",
"publisher": "nwolverson",
"version": "0.2.2"
},
{
"metadata": {
"id": "2933c08e-d68f-40f8-be1a-b022378156bb",
"publisherId": "langums.langums",
"publisherDisplayName": "langums"
},
"name": "langums",
"publisher": "langums",
"version": "0.4.8"
},
{
"metadata": {
"id": "e8b488af-fccf-4adf-b60c-fc7455bea107",
"publisherId": "emilast.LogFileHighlighter",
"publisherDisplayName": "emilast"
},
"name": "LogFileHighlighter",
"publisher": "emilast",
"version": "2.7.1"
},
{
"metadata": {
"id": "98790d67-10fa-497c-9113-f6c7489207b2",
"publisherId": "yzhang.markdown-all-in-one",
"publisherDisplayName": "yzhang"
},
"name": "markdown-all-in-one",
"publisher": "yzhang",
"version": "2.7.0"
},
{
"metadata": {
"id": "f595c9c1-28b5-415e-a55f-2deb4a8c3abd",
"publisherId": "bierner.markdown-emoji",
"publisherDisplayName": "bierner"
},
"name": "markdown-emoji",
"publisher": "bierner",
"version": "0.0.9"
},
{
"metadata": {
"id": "3b1db1fc-c7f7-4bd6-9fa4-b499dfa99a8a",
"publisherId": "shd101wyy.markdown-preview-enhanced",
"publisherDisplayName": "shd101wyy"
},
"name": "markdown-preview-enhanced",
"publisher": "shd101wyy",
"version": "0.5.1"
},
{
"metadata": {
"id": "5db78037-f674-459f-a236-db622c427c5b",
"publisherId": "PKief.material-icon-theme",
"publisherDisplayName": "PKief"
},
"name": "material-icon-theme",
"publisher": "PKief",
"version": "3.9.2"
},
{
"metadata": {
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6",
"publisherId": "zhuangtongfa.material-theme",
"publisherDisplayName": "zhuangtongfa"
},
"name": "material-theme",
"publisher": "zhuangtongfa",
"version": "3.2.1"
},
{
"metadata": {
"id": "1d66faf4-3266-4fce-b7c9-df60aecf496d",
"publisherId": "goessner.mdmath",
"publisherDisplayName": "goessner"
},
"name": "mdmath",
"publisher": "goessner",
"version": "2.4.0"
},
{
"metadata": {
"id": "dff6b801-247e-40e9-82e8-8c9b1d19d1b8",
"publisherId": "christian-kohler.npm-intellisense",
"publisherDisplayName": "christian-kohler"
},
"name": "npm-intellisense",
"publisher": "christian-kohler",
"version": "1.3.0"
},
{
"metadata": {
"id": "d95cb424-7a5a-4e08-9698-107d6fd590cf",
"publisherId": "jebbs.plantuml",
"publisherDisplayName": "jebbs"
},
"name": "plantuml",
"publisher": "jebbs",
"version": "2.13.6"
},
{
"metadata": {
"id": "40d39ce9-c381-47a0-80c8-a6661f731eab",
"publisherId": "ms-vscode.powershell",
"publisherDisplayName": "ms-vscode"
},
"name": "powershell",
"publisher": "ms-vscode",
"version": "2019.12.0"
},
{
"metadata": {
"id": "1b747f06-3789-4ebd-ac99-f1fe430c3347",
"publisherId": "alefragnani.project-manager",
"publisherDisplayName": "alefragnani"
},
"name": "project-manager",
"publisher": "alefragnani",
"version": "10.9.1"
},
{
"metadata": {
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
"publisherId": "ms-python.python",
"publisherDisplayName": "ms-python"
},
"name": "python",
"publisher": "ms-python",
"version": "2020.1.58038"
},
{
"metadata": {
"id": "e05d98bf-3735-4c1e-9fae-86ef0a52e19f",
"publisherId": "quicktype.quicktype",
"publisherDisplayName": "quicktype"
},
"name": "quicktype",
"publisher": "quicktype",
"version": "12.0.46"
},
{
"metadata": {
"id": "aae0701b-111f-49c1-9000-abd37a442f28",
"publisherId": "WallabyJs.quokka-vscode",
"publisherDisplayName": "WallabyJs"
},
"name": "quokka-vscode",
"publisher": "WallabyJs",
"version": "1.0.273"
},
{
"metadata": {
"id": "f0c5397b-d357-4197-99f0-cb4202f22818",
"publisherId": "ms-vscode-remote.remote-wsl",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "remote-wsl",
"publisher": "ms-vscode-remote",
"version": "0.40.3"
},
{
"metadata": {
"id": "ae062c8a-c68e-4b92-9ecf-8f1d4288b05d",
"publisherId": "rebornix.ruby",
"publisherDisplayName": "rebornix"
},
"name": "ruby",
"publisher": "rebornix",
"version": "0.26.0"
},
{
"metadata": {
"id": "92ca69bf-28e7-4e0f-93e7-d3f900569ac5",
"publisherId": "ramyaraoa.show-offset",
"publisherDisplayName": "ramyaraoa"
},
"name": "show-offset",
"publisher": "ramyaraoa",
"version": "0.0.4"
},
{
"metadata": {
"id": "d6ba4b7b-539f-456a-b0f6-0348df44cdf3",
"publisherId": "nikitaKunevich.snippet-creator",
"publisherDisplayName": "nikitaKunevich"
},
"name": "snippet-creator",
"publisher": "nikitaKunevich",
"version": "0.0.5"
},
{
"metadata": {
"id": "c1859b60-c483-4493-a6ef-673cc1067c64",
"publisherId": "keifukuda.stopwatch",
"publisherDisplayName": "keifukuda"
},
"name": "stopwatch",
"publisher": "keifukuda",
"version": "0.0.2"
},
{
"metadata": {
"id": "c919f1b2-3705-431b-9cfd-bb0f6f3c9720",
"publisherId": "softwaredotcom.swdc-vscode",
"publisherDisplayName": "softwaredotcom"
},
"name": "swdc-vscode",
"publisher": "softwaredotcom",
"version": "1.3.9"
},
{
"metadata": {
"id": "4e44877c-1c8d-4f9c-ba86-1372d0fbeeb1",
"publisherId": "dracula-theme.theme-dracula",
"publisherDisplayName": "dracula-theme"
},
"name": "theme-dracula",
"publisher": "dracula-theme",
"version": "2.19.2"
},
{
"metadata": {
"id": "513cf511-3894-4ee2-8c34-13ab83ddfd37",
"publisherId": "eg2.tslint",
"publisherDisplayName": "eg2"
},
"name": "tslint",
"publisher": "eg2",
"version": "1.0.44"
},
{
"metadata": {
"id": "0241650e-9ef3-4559-9411-175ba915dc35",
"publisherId": "jvandyke.vscode-circleci",
"publisherDisplayName": "jvandyke"
},
"name": "vscode-circleci",
"publisher": "jvandyke",
"version": "0.5.0"
},
{
"metadata": {
"id": "1b160753-ae5e-42bb-82ad-d115ce5c10f4",
"publisherId": "be5invis.vscode-custom-css",
"publisherDisplayName": "be5invis"
},
"name": "vscode-custom-css",
"publisher": "be5invis",
"version": "3.0.9"
},
{
"metadata": {
"id": "0479fc1c-3d67-49f9-b087-fb9069afe48f",
"publisherId": "ms-azuretools.vscode-docker",
"publisherDisplayName": "ms-azuretools"
},
"name": "vscode-docker",
"publisher": "ms-azuretools",
"version": "0.9.0"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "1.9.1"
},
{
"metadata": {
"id": "f00faeee-e939-4900-aaa5-3bf3f62440a3",
"publisherId": "DSKWRK.vscode-generate-getter-setter",
"publisherDisplayName": "DSKWRK"
},
"name": "vscode-generate-getter-setter",
"publisher": "DSKWRK",
"version": "0.5.0"
},
{
"metadata": {
"id": "61fcd0cf-64d7-4836-8d6b-d55f4fb83281",
"publisherId": "vscjava.vscode-java-debug",
"publisherDisplayName": "vscjava"
},
"name": "vscode-java-debug",
"publisher": "vscjava",
"version": "0.24.0"
},
{
"metadata": {
"id": "3c6d2422-afcc-482d-a751-08c6ed38ce19",
"publisherId": "wmaurer.vscode-jumpy",
"publisherDisplayName": "wmaurer"
},
"name": "vscode-jumpy",
"publisher": "wmaurer",
"version": "0.3.1"
},
{
"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.0.9"
},
{
"metadata": {
"id": "ae9e3eb0-3357-4cc0-90ee-598d2d384757",
"publisherId": "eg2.vscode-npm-script",
"publisherDisplayName": "eg2"
},
"name": "vscode-npm-script",
"publisher": "eg2",
"version": "0.3.10"
},
{
"metadata": {
"id": "708cfcd8-e0c6-49ca-9af6-b27a342d247b",
"publisherId": "wingrunr21.vscode-ruby",
"publisherDisplayName": "wingrunr21"
},
"name": "vscode-ruby",
"publisher": "wingrunr21",
"version": "0.26.0"
},
{
"metadata": {
"id": "06cc3e44-aedb-41b8-a4ea-29ebf3c491fd",
"publisherId": "jpoissonnier.vscode-styled-components",
"publisherDisplayName": "jpoissonnier"
},
"name": "vscode-styled-components",
"publisher": "jpoissonnier",
"version": "0.0.28"
},
{
"metadata": {
"id": "6703768d-d42f-474e-9f6e-5f288d53f6e8",
"publisherId": "redhat.vscode-xml",
"publisherDisplayName": "redhat"
},
"name": "vscode-xml",
"publisher": "redhat",
"version": "0.10.1"
},
{
"metadata": {
"id": "2061917f-f76a-458a-8da9-f162de22b97e",
"publisherId": "redhat.vscode-yaml",
"publisherDisplayName": "redhat"
},
"name": "vscode-yaml",
"publisher": "redhat",
"version": "0.6.1"
},
{
"metadata": {
"id": "876e8f93-74d0-4f4f-91b7-34a09f19f444",
"publisherId": "VisualStudioExptTeam.vscodeintellicode",
"publisherDisplayName": "VisualStudioExptTeam"
},
"name": "vscodeintellicode",
"publisher": "VisualStudioExptTeam",
"version": "1.2.3"
},
{
"metadata": {
"id": "5a6dc0d5-dc02-4121-8e24-cad33a2ff0af",
"publisherId": "ms-vsliveshare.vsliveshare",
"publisherDisplayName": "ms-vsliveshare"
},
"name": "vsliveshare",
"publisher": "ms-vsliveshare",
"version": "1.0.1482"
}
]
// 키 바인딩을 이 파일에 넣어서 기본값을 덮어씁니다.
[{
"key": "ctrl+a ctrl+a",
"command": "editor.action.selectAll"
},
{
"key": "ctrl+a",
"command": "-editor.action.selectAll"
},
{
"key": "ctrl+t",
"command": "-workbench.action.showAllSymbols"
},
{
"key": "ctrl+t ctrl+t",
"command": "workbench.action.showAllSymbols"
},
{
"key": "ctrl+f ctrl+t",
"command": "editor.action.goToTypeDefinition"
},
{
"key": "ctrl+a ctrl+s",
"command": "editor.action.addCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+e ctrl+w",
"command": "editor.emmet.action.expandAbbreviation",
// "when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus"
},
{
"key": "ctrl+w ctrl+w",
"command": "workbench.action.closeWindow",
"when": "!editorIsOpen"
},
{
"key": "ctrl+w ctrl+w",
"command": "workbench.action.closeActiveEditor"
},
{
"key": "ctrl+k ctrl+c",
"command": "-editor.action.addCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+s ctrl+a",
"command": "editor.action.removeCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+u",
"command": "-editor.action.removeCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+s ctrl+s",
"command": "workbench.action.files.saveAll"
},
{
"command": "editor.action.addSelectionToNextFindMatch",
"key": "ctrl+d ctrl+d",
"when": "editorFocus"
},
{
"command": "editor.foldRecursively",
"key": "ctrl+e ctrl+q",
"when": "editorTextFocus"
},
{
"command": "editor.unfoldRecursively",
"key": "ctrl+q ctrl+e",
"when": "editorTextFocus"
},
{
"command": "actions.find",
"key": "ctrl+f ctrl+f"
},
{
"key": "ctrl+f",
"command": "-actions.find"
},
{
"key": "ctrl+q ctrl+q",
"command": "workbench.action.quickOpenView"
},
{
"key": "ctrl+q",
"command": "-workbench.action.quickOpenView"
},
{
"key": "ctrl+e ctrl+e",
"command": "workbench.action.quickOpen"
},
{
"key": "ctrl+e",
"command": "-workbench.action.quickOpen"
},
{
"key": "ctrl+h ctrl+h",
"command": "editor.action.startFindReplaceAction"
},
{
"key": "ctrl+h",
"command": "-editor.action.startFindReplaceAction"
},
{
"key": "ctrl+a ctrl+c",
"command": "workbench.action.closeOtherEditors"
},
{
"key": "ctrl+f ctrl+s",
"command": "workbench.action.gotoSymbol",
"when": "editorTextFocus"
},
{
"key": "ctrl+f ctrl+d",
"command": "editor.action.formatDocument",
"when": "editorTextFocus"
},
{
"key": "ctrl+n ctrl+u",
"command": "workbench.action.files.newUntitledFile"
},
{
"key": "ctrl+n ctrl+n",
"command": "explorer.newFile"
},
{
"key": "ctrl+n ctrl+f",
"command": "explorer.newFolder"
},
{
"key": "ctrl+n",
"command": "-workbench.action.files.newUntitledFile"
},
{
"key": "ctrl+n ctrl+d",
"command": "editor.action.dirtydiff.next",
"when": "editorTextFocus"
},
{
"key": "ctrl+d",
"command": "-editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "ctrl+pagedown",
"command": "-workbench.action.nextEditor"
},
{
"key": "ctrl+r ctrl+r",
"command": "workbench.action.openRecent"
},
{
"key": "ctrl+r",
"command": "-workbench.action.openRecent"
},
{
"key": "ctrl+r ctrl+c",
"command": "editor.debug.action.runToCursor"
},
{
"key": "ctrl+a ctrl+d",
"command": "workbench.action.navigateForward"
},
{
"key": "ctrl+d ctrl+a",
"command": "workbench.action.navigateBack"
},
{
"key": "ctrl+w",
"command": "-workbench.action.closeWindow",
"when": "!editorIsOpen"
},
{
"key": "ctrl+w",
"command": "-workbench.action.closeActiveEditor"
},
{
"key": "ctrl+r ctrl+w",
"command": "workbench.action.reloadWindow"
},
{
"key": "ctrl+f ctrl+a",
"command": "editor.action.previousMatchFindAction",
"when": "editorFocus"
},
{
"key": "ctrl+a ctrl+f",
"command": "editor.action.nextMatchFindAction",
"when": "editorFocus"
},
{
"key": "ctrl+b ctrl+b",
"command": "bookmarks.toggle",
"when": "editorTextFocus"
},
{
"key": "ctrl+b ctrl+n",
"command": "bookmarks.jumpToNext",
"when": "editorTextFocus"
},
{
"key": "ctrl+b ctrl+p",
"command": "bookmarks.jumpToPrevious",
"when": "editorTextFocus"
},
{
"key": "ctrl+b ctrl+d",
"command": "bookmarks.jumpToNext",
"when": "editorTextFocus"
},
{
"key": "ctrl+b ctrl+a",
"command": "bookmarks.jumpToPrevious",
"when": "editorTextFocus"
},
{
"key": "ctrl+f ctrl+t",
"command": "workbench.action.terminal.focus"
},
{
"key": "f6",
"command": "workbench.action.navigateEditorGroups"
},
{
"key": "ctrl+j",
"command": "-workbench.action.togglePanel",
},
{
"key": "ctrl+j ctrl+j",
"command": "extension.jumpy-word",
"when": "editorTextFocus"
}
]
//dsdsddddsddsdddddddd
[
{
"name": "about",
"version": "1.8.0"
},
{
"name": "activate-power-mode",
"version": "2.7.0"
},
{
"name": "archive-view",
"version": "0.64.3"
},
{
"name": "atom-beautify",
"version": "0.32.2"
},
{
"name": "atom-clock",
"version": "0.1.16"
},
{
"name": "atom-dark-syntax",
"version": "0.29.0",
"theme": "syntax"
},
{
"name": "atom-dark-ui",
"version": "0.53.2",
"theme": "ui"
},
{
"name": "atom-ide-ui",
"version": "0.11.1"
},
{
"name": "atom-light-syntax",
"version": "0.29.0",
"theme": "syntax"
},
{
"name": "atom-light-ui",
"version": "0.46.2",
"theme": "ui"
},
{
"name": "atom-save-all",
"version": "0.4.1"
},
{
"name": "atom-ternjs",
"version": "0.18.3"
},
{
"name": "atom-typescript",
"version": "12.4.1"
},
{
"name": "atom-visual-studio-code-ui",
"version": "1.3.4",
"theme": "ui"
},
{
"name": "autocomplete-atom-api",
"version": "0.10.7"
},
{
"name": "autocomplete-css",
"version": "0.17.5"
},
{
"name": "autocomplete-html",
"version": "0.8.4"
},
{
"name": "autocomplete-plus",
"version": "2.40.5"
},
{
"name": "autocomplete-snippets",
"version": "1.12.0"
},
{
"name": "autoflow",
"version": "0.29.3"
},
{
"name": "autosave",
"version": "0.24.6"
},
{
"name": "background-tips",
"version": "0.28.0"
},
{
"name": "base16-tomorrow-dark-theme",
"version": "1.5.0",
"theme": "syntax"
},
{
"name": "base16-tomorrow-light-theme",
"version": "1.5.0",
"theme": "syntax"
},
{
"name": "bookmarks",
"version": "0.45.1"
},
{
"name": "bracket-matcher",
"version": "0.89.1"
},
{
"name": "busy-signal",
"version": "1.4.3"
},
{
"name": "command-palette",
"version": "0.43.5"
},
{
"name": "cursor-history",
"version": "0.13.1"
},
{
"name": "dalek",
"version": "0.2.2"
},
{
"name": "deprecation-cop",
"version": "0.56.9"
},
{
"name": "dev-live-reload",
"version": "0.48.1"
},
{
"name": "elm-format",
"version": "3.0.0"
},
{
"name": "emmet",
"version": "2.4.3"
},
{
"name": "encoding-selector",
"version": "0.23.8"
},
{
"name": "exception-reporting",
"version": "0.43.1"
},
{
"name": "file-icons",
"version": "2.1.19"
},
{
"name": "find-and-replace",
"version": "0.215.5"
},
{
"name": "fuzzy-finder",
"version": "1.8.1"
},
{
"name": "git-diff",
"version": "1.3.9"
},
{
"name": "git-plus",
"version": "7.10.2"
},
{
"name": "github",
"version": "0.12.0"
},
{
"name": "go-to-line",
"version": "0.33.0"
},
{
"name": "grammar-selector",
"version": "0.50.0"
},
{
"name": "hey-pane",
"version": "1.1.0"
},
{
"name": "highlight-selected",
"version": "0.13.1"
},
{
"name": "image-view",
"version": "0.62.4"
},
{
"name": "incompatible-packages",
"version": "0.27.3"
},
{
"name": "indent-guide-improved",
"version": "1.4.13"
},
{
"name": "intentions",
"version": "1.1.5"
},
{
"name": "keybinding-resolver",
"version": "0.38.1"
},
{
"name": "language-babel",
"version": "2.84.0"
},
{
"name": "language-c",
"version": "0.59.3"
},
{
"name": "language-clojure",
"version": "0.22.7"
},
{
"name": "language-coffee-script",
"version": "0.49.3"
},
{
"name": "language-csharp",
"version": "1.0.1"
},
{
"name": "language-css",
"version": "0.42.10"
},
{
"name": "language-elm",
"version": "1.5.0"
},
{
"name": "language-gfm",
"version": "0.90.3"
},
{
"name": "language-git",
"version": "0.19.1"
},
{
"name": "language-go",
"version": "0.45.3"
},
{
"name": "language-html",
"version": "0.49.0"
},
{
"name": "language-hyperlink",
"version": "0.16.3"
},
{
"name": "language-java",
"version": "0.29.0"
},
{
"name": "language-javascript",
"version": "0.128.5"
},
{
"name": "language-json",
"version": "0.19.1"
},
{
"name": "language-less",
"version": "0.34.2"
},
{
"name": "language-make",
"version": "0.22.3"
},
{
"name": "language-markdown",
"version": "0.25.1"
},
{
"name": "language-mustache",
"version": "0.14.5"
},
{
"name": "language-objective-c",
"version": "0.15.1"
},
{
"name": "language-perl",
"version": "0.38.1"
},
{
"name": "language-php",
"version": "0.43.2"
},
{
"name": "language-powershell",
"version": "4.0.0"
},
{
"name": "language-property-list",
"version": "0.9.1"
},
{
"name": "language-python",
"version": "0.49.4"
},
{
"name": "language-ruby",
"version": "0.71.4"
},
{
"name": "language-ruby-on-rails",
"version": "0.25.3"
},
{
"name": "language-sass",
"version": "0.61.4"
},
{
"name": "language-shellscript",
"version": "0.26.3"
},
{
"name": "language-source",
"version": "0.9.0"
},
{
"name": "language-sql",
"version": "0.25.10"
},
{
"name": "language-text",
"version": "0.7.4"
},
{
"name": "language-todo",
"version": "0.29.4"
},
{
"name": "language-toml",
"version": "0.18.2"
},
{
"name": "language-typescript",
"version": "0.3.3"
},
{
"name": "language-xml",
"version": "0.35.2"
},
{
"name": "language-yaml",
"version": "0.32.0"
},
{
"name": "line-ending-selector",
"version": "0.7.5"
},
{
"name": "link",
"version": "0.31.4"
},
{
"name": "linter",
"version": "2.2.0"
},
{
"name": "linter-ui-default",
"version": "1.7.1"
},
{
"name": "markdown-preview",
"version": "0.159.20"
},
{
"name": "markdown-preview-enhanced",
"version": "0.15.6"
},
{
"name": "markdown-preview-plus",
"version": "2.5.8"
},
{
"name": "markdown-writer",
"version": "2.7.3"
},
{
"name": "metrics",
"version": "1.2.6"
},
{
"name": "minimap",
"version": "4.29.8"
},
{
"name": "minimap-bookmarks",
"version": "0.4.2"
},
{
"name": "minimap-cursorline",
"version": "0.2.0"
},
{
"name": "minimap-find-and-replace",
"version": "4.5.2"
},
{
"name": "minimap-git-diff",
"version": "4.3.1"
},
{
"name": "minimap-highlight-selected",
"version": "4.6.1"
},
{
"name": "multi-cursor",
"version": "2.1.5"
},
{
"name": "notifications",
"version": "0.70.5"
},
{
"name": "nuclide",
"version": "0.299.0"
},
{
"name": "one-dark-syntax",
"version": "1.8.2",
"theme": "syntax"
},
{
"name": "one-dark-ui",
"version": "1.11.0",
"theme": "ui"
},
{
"name": "one-light-syntax",
"version": "1.8.2",
"theme": "syntax"
},
{
"name": "one-light-ui",
"version": "1.11.0",
"theme": "ui"
},
{
"name": "open-on-github",
"version": "1.3.1"
},
{
"name": "open-terminal-here",
"version": "2.3.2"
},
{
"name": "package-generator",
"version": "1.3.0"
},
{
"name": "platformio-ide-terminal",
"version": "2.8.1"
},
{
"name": "python-indent",
"version": "1.1.5"
},
{
"name": "react",
"version": "0.18.0"
},
{
"name": "react-snippets",
"version": "1.1.0"
},
{
"name": "settings-view",
"version": "0.254.2"
},
{
"name": "snippets",
"version": "1.3.2"
},
{
"name": "solarized-dark-syntax",
"version": "1.1.4",
"theme": "syntax"
},
{
"name": "solarized-light-syntax",
"version": "1.1.4",
"theme": "syntax"
},
{
"name": "spell-check",
"version": "0.73.3"
},
{
"name": "status-bar",
"version": "1.8.15"
},
{
"name": "styleguide",
"version": "0.49.10"
},
{
"name": "svg-preview",
"version": "0.12.1"
},
{
"name": "symbols-view",
"version": "0.118.2"
},
{
"name": "sync-settings",
"version": "0.8.6"
},
{
"name": "tabs",
"version": "0.109.1"
},
{
"name": "teletype",
"version": "0.13.1"
},
{
"name": "terminal-plus",
"version": "0.14.5"
},
{
"name": "timecop",
"version": "0.36.2"
},
{
"name": "tree-view",
"version": "0.221.3"
},
{
"name": "update-package-dependencies",
"version": "0.13.1"
},
{
"name": "welcome",
"version": "0.36.6"
},
{
"name": "whitespace",
"version": "0.37.5"
},
{
"name": "wrap-guide",
"version": "0.40.3"
}
]
{
"editor.tokenColorCustomizations": {
"textMateRules": [{
"scope": "log.error",
"settings": {
"foreground": "#af1f1f",
"fontStyle": "bold"
}
},
{
"scope": "log.warning",
"settings": {
"foreground": "#f4ad42",
"fontStyle": ""
}
},
{
"scope": "log.pass",
"settings": {
"foreground": "#ff00ff",
"fontStyle": ""
}
}
]
},
"logFileHighlighter.customPatterns": [
{
"pattern": "Verbose",
"foreground": "green"
},
{
"pattern": "[Pp][Aa][Ss][Ss]",
"foreground": "lightblue"
},
{
"pattern": "[Rr][Ee][Tt][Rr][Yy]",
"foreground": "YellOw"
}
],
// Path to Python, you can use a custom version of Python by modifying this setting to include the full path.
"python.pythonPath": "E:/Apps/Scoop/apps/python/current",
"liveshare.features": "experimental",
"typescript.tsserver.log": "verbose",
// Absolute path to custom **component** template directory. If left blank, defaults to built-in template.
"generate-react-component.componentTemplatePath": "E:\\Users\\Administrator\\Dropbox\\dev\\.vscode\\.templates\\jscomponent",
// Toggle certain portions of your templates with these named booleans.
"generate-react-component.conditionals": [
"class"
],
// 탭 한 개에 해당하는 공백 수입니다. `editor.detectIndentation`이 켜져 있는 경우 이 설정은 파일 콘텐츠에 따라 재정의됩니다.
"editor.tabSize": 2,
"gitlens.defaultGravatarsStyle": "robohash",
// Absolute path to custom **container** template directory. If left blank, defaults to built-in template.
"generate-react-component.containerTemplatePath": "",
"powermode.enabled": true,
// 터미널의 글꼴 패밀리를 제어하며, 기본값은 editor.fontFamily의 값입니다.
"terminal.integrated.fontFamily": "Fira Code, D2Coding",
// 글꼴 패밀리를 제어합니다.
// "editor.fontFamily": "Consolas, 'Courier New', monospace, D2Coding",
"editor.fontFamily": "Fira Code, D2Coding",
// 글꼴 합자 사용
"editor.fontLigatures": true,
// Specifies the folder path to the JDK (8 or more recent) used to launch the Java Language Server.
// On Windows, backslashes must be escaped, i.e.
// "java.home":"C:\\Program Files\\Java\\jdk1.8.0_161"
"java.home": "E:/Apps/Scoop/apps/openjdk/current",
"terminal.integrated.shell.windows": "E:/Apps/Scoop/apps/pwsh/current/pwsh.exe",
"eslint.packageManager": "yarn",
"eslint.autoFixOnSave": true,
// Turns auto fix on save on or off, or defines which rules (e.g. `no-var-keyword`) to auto fix on save.
"tslint.autoFixOnSave": true,
"eslint.nodePath": "E:/Apps/Scoop/apps/nvm/current/nodejs/nodejs",
// 스크립트를 실행하는 데 사용하는 패키지 관리자.
"npm.packageManager": "yarn",
"javascript.implicitProjectConfig.experimentalDecorators": true,
"extensions.ignoreRecommendations": false,
// 파일 감시에서 제외할 파일 경로의 GLOB 패턴을 구성하세요. 패턴은 절대 경로(**접두사가 있는 경로 또는 전체 경로)여야 합니다. 이 설정을 변경하려면 다시 시작해야 합니다. 시작 시 Code에서 CPU 시간을 많이 차지하면 대용량 폴더를 제외하여 초기 로드를 줄일 수 있습니다.
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/*/**": true,
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/*.pyc": true,
"**/__pycache__/": true
},
// 사용하도록 설정하면 emmet 약어는 Tab 키를 눌렀을 때 확장됩니다.
"emmet.triggerExpansionOnTab": true,
// 기본 지원되지 않는 언어에서 Emmet 약어를 사용하도록 설정합니다. 언어와 emmet 지원 언어 사이에 매핑을 추가합니다.
// 예: {"vue-html": "html", "javascript": "javascriptreact"}
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
// Enables completion when you're writing Emmet abbreviations.
"html-css-class-completion.enableEmmetSupport": true,
// 편집기가 열리는 위치를 제어합니다. 현재 활성 편집기의 왼쪽 또는 오른쪽에서 편집기를 열려면 '왼쪽' 또는 '오른쪽'을 선택합니다. 현재 활성 편집기와 독립적으로 편집기를 열려면 '처음' 또는 '마지막'을 선택합니다.
"workbench.editor.openPositioning": "right",
// 검색에서 파일 및 폴더를 제외하도록 GLOB 패턴을 구성합니다. files.exclude 설정에서 모든 GLOB 패턴을 상속합니다.
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/*.pyc": true,
"**/__pycache__/": true
},
"gitlens.advanced.messages": {
"suppressShowKeyBindingsNotice": true,
"suppressResultsExplorerNotice": true
},
"gitlens.keymap": "chorded",
"sync.gist": "c79babb1e0926ca1765aafb09cd42cdd",
"sync.lastUpload": "2018-08-04T01:11:35.720Z",
"sync.autoDownload": false,
"sync.autoUpload": false,
"sync.lastDownload": "",
"sync.forceDownload": false,
"sync.host": "",
"sync.pathPrefix": "",
"sync.quietSync": false,
"sync.askGistName": false,
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"workbench.iconTheme": "material-icon-theme",
"material-icon-theme.showUpdateMessage": false,
"workbench.startupEditor": "welcomePage",
"window.zoomLevel": -1,
"markdown-preview-enhanced.liveUpdate": true,
"markdown-preview-enhanced.scrollSync": true,
"gitlens.historyExplorer.enabled": true,
"gitlens.resultsExplorer.files.layout": "auto",
"cSpell.userWords": [
"backend",
"blueprintjs",
"xpath"
],
"git.autofetch": true,
"gitlens.blame.toggleMode": "window",
"gitlens.heatmap.toggleMode": "window",
"material-icon-theme.activeIconPack": "react_redux",
"breadcrumbs.enabled": true,
"javascript.updateImportsOnFileMove.enabled": "never",
"gitlens.views.fileHistory.enabled": true,
"gitlens.views.lineHistory.enabled": true,
"gitlens.views.compare.files.layout": "auto",
"gitlens.views.search.files.layout": "auto",
"editor.wordWrap": "on",
"[plaintext]": {
"editor.wordWrap": "off",
},
"[python]":{
"editor.tabSize": 4,
},
"editor.letterSpacing": -0.5,
"editor.lineHeight": 17,
"editor.lineNumbers": "interval",
"editor.mouseWheelScrollSensitivity": 2,
"workbench.editor.revealIfOpen": true,
"editor.smoothScrolling": true,
"markdown.extension.toc.levels": "2..6",
"markdown.extension.toc.githubCompatibility": true,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"files.associations": {
"*.PBot": "javascript"
},
"vs-kubernetes": {
"vs-kubernetes.helm-path": "C:\\Users\\Administrator\\.vs-kubernetes\\tools\\helm\\windows-amd64\\helm.exe",
"vs-kubernetes.minikube-path": "C:\\Users\\Administrator\\.vs-kubernetes\\tools\\minikube\\windows-amd64\\minikube.exe",
"vs-kubernetes.draft-path": "C:\\Users\\Administrator\\.vs-kubernetes\\tools\\draft\\windows-amd64\\draft.exe"
},
"markdown.extension.toc.orderedList": true,
"markdown.extension.toc.updateOnSave": false,
"cloudcode.gke": {
"projectIds": [
"practice-219002"
]
},
"python.jediEnabled": false,
"terminal.integrated.rendererType": "dom",
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"C_Cpp.intelliSenseCachePath": "D:/Cache",
"cmake-tools-helper.cmake_download_path": "C:\\Users\\Administrator\\.vscode\\extensions\\maddouri.cmake-tools-helper-0.2.1\\cmake_download",
"liveshare.featureSet": "insiders",
"git.enableSmartCommit": true,
"files.autoSave": "afterDelay"
}
{
// 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:
"debug value": {
"scope":"javascript, typescript, typescript react, plaintext, tsx, .tsx, js, jsx, typescriptreact",
"prefix": "lg",
"body": [
"console.log(`$1: ${$1}`);",
"$0"
],
"description": "Log output to console"
},
"debug value2": {
"scope":"javascript, typescript, typescript react, plaintext, tsx, .tsx, js, jsx, typescriptreact",
"prefix": "log",
"body": [
"console.log(`$1: ${$1}`);",
"$0"
],
"description": "Log output to console"
},
"Test value": {
"scope":"javascript",
"prefix": "lv",
"body": [
"it(`$1: ${$1}`);",
"$0"
],
"description": "debug value"
},
"new snippeeeet":{
"scope":"javascript, typescript, typescript react, plaintext, tsx, .tsx, js, jsx, typescriptreact",
"prefix": "asdfg",
"body": "sdoksdkosdkosdkosdkoosdkkosdkosdkosdkosd$0"
},
"Arc React Stateless Component With Style": {
"scope": "javascript,typescript,tsx",
"prefix": "arscs",
"body": [
"import React from 'react';\r",
"import styles from './$MyComponent.scss';\r",
"import classNames from 'classnames/bind';\r",
"const cx = classNames.bind(styles);\r",
"\r",
"const $MyComponent = ({ style, children }) => {\r",
" return (\r",
" <div style={style} className={cx('$my-component', {\r",
" ${0:// other style options}\r",
" })}>\r",
" {${children}}\r",
" </div>\r",
" );\r",
"};\r",
"\r",
"export default $MyComponent;\r",
"\r",
""
],
"description": "Create Arc React Stateless Component wih style\n\rDependency = react, classnames"
},
"Re-export react module": {
"prefix": "rem",
"body": [
"export { default } from './$MyModule';$0"
]
},
"Re-export react module2": {
"prefix": "rexpd",
"body": [
"export { default } from './$MyModule';$0"
]
},
"Redux Action Snippet": {
"prefix": "duckr",
"body": [
"import { createAction, handleActions } from 'redux-actions';\r",
"\r",
"import { Map, List } from 'immutable';\r",
"\r",
"//action types\r",
"const ACTION_NAME = 'domain/ACTION_NAME';\r",
"\r",
"// action creator\r",
"export const actionCreator = createAction(ACTION_NAME);\r",
"\r",
"// initial state\r",
"const initialState = Map({\r",
"\r",
"});\r",
"\r",
"// reducer\r",
"export default handleActions({\r",
" [ACTION_NAME]: (state, action) => {\r",
" return state;\r",
" }\r",
"}, initialState);"
],
"description": "Redux Action Snippet.\rDependency : immutable, redux-actions"
},
"Arc React Statless Component": {
"prefix": "arsc",
"body": [
"import React from 'react';\r",
"\r",
"const $MyComponent = ({ ${0:children} }) => {\r",
" return (\r",
" <div>\r",
" {${0:children}}\r",
" </div>\r",
" );\r",
"};\r",
"\r",
"export default $MyComponent;\r",
""
],
"description": "Create Arc React Stateless Component\rDependency : react"
},
"Import Redux Dependencies": {
"prefix": "impredux",
"body": [
"// import redux dependencies\r",
"import { connect } from 'react-redux';\r",
"import { bindActionCreators } from 'redux';\r",
"import * as baseActions from 'store/modules/';"
],
"description": "Import Redux Dependencies"
},
"Connect react component to redux": {
"prefix": "credux",
"body": [
"export default connect(\r",
" (state)=>({\r",
"\r",
" }),\r",
" (dispatch)=>({\r",
" Actions: bindActionCreators($baseActions, dispatch)\r",
" })\r",
")(${0:MyComponent});"
],
"description": "Connect react component to redux"
},
"undefined": {
"body": [
"import React, {Component} from 'react';\r",
"import styles from './Modal.scss';\r",
"import classNames from 'classNames/bind';\r",
"\r",
"const cx = classNames.bind(styles);\r",
"\r",
"class Modal extends Component{\r",
" render(){\r",
" const {children} = this.props;\r",
"\r",
" return (\r",
" <div className = {cx('modal-wrapper')}>\r",
" <div className = {cx('modal')}>\r",
" {children}\r",
" </div>\r",
" </div>\r",
" )\r",
" }\r",
"\r",
"}"
]
},
"regex module import": {
"prefix": "imr",
"body": [
"// https://github.com/diegohaz/arc/wiki/Atomic-Design#do-not-worry\r",
"const req = require.context('.', true, /\\.\\/[^/]+\\/[^/]+\\/index\\.js$/);\r",
"\r",
"req.keys().forEach((key: string) => {\r",
" const componentName = key.replace(/^.+\\/([^/]+)\\/index\\.js/, '$1');\r",
" module.exports[componentName] = req(key).default;\r",
"});"
],
"description": "Import module with regex"
}
}
{
"algs.StdOut": {
"prefix": "algstdout",
"body": [
"MOVE BELOW IMPORTS TO TOP\r",
"import java.io.OutputStreamWriter;\r",
"import java.io.PrintWriter;\r",
"import java.io.UnsupportedEncodingException;\r",
"import java.util.Locale;\r",
"\r",
"/******************************************************************************\r",
" * Compilation: javac StdOut.java\r",
" * Execution: java StdOut\r",
" * Dependencies: none\r",
" *\r",
" * Writes data of various types to standard output.\r",
" *\r",
" ******************************************************************************/\r",
"\r",
"// package edu.princeton.cs.algs4;\r",
"\r",
"\r",
"/**\r",
" * This class provides methods for printing strings and numbers to standard output.\r",
" * <p>\r",
" * <b>Getting started.</b>\r",
" * To use this class, you must have {@code StdOut.class} in your\r",
" * Java classpath. If you used our autoinstaller, you should be all set.\r",
" * Otherwise, download\r",
" * <a href = \"http://introcs.cs.princeton.edu/java/stdlib/StdOut.java\">StdOut.java</a>\r",
" * and put a copy in your working directory.\r",
" * <p>\r",
" * Here is an example program that uses {@code StdOut}:\r",
" * <pre>\r",
" * public class TestStdOut {\r",
" * public static void main(String[] args) {\r",
" * int a = 17;\r",
" * int b = 23;\r",
" * int sum = a + b;\r",
" * StdOut.println(\"Hello, World\");\r",
" * StdOut.printf(\"%d + %d = %d\\n\", a, b, sum);\r",
" * }\r",
" * }\r",
" * </pre>\r",
" * <p>\r",
" * <b>Differences with System.out.</b>\r",
" * The behavior of {@code StdOut} is similar to that of {@link System#out},\r",
" * but there are a few subtle differences:\r",
" * <ul>\r",
" * <li> {@code StdOut} coerces the character-set encoding to UTF-8,\r",
" * which is a standard character encoding for Unicode.\r",
" * <li> {@code StdOut} coerces the locale to {@link Locale#US},\r",
" * for consistency with {@link StdIn}, {@link Double#parseDouble(String)},\r",
" * and floating-point literals.\r",
" * <li> {@code StdOut} <em>flushes</em> standard output after each call to\r",
" * {@code print()} so that text will appear immediately in the terminal.\r",
" * </ul>\r",
" * <p>\r",
" * <b>Reference.</b>\r",
" * For additional documentation,\r",
" * see <a href=\"http://introcs.cs.princeton.edu/15inout\">Section 1.5</a> of\r",
" * <em>Computer Science: An Interdisciplinary Approach</em>\r",
" * by Robert Sedgewick and Kevin Wayne.\r",
" *\r",
" * @author Robert Sedgewick\r",
" * @author Kevin Wayne\r",
" */\r",
"final class StdOut {\r",
"\r",
" // force Unicode UTF-8 encoding; otherwise it's system dependent\r",
" private static final String CHARSET_NAME = \"UTF-8\";\r",
"\r",
" // assume language = English, country = US for consistency with StdIn\r",
" private static final Locale LOCALE = Locale.US;\r",
"\r",
" // send output here\r",
" private static PrintWriter out;\r",
"\r",
" // this is called before invoking any methods\r",
" static {\r",
" try {\r",
" out = new PrintWriter(new OutputStreamWriter(System.out, CHARSET_NAME), true);\r",
" }\r",
" catch (UnsupportedEncodingException e) {\r",
" System.out.println(e);\r",
" }\r",
" }\r",
"\r",
" // don't instantiate\r",
" private StdOut() { }\r",
"\r",
" /**\r",
" * Closes standard output.\r",
" */\r",
" public static void close() {\r",
" out.close();\r",
" }\r",
"\r",
" /**\r",
" * Terminates the current line by printing the line-separator string.\r",
" */\r",
" public static void println() {\r",
" out.println();\r",
" }\r",
"\r",
" /**\r",
" * Prints an object to this output stream and then terminates the line.\r",
" *\r",
" * @param x the object to print\r",
" */\r",
" public static void println(Object x) {\r",
" out.println(x);\r",
" }\r",
"\r",
" /**\r",
" * Prints a boolean to standard output and then terminates the line.\r",
" *\r",
" * @param x the boolean to print\r",
" */\r",
" public static void println(boolean x) {\r",
" out.println(x);\r",
" }\r",
"\r",
" /**\r",
" * Prints a character to standard output and then terminates the line.\r",
" *\r",
" * @param x the character to print\r",
" */\r",
" public static void println(char x) {\r",
" out.println(x);\r",
" }\r",
"\r",
" /**\r",
" * Prints a double to standard output and then terminates the line.\r",
" *\r",
" * @param x the double to print\r",
" */\r",
" public static void println(double x) {\r",
" out.println(x);\r",
" }\r",
"\r",
" /**\r",
" * Prints an integer to standard output and then terminates the line.\r",
" *\r",
" * @param x the integer to print\r",
" */\r",
" public static void println(float x) {\r",
" out.println(x);\r",
" }\r",
"\r",
" /**\r",
" * Prints an integer to standard output and then terminates the line.\r",
" *\r",
" * @param x the integer to print\r",
" */\r",
" public static void println(int x) {\r",
" out.println(x);\r",
" }\r",
"\r",
" /**\r",
" * Prints a long to standard output and then terminates the line.\r",
" *\r",
" * @param x the long to print\r",
" */\r",
" public static void println(long x) {\r",
" out.println(x);\r",
" }\r",
"\r",
" /**\r",
" * Prints a short integer to standard output and then terminates the line.\r",
" *\r",
" * @param x the short to print\r",
" */\r",
" public static void println(short x) {\r",
" out.println(x);\r",
" }\r",
"\r",
" /**\r",
" * Prints a byte to standard output and then terminates the line.\r",
" * <p>\r",
" * To write binary data, see {@link BinaryStdOut}.\r",
" *\r",
" * @param x the byte to print\r",
" */\r",
" public static void println(byte x) {\r",
" out.println(x);\r",
" }\r",
"\r",
" /**\r",
" * Flushes standard output.\r",
" */\r",
" public static void print() {\r",
" out.flush();\r",
" }\r",
"\r",
" /**\r",
" * Prints an object to standard output and flushes standard output.\r",
" * \r",
" * @param x the object to print\r",
" */\r",
" public static void print(Object x) {\r",
" out.print(x);\r",
" out.flush();\r",
" }\r",
"\r",
" /**\r",
" * Prints a boolean to standard output and flushes standard output.\r",
" * \r",
" * @param x the boolean to print\r",
" */\r",
" public static void print(boolean x) {\r",
" out.print(x);\r",
" out.flush();\r",
" }\r",
"\r",
" /**\r",
" * Prints a character to standard output and flushes standard output.\r",
" * \r",
" * @param x the character to print\r",
" */\r",
" public static void print(char x) {\r",
" out.print(x);\r",
" out.flush();\r",
" }\r",
"\r",
" /**\r",
" * Prints a double to standard output and flushes standard output.\r",
" * \r",
" * @param x the double to print\r",
" */\r",
" public static void print(double x) {\r",
" out.print(x);\r",
" out.flush();\r",
" }\r",
"\r",
" /**\r",
" * Prints a float to standard output and flushes standard output.\r",
" * \r",
" * @param x the float to print\r",
" */\r",
" public static void print(float x) {\r",
" out.print(x);\r",
" out.flush();\r",
" }\r",
"\r",
" /**\r",
" * Prints an integer to standard output and flushes standard output.\r",
" * \r",
" * @param x the integer to print\r",
" */\r",
" public static void print(int x) {\r",
" out.print(x);\r",
" out.flush();\r",
" }\r",
"\r",
" /**\r",
" * Prints a long integer to standard output and flushes standard output.\r",
" * \r",
" * @param x the long integer to print\r",
" */\r",
" public static void print(long x) {\r",
" out.print(x);\r",
" out.flush();\r",
" }\r",
"\r",
" /**\r",
" * Prints a short integer to standard output and flushes standard output.\r",
" * \r",
" * @param x the short integer to print\r",
" */\r",
" public static void print(short x) {\r",
" out.print(x);\r",
" out.flush();\r",
" }\r",
"\r",
" /**\r",
" * Prints a byte to standard output and flushes standard output.\r",
" *\r",
" * @param x the byte to print\r",
" */\r",
" public static void print(byte x) {\r",
" out.print(x);\r",
" out.flush();\r",
" }\r",
"\r",
" /**\r",
" * Prints a formatted string to standard output, using the specified format\r",
" * string and arguments, and then flushes standard output.\r",
" *\r",
" *\r",
" * @param format the <a href = \"http://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html#syntax\">format string</a>\r",
" * @param args the arguments accompanying the format string\r",
" */\r",
" public static void printf(String format, Object... args) {\r",
" out.printf(LOCALE, format, args);\r",
" out.flush();\r",
" }\r",
"\r",
" /**\r",
" * Prints a formatted string to standard output, using the locale and\r",
" * the specified format string and arguments; then flushes standard output.\r",
" *\r",
" * @param locale the locale\r",
" * @param format the <a href = \"http://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html#syntax\">format string</a>\r",
" * @param args the arguments accompanying the format string\r",
" */\r",
" public static void printf(Locale locale, String format, Object... args) {\r",
" out.printf(locale, format, args);\r",
" out.flush();\r",
" }\r",
"\r",
" /**\r",
" * Unit tests some of the methods in {@code StdOut}.\r",
" *\r",
" * @param args the command-line arguments\r",
" */\r",
" public static void main(String[] args) {\r",
"\r",
" // write to stdout\r",
" StdOut.println(\"Test\");\r",
" StdOut.println(17);\r",
" StdOut.println(true);\r",
" StdOut.printf(\"%.6f\\n\", 1.0/7.0);\r",
" }\r",
"\r",
"}\r",
"\r",
"\r",
"\r",
"\r",
"\r",
"/******************************************************************************\r",
" * Compilation: javac Stopwatch.java\r",
" * Execution: java Stopwatch n\r",
" * Dependencies: none\r",
" *\r",
" * A utility class to measure the running time (wall clock) of a program.\r",
" *\r",
" * % java8 Stopwatch 100000000\r",
" * 6.666667e+11 0.5820 seconds\r",
" * 6.666667e+11 8.4530 seconds\r",
" *\r",
" ******************************************************************************/\r",
"\r",
"// package edu.princeton.cs.algs4;\r",
"\r",
"/**\r",
" * The {@code Stopwatch} data type is for measuring\r",
" * the time that elapses between the start and end of a\r",
" * programming task (wall-clock time).\r",
" *\r",
" * See {@link StopwatchCPU} for a version that measures CPU time.\r",
" * For additional documentation,\r",
" * see <a href=\"http://algs4.cs.princeton.edu/14analysis\">Section 1.4</a> of\r",
" * <i>Algorithms, 4th Edition</i> by Robert Sedgewick and Kevin Wayne.\r",
" *\r",
" * @author Robert Sedgewick\r",
" * @author Kevin Wayne\r",
" */\r",
""
],
"description": "Import Algs4j StdOut"
},
"algs.Stopwatch": {
"prefix": "algsstopwatch",
"body": [
"\r",
"class Stopwatch { \r",
"\r",
" private final long start;\r",
"\r",
" /**\r",
" * Initializes a new stopwatch.\r",
" */\r",
" public Stopwatch() {\r",
" start = System.currentTimeMillis();\r",
" } \r",
"\r",
"\r",
" /**\r",
" * Returns the elapsed CPU time (in seconds) since the stopwatch was created.\r",
" *\r",
" * @return elapsed CPU time (in seconds) since the stopwatch was created\r",
" */\r",
" public double elapsedTime() {\r",
" long now = System.currentTimeMillis();\r",
" return (now - start) / 1000.0;\r",
" }\r",
"\r",
" \r",
" /**\r",
" * Unit tests the {@code Stopwatch} data type.\r",
" * Takes a command-line argument {@code n} and computes the \r",
" * sum of the square roots of the first {@code n} positive integers,\r",
" * first using {@code Math.sqrt()}, then using {@code Math.pow()}.\r",
" * It prints to standard output the sum and the amount of time to\r",
" * compute the sum. Note that the discrete sum can be approximated by\r",
" * an integral - the sum should be approximately 2/3 * (n^(3/2) - 1).\r",
" *\r",
" * @param args the command-line arguments\r",
" */\r",
" public static void main(String[] args) {\r",
" int n = Integer.parseInt(args[0]);\r",
"\r",
" // sum of square roots of integers from 1 to n using Math.sqrt(x).\r",
" Stopwatch timer1 = new Stopwatch();\r",
" double sum1 = 0.0;\r",
" for (int i = 1; i <= n; i++) {\r",
" sum1 += Math.sqrt(i);\r",
" }\r",
" double time1 = timer1.elapsedTime();\r",
" StdOut.printf(\"%e (%.2f seconds)\\n\", sum1, time1);\r",
"\r",
" // sum of square roots of integers from 1 to n using Math.pow(x, 0.5).\r",
" Stopwatch timer2 = new Stopwatch();\r",
" double sum2 = 0.0;\r",
" for (int i = 1; i <= n; i++) {\r",
" sum2 += Math.pow(i, 0.5);\r",
" }\r",
" double time2 = timer2.elapsedTime();\r",
" StdOut.printf(\"%e (%.2f seconds)\\n\", sum2, time2);\r",
" }\r",
"} \r",
"\r",
"/******************************************************************************\r",
" * Copyright 2002-2016, Robert Sedgewick and Kevin Wayne.\r",
" *\r",
" * This file is part of algs4.jar, which accompanies the textbook\r",
" *\r",
" * Algorithms, 4th edition by Robert Sedgewick and Kevin Wayne,\r",
" * Addison-Wesley Professional, 2011, ISBN 0-321-57351-X.\r",
" * http://algs4.cs.princeton.edu\r",
" *\r",
" *\r",
" * algs4.jar is free software: you can redistribute it and/or modify\r",
" * it under the terms of the GNU General Public License as published by\r",
" * the Free Software Foundation, either version 3 of the License, or\r",
" * (at your option) any later version.\r",
" *\r",
" * algs4.jar is distributed in the hope that it will be useful,\r",
" * but WITHOUT ANY WARRANTY; without even the implied warranty of\r",
" * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r",
" * GNU General Public License for more details.\r",
" *\r",
" * You should have received a copy of the GNU General Public License\r",
" * along with algs4.jar. If not, see http://www.gnu.org/licenses.\r",
" ******************************************************************************/\r",
""
],
"description": "Import Algs4j Stopwatch. Dependency: StdOut"
},
"algs.License": {
"prefix": "algslicense",
"body": [
"\r",
"/******************************************************************************\r",
" * Copyright 2002-2016, Robert Sedgewick and Kevin Wayne.\r",
" *\r",
" * This file is part of algs4.jar, which accompanies the textbook\r",
" *\r",
" * Algorithms, 4th edition by Robert Sedgewick and Kevin Wayne,\r",
" * Addison-Wesley Professional, 2011, ISBN 0-321-57351-X.\r",
" * http://algs4.cs.princeton.edu\r",
" *\r",
" *\r",
" * algs4.jar is free software: you can redistribute it and/or modify\r",
" * it under the terms of the GNU General Public License as published by\r",
" * the Free Software Foundation, either version 3 of the License, or\r",
" * (at your option) any later version.\r",
" *\r",
" * algs4.jar is distributed in the hope that it will be useful,\r",
" * but WITHOUT ANY WARRANTY; without even the implied warranty of\r",
" * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r",
" * GNU General Public License for more details.\r",
" *\r",
" * You should have received a copy of the GNU General Public License\r",
" * along with algs4.jar. If not, see http://www.gnu.org/licenses.\r",
" ******************************************************************************/\r",
""
],
"description": "Import algs4j license"
}
}
// {
// "Arc React Stateless Component With Style": {
// "prefix": "arscs",
// "body": [
// "import React from 'react';\r",
// "import styles from './$MyComponent.scss';\r",
// "import classNames from 'classnames/bind';\r",
// "const cx = classNames.bind(styles);\r",
// "\r",
// "const $MyComponent = ({ style, children }) => {\r",
// " return (\r",
// " <div style={style} className={cx('$my-component', {\r",
// " ${0:other style options}\r",
// " })}>\r",
// " {${children}}\r",
// " </div>\r",
// " );\r",
// "};\r",
// "\r",
// "export default $MyComponent;\r",
// "\r",
// ""
// ],
// "description": "Create Arc React Stateless Component wih style\rDependency = react, classnames"
// },
// "Re-export react module": {
// "prefix": "rem",
// "body": [
// "export { default } from './$MyModule';$0"
// ]
// },
// "Re-export react module2": {
// "prefix": "rexpd",
// "body": [
// "export { default } from './$MyModule';$0"
// ]
// },
// "Redux Action Snippet": {
// "prefix": "duckr",
// "body": [
// "import { createAction, handleActions } from 'redux-actions';\r",
// "\r",
// "import { Map, List } from 'immutable';\r",
// "\r",
// "//action types\r",
// "const ACTION_NAME = 'domain/ACTION_NAME';\r",
// "\r",
// "// action creator\r",
// "export const actionCreator = createAction(ACTION_NAME);\r",
// "\r",
// "// initial state\r",
// "const initialState = Map({\r",
// "\r",
// "});\r",
// "\r",
// "// reducer\r",
// "export default handleActions({\r",
// " [ACTION_NAME]: (state, action) => {\r",
// " return state;\r",
// " }\r",
// "}, initialState);"
// ],
// "description": "Redux Action Snippet.\rDependency : immutable, redux-actions"
// },
// "Arc React Statless Component": {
// "prefix": "arsc",
// "body": [
// "import React from 'react';\r",
// "\r",
// "const $MyComponent = ({ ${0:children} }) => {\r",
// " return (\r",
// " <div>\r",
// " {${0:children}}\r",
// " </div>\r",
// " );\r",
// "};\r",
// "\r",
// "export default $MyComponent;\r",
// ""
// ],
// "description": "Create Arc React Stateless Component\rDependency : react"
// },
// "Import Redux Dependencies": {
// "prefix": "impredux",
// "body": [
// "// import redux dependencies\r",
// "import { connect } from 'react-redux';\r",
// "import { bindActionCreators } from 'redux';\r",
// "import * as baseActions from 'store/modules/';"
// ],
// "description": "Import Redux Dependencies"
// },
// "Connect react component to redux": {
// "prefix": "credux",
// "body": [
// "export default connect(\r",
// " (state)=>({\r",
// "\r",
// " }),\r",
// " (dispatch)=>({\r",
// " Actions: bindActionCreators($baseActions, dispatch)\r",
// " })\r",
// ")(${0:MyComponent});"
// ],
// "description": "Connect react component to redux"
// },
// "undefined": {
// "body": [
// "import React, {Component} from 'react';\r",
// "import styles from './Modal.scss';\r",
// "import classNames from 'classNames/bind';\r",
// "\r",
// "const cx = classNames.bind(styles);\r",
// "\r",
// "class Modal extends Component{\r",
// " render(){\r",
// " const {children} = this.props;\r",
// "\r",
// " return (\r",
// " <div className = {cx('modal-wrapper')}>\r",
// " <div className = {cx('modal')}>\r",
// " {children}\r",
// " </div>\r",
// " </div>\r",
// " )\r",
// " }\r",
// "\r",
// "}"
// ]
// },
// "regex module import": {
// "prefix": "imr",
// "body": [
// "// https://github.com/diegohaz/arc/wiki/Atomic-Design#do-not-worry\r",
// "const req = require.context('.', true, /\\.\\/[^/]+\\/[^/]+\\/index\\.js$/);\r",
// "\r",
// "req.keys().forEach((key: string) => {\r",
// " const componentName = key.replace(/^.+\\/([^/]+)\\/index\\.js/, '$1');\r",
// " module.exports[componentName] = req(key).default;\r",
// "});"
// ],
// "description": "Import module with regex"
// }
// }
{
// Place your snippets for javascriptreact 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 markdown 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:
"Block code": {
"prefix": "blockcode",
"body": [
"> 📂 `${1:<FileName>}.${2:<extension>}`",
"```${2:<extension>}",
"${0:// file content}",
"```",
],
"description": "Code block with file name"
},
"Collapsible": {
"prefix": "collapsible",
"body": [
"<details><summary markdown=\"span\">${1:summary}</summary>",
"${0: // content}",
"</details>"
],
"description": "collapsible block"
}
}
{
"Re-export react module": {
"prefix": "rem",
"body": [
"export { default } from './ScreenMask';"
],
"description": ""
},
}
{
"debug": {
"prefix": "debug",
"body": [
"it('$1',$1)",
"$0"
],
"description": "debug a value"
}
}
{
// Place your snippets for typescript 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"
// }
}
// {
// "Arc React Stateless Component With Style": {
// "prefix": "arscs",
// "body": [
// "import React from 'react';\r",
// "import styles from './$MyComponent.scss';\r",
// "import classNames from 'classnames/bind';\r",
// "const cx = classNames.bind(styles);\r",
// "\r",
// "const $MyComponent = ({ style, children }) => {\r",
// " return (\r",
// " <div style={style} className={cx('$my-component', {\r",
// " ${0:other style options}\r",
// " })}>\r",
// " {${children}}\r",
// " </div>\r",
// " );\r",
// "};\r",
// "\r",
// "export default $MyComponent;\r",
// "\r",
// ""
// ],
// "description": "Create Arc React Stateless Component wih style\rDependency = react, classnames"
// },
// "Re-export react module": {
// "prefix": "rem",
// "body": [
// "export { default } from './$MyModule';$0"
// ]
// },
// "Re-export react module2": {
// "prefix": "rexpd",
// "body": [
// "export { default } from './$MyModule';$0"
// ]
// },
// "Redux Action Snippet": {
// "prefix": "duckr",
// "body": [
// "import { createAction, handleActions } from 'redux-actions';\r",
// "\r",
// "import { Map, List } from 'immutable';\r",
// "\r",
// "//action types\r",
// "const ACTION_NAME = 'domain/ACTION_NAME';\r",
// "\r",
// "// action creator\r",
// "export const actionCreator = createAction(ACTION_NAME);\r",
// "\r",
// "// initial state\r",
// "const initialState = Map({\r",
// "\r",
// "});\r",
// "\r",
// "// reducer\r",
// "export default handleActions({\r",
// " [ACTION_NAME]: (state, action) => {\r",
// " return state;\r",
// " }\r",
// "}, initialState);"
// ],
// "description": "Redux Action Snippet.\rDependency : immutable, redux-actions"
// },
// "Arc React Statless Component": {
// "prefix": "arsc",
// "body": [
// "import React from 'react';\r",
// "\r",
// "const $MyComponent = ({ ${0:children} }) => {\r",
// " return (\r",
// " <div>\r",
// " {${0:children}}\r",
// " </div>\r",
// " );\r",
// "};\r",
// "\r",
// "export default $MyComponent;\r",
// ""
// ],
// "description": "Create Arc React Stateless Component\rDependency : react"
// },
// "Import Redux Dependencies": {
// "prefix": "impredux",
// "body": [
// "// import redux dependencies\r",
// "import { connect } from 'react-redux';\r",
// "import { bindActionCreators } from 'redux';\r",
// "import * as baseActions from 'store/modules/';"
// ],
// "description": "Import Redux Dependencies"
// },
// "Connect react component to redux": {
// "prefix": "credux",
// "body": [
// "export default connect(\r",
// " (state)=>({\r",
// "\r",
// " }),\r",
// " (dispatch)=>({\r",
// " Actions: bindActionCreators($baseActions, dispatch)\r",
// " })\r",
// ")(${0:MyComponent});"
// ],
// "description": "Connect react component to redux"
// },
// "undefined": {
// "body": [
// "import React, {Component} from 'react';\r",
// "import styles from './Modal.scss';\r",
// "import classNames from 'classNames/bind';\r",
// "\r",
// "const cx = classNames.bind(styles);\r",
// "\r",
// "class Modal extends Component{\r",
// " render(){\r",
// " const {children} = this.props;\r",
// "\r",
// " return (\r",
// " <div className = {cx('modal-wrapper')}>\r",
// " <div className = {cx('modal')}>\r",
// " {children}\r",
// " </div>\r",
// " </div>\r",
// " )\r",
// " }\r",
// "\r",
// "}"
// ]
// }
// }
{
"Create Simple React Component": {
"prefix": "csrc",
"body": [
"import React from 'react';\r",
"import styles from './Dashboard.css';\r",
"\r",
"const Dashboard = ({ children }) => {\r",
" return (\r",
" <div>\r",
" {children}\r",
" </div>\r",
" );\r",
"};\r",
"\r",
"export default Dashboard;"
],
"description": "Create Simple React Component"
},
"Create Typescript React Component": {
"prefix": "crts",
"body": [
"import * as React from 'react';\r",
"\r",
"class Counter extends React.Component {\r",
" public render() {\r",
" return (\r",
" <div className=\"Counter\">\r",
" Counter\r",
" </div>\r",
" );\r",
" }\r",
"}\r",
"\r",
"export default Counter;\r",
""
],
"description": "Create Typescript React Component"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment