Skip to content

Instantly share code, notes, and snippets.

@bigandy
Created October 12, 2018 13:56
Show Gist options
  • Save bigandy/5637b9b5ddf224a74e82436f42a31c59 to your computer and use it in GitHub Desktop.
Save bigandy/5637b9b5ddf224a74e82436f42a31c59 to your computer and use it in GitHub Desktop.
Work vscode settings
{
// "window.zoomLevel": 1,
"workbench.startupEditor": "newUntitledFile",
"editor.tabCompletion": true,
"editor.detectIndentation": true,
// "editor.formatOnPaste": true,
"terminal.external.osxExec": "Hyper.app",
"editor.autoIndent": false,
"editor.insertSpaces": false,
"stylelint.enable": true,
"css.validate": false,
"less.validate": false,
"scss.validate": false,
"files.autoSave": "onFocusChange",
"emmet.triggerExpansionOnTab": true,
"emmet.showSuggestionsAsSnippets": true,
"editor.snippetSuggestions": "top",
"editor.wordWrapColumn": 80,
"editor.wordWrap": "on",
"workbench.colorTheme": "Cobalt2",
"editor.fontFamily": "Source Code Pro",
"editor.fontSize": 15,
"editor.lineHeight": 25,
"editor.letterSpacing": 0.5,
"files.trimTrailingWhitespace": true,
"editor.fontWeight": "400",
// this isn't really underline-thin but we hack it to be a thicker cursor
"editor.cursorStyle": "line",
"editor.cursorBlinking": "solid",
// Very important: Install this plugin: https://github.com/be5invis/vscode-custom-css
// you'll need to change this to an absolute path on your computer
"vscode_custom_css.imports": [
"file://users/Users/andyhudson/.vs-custom-css.css"
],
"editor.renderWhitespace": "all",
"files.insertFinalNewline": true,
"window.zoomLevel": 0,
"editor.multiCursorModifier": "ctrlCmd",
// PHP Code Standards - linting for PHP.
"phpcs.standard": "/Users/andyhudson/Sites/vagrant-local/www/brokernotes/wp-content/themes/brokernotes/code.ruleset.xml",
// PHP Code Beautifier.
"phpcbf.standard": "/Users/andyhudson/Sites/vagrant-local/www/brokernotes/wp-content/themes/brokernotes/code.ruleset.xml",
// "phpcbf.onsave": true,
// "phpcbf.debug": true,
"editor.showFoldingControls": "mouseover",
"files.hotExit": "off",
"editor.tabSize": 4,
"files.exclude": {
".editorconfig": true,
".snyk": true,
// "*.json": true,
// "*.xml": true,
"*.lock": true,
"screenshot.png": true,
"admin": true,
"assets": true,
// "build": true,
// "css": true,
"fonts": true,
"javascripts": true,
"languages": true,
"newimages": true,
// "node_modules": true,
"vendor": true,
"wpcs": true,
},
"files.defaultLanguage": "markdown",
"explorer.autoReveal": false,
"prettier.eslintIntegration": true,
"gitlens.advanced.messages": {
"suppressShowKeyBindingsNotice": true
},
"workbench.settings.editor": "json",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment