4 ms·
Use what are often called "indentation guides". Here's an extreme form of them from the blockman extension for vscode: https://raw.githubusercontent.com/leodevb
by rented_mule 2y ago
Use what are often called "indentation guides". Here's an extreme form of them from the blockman extension for vscode: https://raw.githubusercontent.com/leodevbro/vscode-blockman/main/demo-media/video/python-demo---c2-apng.png https://raw.githubusercontent.com/leodevbro/vscode-blockman/...
- mort96 2y ago1) that looks incredibly cluttered (yes, even compared to braces), and 2) it doesn't help a whole lot when reading code in any context what so ever which is outside of my preferred editor (including in github/gitlab merge requests or 'git diff' locally)
- rented_mule 2y agoFor me, what is visual clutter is all about what I'm used to. After a short period of adaptation, I found indentation guides disappeared when I was looking for them. You can also choose your styling. As I mentioned above, that was an extreme example. Here's a style that adds very little clutter (mine look a lot like this): https://i.sstatic.net/nxPrP.png https://i.sstatic.net/nxPrP.png Also in the spirit of modern tooling, VSCode has had the ability to navigate GitHub Pull Requests, with all the normal code editing tooling, since 2018. I'd be surprised if it's alone in that ability in 2024. The same is possible with Gitlab Merge Requests using Gitlab's own extension. I can also use VSCode to remotely edit on almost any Linux/Mac/Windows machine that I can ssh into, or inside Docker containers.
- xigoi 2y agoUnlike braces, indent guides don’t take up vertical space, so it’s much less cluttered.