DEV Community

Discussion on: Top 6 VS Code Extensions to Organise Your Code

Collapse
 
instanceid profile image
instance.id • Edited

I highly recommend 'Comment Anchors', similar to TODO highlight, but it keeps track of them throughout your workspace/project, letting you build "quick jump" points as well as categories for variables or methods, etc. You can create custom keywords to use to tag the sections of your code.

You can also create hierarchies, link to other anchors (ex. from one method to a related method elsewhere, etc)

github.com/ExodiusStudios/vscode-c...

example

Collapse
 
tamirazrab profile image
Tamir

This is great, just checked out the documentation, I thought better-comments was good but then I found colorful-comments and now this, thanks for sharing!

Collapse
 
caiowilson profile image
Caio Wilson

It's a very neat extension but you can manage anchor-like with #region s
i'll give it a try though