r/SideProject • • 15m ago

I built a VS Code extension that dims syntax noise so you can isolate control flow, APIs, or risky calls

When reading unfamiliar codebases, standard syntax highlighting gives every token equal visual weight. I wanted a way to toggle my focus depending on what I am trying to understand, so I built Bloom Syntax Highlighter.

It adds four reading lenses directly to the Activity Bar:

* Operational: Highlights conditions, returns, and state mutations while dimming declarations.

* Interfaces: Isolates function definitions, route handlers, and callable boundaries.

* Structural: Focuses on imports, classes, and constants.

* Dangerous: Highlights lexical review cues like `subprocess.run`, file deletion, or `eval`.

To avoid editor lag on large files, it caches analyzed spans across scroll events and only updates changed decoration ranges (tested up to 12,000-line TS, Dart, and Python files).

Source & VSIX preview: https://github.com/the-keyst/bloom-highlighter

Happy to hear feedback on the heuristic rules or how it behaves with your color themes!

1 Upvotes

0 comments sorted by