Ask HN: Share your VSCode layouts, tips, and hacks
I primarily use VSCode for my development. Outside of nested windows, some basic plugins, and memorizing a few hotkeys I feel like I'm not taking full advantage of what it has to offer.
Do you have any favorite layouts, plugins, tips, etc. that make your dev work more efficient?
This is an advice not just for VSCode, but for any editor essentially. If you use a file explorer side panel and you tend to toggle it on and off, set it to appear on the right side. This way it doesn't cause your main code view to jump around when you do it.
One more advice is installing vim mode extension and sticking with it for a few weeks. It takes some getting used to, but it is worth it.
A better way is to learn the “Goto file” command for your editor, instead of a file explorer. A file explorer is required to get a feel of the codebase layout, and to do file operations. But for navigation, search is quicker. And if you can setup symbol search (when there’s no intellisense), it’s worth it.
I’ve not used VSCode that much, but I’ve used other editors and IDEs (currently emacs) and the most important thing (pretty obvious) is to minimize leaving the editor. That means bring out as much tooling as you can to it. Learn how to create extensions, and then try to create some to fit your current workflows.
A few features I usually want are:
I can drop some of this requirement if I can get a tiling window manager and a few terminals. What IDEs offers in extra is better understanding of the code and project’s framework (spring, android, .Net,… with their long names).I use “Advance New File“ extension to create files quickly with shortcuts. It's a lifesaver for nested folders.