Skip to content

ronilaukkarinen/vscode-settings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

409 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ The ultimate Visual Studio Code setup

This repository contains my Visual Studio Code settings and theme, used when coding Digitoimisto Dude Oy's projects.

Features

  • ๐ŸŽจ Beautiful - I'm a visual perfectionist, so my editor must look clean, minimal, distraction-free, and beautiful.
  • ๐Ÿง  Useful extensions - Includes plenty of extensions that don't slow down VS Code.
  • โœ‚ Snippets - Handy snippets like media + tab for media queries.
  • โŒจ Key bindings - Helpful key bindings for various tasks.
  • โšก Fast - VS Code hasnโ€™t always been the fastest, but I choose my extensions wisely.
  • ๐Ÿ‘จโ€๐Ÿ’ป Customizable - Feel free to fork this repo and tweak the settings to suit your preferences.

Installation

  1. Install Visual Studio Code, Visual Studio Code Insiders, VSCodium, or Cursor
  2. Download Maple Mono, Liga SFMono Nerd Font, Monaspace variable fonts and add them to Font Book
  3. Open the editor and press โŒ˜ + โ‡ง + P (or Ctrl + โ‡ง + P on Windows) and choose Preferences: Open Keyboard Shortcuts (JSON). Copy the contents of keybindings.json.
  4. Open Snippets: Configure Snippets and choose html, then copy html.json.
  5. Do the same for php and php.json.
  6. Repeat for scss and scss.json.

Recommended settings

  1. Open Preferences: Open User Settings (JSON)
  2. Copy settings.json into your settings file. If you already have custom settings, make a backup or merge them selectively.
  3. Adjust them to your preferences.
  4. Install all extensions and themes below.

Extensions

You can install whichever you like, but I recommend all of them for the best experience. These have been carefully selected and fully supported by my settings.json.

Note

For Cursor, youโ€™ll need to enable the VS Code marketplace by adding this to your settings.json (see details here):

"extensions.gallery.serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",

My current favorite themes

Interface

CSS property syntax highlighting fix

Fix this long-standing issue by installing SCSS Language Improvements (ronilaukkarinen.scss-language-improvements) and adding this to your settings.json if not already present:

"editor.tokenColorCustomizations": {
  "textMateRules": [
    {
      "scope": "meta.property-name-custom-unique.scss",
      "settings": { "foreground": "#79b8ff" }
    }
  ]
},

GitHub Purple + Sweet icons

Recommended setup: GitHub Purple + Sweet VS Code Icons.

Install GitHub Purple theme:

cd ~/.vscode/extensions/
# Or: cd ~/.cursor/extensions
# Or: cd ~/.vscode-oss/extensions
git clone https://github.com/ronilaukkarinen/github-purple

Then select โ€œGitHub Purpleโ€ from the Theme Color menu (Ctrl + P).

Screen Shot 2023-04-03 at 11-10-24

Add colored icons for Helium icon theme

Add these to settings.json:

"helium-icon-theme.saturation": 1,
"helium-icon-theme.opacity": 1,

Then press โŒ˜ + โ‡ง + P and select Preferences: File Icon Theme.
Switch to any other theme, then re-enable Helium icons.

Windows 10โ€“11 support

If youโ€™re using Windows, youโ€™ll need a .bat file for executables โ€” see this Microsoft issue and this Reddit thread.

Get my .bat files from vscode-windows-helpers.

About

Superior power-charged settings for Visual Studio Code editor. ๐Ÿš€

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors