Last active
April 12, 2019 13:31
-
-
Save dinhmai74/6784d0c40cb1b754bd48e545e7afcf03 to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2019-04-12T13:31:24.898Z","extensionVersion":"v3.2.8"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"metadata": { | |
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd", | |
"publisherId": "Shan.code-settings-sync", | |
"publisherDisplayName": "Shan" | |
}, | |
"name": "code-settings-sync", | |
"publisher": "Shan", | |
"version": "3.2.8" | |
}, | |
{ | |
"metadata": { | |
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03", | |
"publisherId": "vscodevim.vim", | |
"publisherDisplayName": "vscodevim" | |
}, | |
"name": "vim", | |
"publisher": "vscodevim", | |
"version": "1.4.0" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Empty |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "tab", | |
"command": "selectNextSuggestion", | |
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible" | |
}, | |
{ | |
"key": "down", | |
"command": "-selectNextSuggestion", | |
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible" | |
}, | |
{ | |
"key": "shift+tab", | |
"command": "selectPrevSuggestion", | |
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible" | |
}, | |
{ | |
"key": "up", | |
"command": "-selectPrevSuggestion", | |
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible" | |
}, | |
{ | |
"key": "cmd+n", | |
"command": "newFile.createNewFile" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"window.zoomLevel": 1, | |
"editor.multiCursorModifier": "alt", | |
"files.autoSave": "off", | |
"workbench.startupEditor": "newUntitledFile", | |
"newFile.defaultBaseFileName": "", | |
"newFile.relativeTo": "file", // "root" or "project" | |
"newFile.defaultFileExtension": "", | |
"newFile.rootDirectory": "~", | |
"newFile.showPathRelativeTo": "none", // "project" or "none" | |
"newFile.expandBraces": false, | |
"explorer.confirmDragAndDrop": false, | |
"git.enableSmartCommit": true, | |
"[javascript]": {}, | |
"workbench.colorTheme": "One Dark Pro Vivid", | |
"gitlens.advanced.messages": { | |
"suppressCommitHasNoPreviousCommitWarning": false, | |
"suppressCommitNotFoundWarning": false, | |
"suppressFileNotUnderSourceControlWarning": false, | |
"suppressGitVersionWarning": false, | |
"suppressLineUncommittedWarning": false, | |
"suppressNoRepositoryWarning": false, | |
"suppressResultsExplorerNotice": false, | |
"suppressShowKeyBindingsNotice": true | |
}, | |
"editor.fontSize": 13, | |
"editor.fontWeight": "100", | |
"editor.fontFamily": "'Fira Code','Hasklig-ExtraLight'", | |
"editor.fontLigatures": true, | |
"git.autofetch": true, | |
"files.associations": { | |
".eslintrc.json": "jsonc" | |
}, | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"sync.gist": "6784d0c40cb1b754bd48e545e7afcf03", | |
"sync.host": "", | |
"sync.pathPrefix": "", | |
"sync.quietSync": false, | |
"sync.askGistName": false, | |
"sync.removeExtensions": true, | |
"sync.syncExtensions": true, | |
"sync.autoDownload": false, | |
"sync.autoUpload": false, | |
"sync.lastUpload": "", | |
"sync.lastDownload": "", | |
"sync.forceDownload": false, | |
"workbench.sideBar.location": "left", | |
"breadcrumbs.enabled": true, // setting to true will allow for creating multiple files such as `new-folder/{file1,file2}.js` | |
"javascript.validate.enable": false, | |
"editor.tabSize": 2, | |
"editor.renderWhitespace": "boundary", | |
"prettier.trailingComma": "all", | |
"prettier.eslintIntegration": true, | |
"cSpell.userWords": [ | |
"Genw", | |
"Unmount", | |
"apisauce", | |
"ellipsize", | |
"gmail", | |
"inmemory", | |
"jwtoken", | |
"lightgrey", | |
"refetch", | |
"rnpm", | |
"setstate", | |
"tiwi", | |
"viewpager" | |
], | |
"workbench.editor.enablePreview": false, | |
"terminal.external.osxExec": "iTerm.app", | |
"terminal.integrated.shell.osx": "/bin/zsh", | |
"prettier.singleQuote": true, | |
"editor.formatOnSave": true, | |
"flow.pathToFlow": "${workspaceRoot}/node_modules/.bin/flow", | |
"flow.runOnAllFiles": true, | |
"typescript.validate.enable": false, | |
"php.suggest.basic": false, | |
"typescript.suggest.enabled": false, | |
"typescript.suggestionActions.enabled": false, | |
"editor.snippetSuggestions": "top", | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Place your snippets for javascript here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
// "Print to console": { | |
// "prefix": "log", | |
// "body": [ | |
// "console.log('$1');", | |
// "$2" | |
// ], | |
// "description": "Log output to console" | |
// } | |
"Print to console": { | |
"prefix": "cl", | |
"body": [ | |
// "console.log('===========================')", | |
"console.log('${2:$1}',$1)" | |
// "console.log('===========================')" | |
], | |
"description": "Log output to console" | |
}, | |
"Map state to props": { | |
"prefix": "mstp", | |
"body": [ | |
"const mapStateToProps = state => {", | |
" const {", | |
" $1", | |
" } = state;", | |
" console.log('state in store:',state);", | |
" return {", | |
" $2:$1", | |
" };", | |
"};" | |
], | |
"description": "Map state to props" | |
}, | |
"Map dispatch to props": { | |
"prefix": "mdtp", | |
"body": [ | |
"const mapDispatchToProps = (dispatch) => {", | |
" return {", | |
" $1: () => {", | |
" dispatch($2);", | |
" }", | |
" };", | |
"};" | |
] | |
}, | |
"Default style create": { | |
"prefix": "ds", | |
"body": [ | |
"import { StyleSheet} from 'react-native';", | |
"", | |
"export default StyleSheet.create({", | |
" container: {}", | |
"});" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment