This repository contains a Visual Studio Code settings and theme. Used when coding Digitoimisto Dude Oy's Projects.
Strongly WIP.
Updates regurarly.
Aims to be minimal and usable.
π¨ Beautiful - I'm a highly visual perfectionist-person so and that means my editor must look perfectly minimal, distract-free and beautiful. There are not a lot themes out there that please me, so I decided to build my own.
π§ Useful extensions - Contains lots of extensions that will not slow down VSCode. Browse extensions here.
β Snippets - Useful snippets like media + tab
for media queries. Browse snippets here.
β¨ Key bindings - Useful keybindings for different kind of tasks. Browse keybindings here. β‘ Fast - VSCode has not always been the fastest but I select my extensions wisely. No excessive extensions that don't get updated.
π¨βπ» Customizable - Feel free to fork this repository and modify settings to your liking. Let me know what you have done!
- Install Visual Studio Code or Visual Studio Code Insiders or VSCodium or Cursor
- Get Monaspace variable fonts (drag all to Font Book)
- Open editor and press β + β§ + P (or ctrl + β§ + P on Windows system) and select
Preferences: Open Keyboard Shortcuts (JSON)
. Copy the contents of keybindings.json to the editor. - Open editor and press β + β§ + P (or ctrl + β§ + P on Windows system) and select
Snippets: Configure Snippets
, selecthtml
. Copy the contents of html to the editor. - Open editor and press β + β§ + P (or ctrl + β§ + P on Windows system) and select
Snippets: Configure Snippets
, selectphp
. Copy the contents of php to the editor. - Open editor and press β + β§ + P (or ctrl + β§ + P on Windows system) and select
Snippets: Configure Snippets
, selectscss
. Copy the contents of scss to the editor.
- Open editor and press β + β§ + P (or ctrl + β§ + P on Windows system) and select
Preferences: Open User Settings (JSON)
- Copy settings.json of this repository and paste it to your settings.json (if you have made settings in this point, backup them, or cherry pick the preferred settings from this repo).
- Tweak to your likings, if you want to
- Install all extensions and themes from below
You can decide which ones you want to install but I recommend to install them all to get the best experience. These extensions are carefully selected and fully supported by my VSCode settings.json already.
Note
For Cursor you need to enable VSCode marketplace by settings this in your settings.json (see this):
"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
- Helium Icon Theme β
helgardrichard.helium-icon-theme
- or Sweet vscode Icons β
sweet-vscode-icons
- or Sweet vscode Icons β
- 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
Fix this never fixed issue by installing SCSS Language Improvements ronilaukkarinen.scss-language-improvements
and then adding to settings.json if not already (already added if you use GitHub Purple and settings.json from this repo):
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "meta.property-name-custom-unique.scss",
"settings": {
"foreground": "#79b8ff",
}
},
]
},
Recommended install: Github Purple + Sweet vscode Icons to get this look:
Install GitHub Purple theme:
cd ~/.vscode/extensions/
# Or: cd ~/.cursor/extensions
# Or: cd ~/.vscode-oss/extensions
git clone https://github.com/ronilaukkarinen/github-purple
After this you can select GitHub Purple from the Theme Color navigation (Ctrl + P).
Change these to settings.json:
"helium-icon-theme.saturation": 1,
"helium-icon-theme.opacity": 1,
Then β + β§ + P and select Preferences: File Icon Theme
, select any other than Helium. After this re-activate Helium icons.
If you use Windows you need a bat file for executables, see this and this. Get my bat files from vscode-windows-helpers.