Skip to content

Instantly share code, notes, and snippets.

@TheUltDev
Last active January 29, 2023 05:21
Show Gist options
  • Save TheUltDev/d04ec3961cc4f136bf161fa66113d49f to your computer and use it in GitHub Desktop.
Save TheUltDev/d04ec3961cc4f136bf161fa66113d49f to your computer and use it in GitHub Desktop.
My VSCode User Settings
{
// Fonts
"editor.fontSize": 12, // Font size can use decimals if needed
"editor.fontWeight": "400", // Font weight 450 = retina, 400 = normal (retina is too bold)
"editor.fontFamily": "Fira Code", // Fira Code is my favorite programming font
"editor.fontLigatures": true, // Enable programming ligatures (e.g. !==)
// Autocomplete
"editor.suggest.localityBonus": true, // Favor nearby tokens
// Visuals
"workbench.editor.labelFormat": "short", // Context is nice, but paths are too much
"workbench.sideBar.location": "right", // Distracting next to line numbers & text jumps on collapse
"workbench.iconTheme": "material-icon-theme", // Better file and folder icons
"material-icon-theme.folders.theme": "specific", // Use folder icons
"material-icon-theme.activeIconPack": "react_redux", // Use react & redux icons
"material-icon-theme.saturation": 0.75, // Blend icons better
// Disabled features
"workbench.startupEditor": "none", // Hide startup message, annoying!
"telemetry.telemetryLevel": "off", // No thanks Microsoft!
"typescript.surveys.enabled": false, // No surveys please and thank you!
"editor.minimap.enabled": false, // Disable minimap, horizontal space is precious!
"editor.foldingHighlight": false, // Disable highlighting folds, is an arrow not enough!?
"gitlens.codeLens.enabled": false, // Disable codelens, it causes the file to jump!
"editor.emptySelectionClipboard": false, // Disable clearing the clipboard by accident, who uses this!?
"emmet.excludeLanguages": [ // Fuck emmet, not helpful in React Native!
"markdown",
"javascriptreact",
"typescriptreact"
],
// Formatting (for personal documents, override in workspace settings)
"editor.tabSize": 2,
"typescript.format.semicolons": "insert",
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": false,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
"typescript.preferences.jsxAttributeCompletionStyle": "braces",
"typescript.preferences.importModuleSpecifierEnding": "minimal",
"typescript.preferences.importModuleSpecifier": "non-relative"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment