Skip to content

Instantly share code, notes, and snippets.

@cylim
Last active October 21, 2018 13:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cylim/d18f25d26872fa8e04b08a13815e1f45 to your computer and use it in GitHub Desktop.
Save cylim/d18f25d26872fa8e04b08a13815e1f45 to your computer and use it in GitHub Desktop.
Visual Studio Code Setup
const {execSync, spawn} = require('child_process')
const result = execSync('code --list-extensions')
const list = String(result)
.split('\n')
.filter(Boolean)
.map(
x => `- [${x}](https://marketplace.visualstudio.com/items?itemName=${x})`
)
.join('\n')
const proc = spawn('pbcopy')
proc.stdin.write(list)
proc.stdin.end()
{
"breadcrumbs.enabled": true,
"editor.detectIndentation": true,
"editor.rulers": [
80
],
"editor.snippetSuggestions": "top",
"editor.tabSize": 2,
"editor.renderWhitespace": "boundary",
"editor.lineNumbers": "on",
"editor.fontFamily": "'Fira Code Retina', Menlo, Monaco, 'Courier New', monospace, 'Apple Color Emoji'",
"editor.wordWrap": "on",
"editor.fontSize": 14,
"editor.cursorBlinking": "smooth",
"editor.fontLigatures": true,
"editor.formatOnPaste": true,
"editor.formatOnSave": false,
"editor.minimap.renderCharacters": false,
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": true
},
"editor.tabCompletion": "on",
"editor.minimap.enabled": false,
"eslint.autoFixOnSave": true,
"eslint.options": {
"env": {
"browser": true,
"jest/globals": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"no-debugger": "off"
}
},
"explorer.openEditors.visible": 0,
"explorer.confirmDragAndDrop": false,
"files.autoSave": "onFocusChange",
"files.associations": {
"*.md": "mdx"
},
"git.autofetch": true,
"gitlens.advanced.messages": {
"suppressShowKeyBindingsNotice": true
},
"grunt.autoDetect": "off",
"gulp.autoDetect": "off",
"javascript.updateImportsOnFileMove.enabled": "always",
"javascript.validate.enable": false,
"local-history.absolute": true,
"local-history.path": "/Users/cylim/.vscode-history",
"npm.runSilent": true,
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/coverage": true,
"**/dist": true,
"**/build": true,
"**/.build": true,
"**/.gh-pages": true
},
"spellright.language": "en",
"spellright.documentTypes": [
"markdown",
"plaintext"
],
"prettier.eslintIntegration": false,
"prettier.bracketSpacing": false,
"prettier.printWidth": 80,
"prettier.tabWidth": 2,
"prettier.singleQuote": true,
"prettier.trailingComma": "all",
"prettier.jsxBracketSameLine": false,
"prettier.semi": false,
"prettier.useTabs": false,
"prettier.proseWrap": "always",
"window.zoomLevel": 0,
"workbench.activityBar.visible": true,
"workbench.colorTheme": "Night Owl",
"workbench.iconTheme": "vscode-great-icons",
"workbench.sideBar.location": "left",
"workbench.startupEditor": "none",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment