Maybe this is just an issue with my inability to format code effectively or maybe I’m just undiagnosed dyslexic (Open Dyslexic really does help me) but I have issues with my functions running together when I’m writing for more than five minutes. Is there an addon for VS Code that would highlight the background of my function bodies with different colors? I know that this is oddly specific, but I think this would really help. If it’s language specific, I spend most of my time writing Go.

2 points

I googled quickly and unfortunately, didn’t find anything. But I did stumble on this page: https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide

Looks like it’s very possible to do this type of coloring. But you may have to dig for an extension that does it. Or build one yourself?

permalink
report
reply
1 point

[sadface]

or build one yourself? I’ve never built an extension for VS Code. May be worthwhile, if it isn’t too difficult. For now, I’m just using big comments to deliminate my functions. Encourages good comment habits as a side-effect, so I’m not too upset.

permalink
report
parent
reply
1 point

That’s fair. I do think it’s worth spending some time searching for the right theme. Pretty good chance that it someone has done it!

permalink
report
parent
reply

Community stats

  • 1

    Monthly active users

  • 39

    Posts

  • 67

    Comments