Created
April 12, 2022 17:51
-
-
Save unr/cb5a7a4c05722957ab6c7a3c31c8616b to your computer and use it in GitHub Desktop.
My current vscode settings
This file contains 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
{ | |
// editor settings | |
"editor.formatOnSave": true, | |
"editor.renderWhitespace": "all", | |
// my old fav | |
// "editor.fontFamily": "Hack", | |
// "editor.fontWeight": "500", | |
// Fira, omg that @ looks HORRID | |
// "editor.fontFamily": "Fira Code", | |
// "editor.fontWeight": "400", | |
// Cascadia, better than Fira | |
// "editor.fontFamily": "Cascadia Code", | |
// "editor.fontWeight": "400", | |
// Jetbrains, closest to Hack, IMO | |
"editor.fontFamily": "Jetbrains Mono", | |
"editor.fontWeight": "500", | |
// Victor, too light! | |
// "editor.fontFamily": "Victor Mono", | |
// "editor.fontWeight": "300", | |
"editor.fontLigatures": true, | |
"editor.fontSize": 14, | |
"editor.suggestFontSize": 16, | |
// Removing stupid italics from themes | |
"editor.tokenColorCustomizations": { | |
"textMateRules": [ | |
{ | |
"scope": [ | |
"comment", | |
"comment.block", | |
"comment.block.documentation", | |
"comment.line", | |
"constant", | |
"constant.character", | |
"constant.character.escape", | |
"constant.numeric", | |
"constant.numeric.integer", | |
"constant.numeric.float", | |
"constant.numeric.hex", | |
"constant.numeric.octal", | |
"constant.other", | |
"constant.regexp", | |
"constant.rgb-value", | |
"emphasis", | |
"entity", | |
"entity.name", | |
"entity.name.class", | |
"entity.name.function", | |
"entity.name.method", | |
"entity.name.section", | |
"entity.name.selector", | |
"entity.name.tag", | |
"entity.name.type", | |
"entity.other", | |
"entity.other.attribute-name", | |
"entity.other.inherited-class", | |
"invalid", | |
"invalid.deprecated", | |
"invalid.illegal", | |
"keyword", | |
"keyword.control", | |
"keyword.operator", | |
"keyword.operator.new", | |
"keyword.operator.assignment", | |
"keyword.operator.arithmetic", | |
"keyword.operator.logical", | |
"keyword.other", | |
"markup", | |
"markup.bold", | |
"markup.changed", | |
"markup.deleted", | |
"markup.heading", | |
"markup.inline.raw", | |
"markup.inserted", | |
"markup.italic", | |
"markup.list", | |
"markup.list.numbered", | |
"markup.list.unnumbered", | |
"markup.other", | |
"markup.quote", | |
"markup.raw", | |
"markup.underline", | |
"markup.underline.link", | |
"meta", | |
"meta.block", | |
"meta.cast", | |
"meta.class", | |
"meta.function", | |
"meta.function-call", | |
"meta.preprocessor", | |
"meta.return-type", | |
"meta.selector", | |
"meta.tag", | |
"meta.type.annotation", | |
"meta.type", | |
"punctuation.definition.string.begin", | |
"punctuation.definition.string.end", | |
"punctuation.separator", | |
"punctuation.separator.continuation", | |
"punctuation.terminator", | |
"storage", | |
"storage.modifier", | |
"storage.type", | |
"string", | |
"string.interpolated", | |
"string.other", | |
"string.quoted", | |
"string.quoted.double", | |
"string.quoted.other", | |
"string.quoted.single", | |
"string.quoted.triple", | |
"string.regexp", | |
"string.unquoted", | |
"strong", | |
"support", | |
"support.class", | |
"support.constant", | |
"support.function", | |
"support.other", | |
"support.type", | |
"support.type.property-name", | |
"support.variable", | |
"variable", | |
"variable.language", | |
"variable.name", | |
"variable.other", | |
"variable.other.readwrite", | |
"variable.parameter" | |
], | |
"settings": { | |
"fontStyle": "" | |
} | |
} | |
] | |
}, | |
"editor.lineHeight": 28, | |
"editor.letterSpacing": 0, | |
"editor.insertSpaces": false, | |
"editor.tabCompletion": "on", | |
"editor.tabSize": 4, | |
"editor.wordWrap": "off", | |
"editor.suggestLineHeight": 28, | |
"editor.minimap.enabled": false, | |
"editor.codeLens": false, // codelens is the click to expand within a file links... very weird | |
"editor.emptySelectionClipboard": false, // When I accidentally hit copy without selecting anything and it overrides my clipboard - ugh. | |
"editor.quickSuggestionsDelay": 5, | |
"editor.quickSuggestions": { | |
"other": true, | |
"comments": false, | |
"strings": false | |
}, | |
"editor.formatOnPaste": true, | |
// I removed the hyphen "-" from this list for better multi-cursor navigation. | |
// @freekmurze suggested I remove "$" too for php variables - brilliant! | |
"editor.wordSeparators": "`~!@#%^&*()=+[{]}\\|;:'\",.<>/?", | |
// workbench adjustments | |
"workbench.fontAliasing": "antialiased", | |
"workbench.startupEditor": "none", | |
"workbench.activityBar.visible": true, | |
"workbench.sideBar.location": "right", | |
"window.newWindowDimensions": "maximized", | |
"window.openFoldersInNewWindow": "off", | |
// Peacock is cool, lets organize our multiple projects | |
"peacock.favoriteColors": [ | |
{ | |
"name": "Rebecca Purple", | |
"value": "#663399" | |
}, | |
{ | |
"name": "UNR Orange", | |
"value": "#C06D09" | |
}, | |
{ | |
"name": "Rivalry Teal", | |
"value": "#008080" | |
}, | |
{ | |
"name": "Rivalry Navy", | |
"value": "#06283b" | |
}, | |
{ | |
"name": "Something Different", | |
"value": "#832561" | |
}, | |
{ | |
"name": "Rushlane", | |
"value": "#FD5468" | |
}, | |
{ | |
"name": "Pinnacle", | |
"value": "#6567E8" | |
} | |
], | |
// lets not fullscreen, when we want to be zen | |
"zenMode.fullScreen": false, | |
// trying out smooth cursor? maybe I like in vim. | |
"editor.cursorSmoothCaretAnimation": true, | |
// dont show me files I opened, when looking at explorer | |
"explorer.openEditors.visible": 0, | |
// don't find these guys | |
"search.exclude": { | |
"**/_nuxt": true, | |
"**/.nuxt": true, | |
"**/node_modules": true, | |
"**/vendor": true, | |
"storage/framework/views": true | |
}, | |
// Show me whitespace in diffs, just in case some slips through, shows up in the GitHub PR, and I look like a dummy. | |
"diffEditor.ignoreTrimWhitespace": false, | |
"telemetry.enableCrashReporter": false, | |
"terminal.integrated.fontSize": 14, | |
// HTML specific settings | |
"html.format.indentInnerHtml": true, | |
"html.format.preserveNewLines": true, | |
"html.format.unformatted": "code", | |
"html.format.wrapLineLength": 0, | |
// setting up i18n for vue | |
"i18n-ally.localesPaths": ["locales", "app/locales"], | |
"i18n-ally.pathMatcher": "{locale}.js", | |
"i18n-ally.enabledParsers": "js", | |
"i18n-ally.enabledFrameworks": "vue", | |
"i18n-ally.readonly": true, | |
// for postcss in vue | |
"files.associations": { | |
"*.css": "postcss", | |
".macos": "powershell" | |
}, | |
// Trying to get Vetur working properly | |
"eslint.validate": ["javascript", "javascriptreact", "vue"], | |
"vetur.format.defaultFormatter": { | |
// "html": "prettier", | |
"html": "prettyhtml", | |
"css": "prettier", | |
"postcss": "prettier", | |
"scss": "prettier", | |
"less": "prettier", | |
"js": "prettier", | |
"ts": "prettier", | |
"stylus": "stylus-supremacy" | |
}, | |
"vetur.completion.useScaffoldSnippets": false, | |
"vetur.format.defaultFormatterOptions": { | |
"prettyhtml": { | |
"useTabs": true, | |
"printWidth": 100, // No line exceeds 100 characters | |
"singleQuote": true // Prefer single quotes over double quotes | |
} | |
}, | |
// Emmet is here by default, lets utilize it everywhere | |
"emmet.includeLanguages": { | |
"javascript": "javascriptreact", | |
"vue-html": "html", | |
"razor": "html", | |
"plaintext": "jade" | |
}, | |
"emmet.syntaxProfiles": { | |
"html": { | |
"attr_quotes": "single" | |
} | |
}, | |
// Configuring how to treat PHP files, for backend | |
"[php]": { | |
"editor.formatOnSave": false, | |
"editor.formatOnPaste": true, | |
"editor.insertSpaces": true, | |
"editor.tabSize": 4, | |
"editor.autoIndent": false | |
}, | |
// VIM! | |
// VIM! | |
// VIM! | |
// VIM! | |
// vim mode settings | |
"vim.easymotion": true, | |
"vim.sneak": true, | |
"vim.incsearch": true, | |
"vim.useSystemClipboard": true, | |
"vim.useCtrlKeys": true, | |
"vim.hlsearch": true, | |
"vim.leader": "<space>", | |
"vim.insertModeKeyBindings": [ | |
// piano mode exits | |
{ | |
"before": ["j", "k"], | |
"after": ["<Esc>"] | |
}, | |
{ | |
"before": ["k", "j"], | |
"after": ["<Esc>"] | |
} | |
], | |
"vim.visualModeKeyBindingsNonRecursive": [ | |
// these.... don't let me vim repeat. | |
// { | |
// "before": [">"], | |
// "commands": ["editor.action.indentLines"] | |
// }, | |
// { | |
// "before": ["<"], | |
// "commands": ["editor.action.outdentLines"] | |
// }, | |
], | |
"vim.normalModeKeyBindingsNonRecursive": [ | |
// old vim save hotkey | |
{ | |
"before": ["<leader>", "w"], | |
"commands": ["workbench.action.files.save"] | |
}, | |
// clear search highlight | |
{ | |
"before": ["<leader>", "<enter>"], | |
"commands": [":nohl"] | |
}, | |
{ | |
"before": ["<leader>", "f"], | |
"commands": ["workbench.action.quickOpen"] | |
} | |
], | |
"vim.handleKeys": { | |
"<C-a>": false, | |
"<C-f>": false | |
}, | |
"workbench.statusBar.feedback.visible": false, | |
"editor.renderControlCharacters": false, | |
"breadcrumbs.enabled": true, | |
"prettier.singleQuote": true, | |
"prettier.jsxSingleQuote": true, | |
"editor.lineNumbers": "relative", | |
"peacock.affectTabActiveBorder": true, | |
"peacock.affectActivityBar": false, | |
"i18n-ally.displayLanguage": "en", | |
"[vue]": { | |
"editor.defaultFormatter": "octref.vetur" | |
}, | |
"[json]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"kite.showWelcomeNotificationOnStartup": false, | |
"[javascript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"workbench.colorTheme": "Dracula Pro", | |
"security.workspace.trust.untrustedFiles": "open" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment