I started this extension about 4 years ago and have kept improving it ever since, mostly because I use it every day when inspecting web assets: API responses, CSS and JS files, config files, and other programming language files adding syntax highlighting.
I know there are already good extensions out there. But each one did one thing: one for JSON, another for CSS, nothing for YAML or a random .go file. I wanted one tool that just handles whatever I open, so I built it. Especially when finding some random ext online and it is plain, but instead I wanted it to be colorized like in an IDE.
What it does today:
- Formats and highlights 16 languages (JSON, CSS, JS/TS, PHP, Python, Go, Rust, YAML, SQL, Markdown and more)
- Click any value in a JSON file to see and copy its path, like $.users[2].email (probably the feature I use most)
- Collapse/expand all, clickable links, copy and download
- Big numbers in JSON stay exactly as they are, no rounding
- Works on local files and offline
Well that's some of the things that it supports, and Im open to improve it if anyone got ideas. Is a tool that I use personally and any changes could be useful for me as well in my workflow.
It only parses raw files and never touches normal websites. It collects no data, and it's all open source.
Chrome Web Store:
https://chromewebstore.google.com/detail/bhimnoepicmcjfkbmhckamllnibadfal
GitHub source code:
https://github.com/awps/code-formatter-extension
I present more info and some documentation plus a short demo video:
https://zerowp.com/code-formatter/
I'd love to hear what's missing for your daily workflow.