This repository contains my Visual Studio Code settings and theme, used when coding Digitoimisto Dude Oy's projects.
- ๐จ 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 + tabfor 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.
- Install Visual Studio Code, Visual Studio Code Insiders, VSCodium, or Cursor
- Download Maple Mono, Liga SFMono Nerd Font, Monaspace variable fonts and add them to Font Book
- Open the editor and press โ + โง + P (or Ctrl + โง + P on Windows) and choose
Preferences: Open Keyboard Shortcuts (JSON). Copy the contents of keybindings.json. - Open
Snippets: Configure Snippetsand choosehtml, then copy html.json. - Do the same for
phpand php.json. - Repeat for
scssand scss.json.
- Open
Preferences: Open User Settings (JSON) - Copy settings.json into your settings file. If you already have custom settings, make a backup or merge them selectively.
- Adjust them to your preferences.
- Install all extensions and themes below.
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",- EditorConfig for VS Code โ
EditorConfig.EditorConfig - Error Lens โ
usernamehw.errorlens - ESLint โ
dbaeumer.vscode-eslint - GitLens โ Git supercharged โ
eamodio.gitlens - PHP_CodeSniffer โ
obliviousharmony.vscode-php-codesniffer - Project Manager โ
alefragnani.project-manager - Stylelint โ
stylelint.vscode-stylelint - SVG โ
1000ch.svgo - Indenticator โ
SirTori.indenticator - Prettier โ
esbenp.prettier-vscode
- Catppuccin for VS Code + Catppuccin Noctis Icons
- See below for more
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" }
}
]
},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-purpleThen select โGitHub Purpleโ from the Theme Color menu (Ctrl + P).
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.
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.
