These days, my editor of choice is, like many people, VS Code
Ok! Now that the goodbyes are done, let’s talk about my VS Code setup
Those are intentionally not complete, some of the settings I have in my full config files are for things I don’t really use (such as Zen Mode or the Git support inside the editor), default settings that I redefine just to be exhaustive or things that are personal choices outside of the scope of this article (such as if I accept telemetry or not)
My favorite font for coding these days is by far Iosevka. I find the default font weight a bit hard to read on my screen so I put it at 500. I use Fira Code (my previous font) as a fallback for computers where Iosevka is not installed. For both, ligatures are enabled - love those
A few random points:
- I disable the minimap. I don’t find it to be useful in any way as I probably don’t work on files big enough anyway.
- I put the sidebar on the right side, that way toggling it doesn’t change the position of the code.
- I have rulers at 80 and 120 characters, an habit I took from my Python days. I find that it subconsciously helps me keep my lines shorter.
I have all the “do things on save” settings enabled, I don’t want to care about formatting or organizing imports, I just want it to happen.
Highlights and list every TODOs (and other tags) in your project. It’s really satisfying to see the list of TODOs get smaller and smaller!
It’s heavily configurable, notably you can add as many custom tags as you want. Personally, in addition to the default ones, I added a tag “NOTE” to list every parts that need explanation.
Insert Date String
Inserts the current date and time in the format of your choice. I use it to add the date to my comments, as I typically end my comments with
- erika, 2023-11-12