Hey there, developers! ๐
Back with another Extensions Dump โ where I spotlight the VSCode extensions I have been building and why they exist in the first place.
This one is a throwback. I built Key Tracer a while back, quietly published it, and never really gave it the introduction it deserved. So here we are. Let me fix that. ๐
๐ Key Tracer: Never Lose Your Place in a JSON File Again
If you have ever worked with a deeply nested JSON file โ config files, API responses, translation files, massive package.json schemas โ you know the pain.
You are staring at a value buried five levels deep and you need to know its exact key path. So you squint. You mentally count the brackets. You scroll up and down. You get it wrong the first time. You try again.
Key Tracer makes that entire experience disappear.
Just hover over any JSON key and the full path shows up instantly. One click and it is in your clipboard. Done.
๐ Key Tracer on VSCode Marketplace
โจ What It Does
Given a JSON file like this:
{
"app": {
"settings": {
"theme": {
"color": "indigo"
}
}
}
}
Hover over "color" and you get:
Full Path: app.settings.theme.color [Copy Path]
Click Copy Path and app.settings.theme.color lands straight in your clipboard. No manual typing. No counting brackets. No mistakes.
๐ Features
- ๐ Hover to reveal โ shows the full dot notation path of any JSON key instantly
- ๐ One-click copy โ copy the full path to clipboard right from the hover tooltip
- โ๏ธ Custom delimiter โ not a fan of dots? Change the separator to
/,->,::, or whatever fits your project - ๐ฏ Deep nesting? No problem โ accurately resolves paths no matter how many levels in you go
- ๐งช Comprehensive test coverage โ built with Mocha and a custom VS Code API mock so it actually behaves
๐ฆ Installation
Two ways to get it:
Option 1 โ VS Code Quick Open:
Ctrl+P
Then paste:
ext install AlvinJamesBellero.key-tracer
Option 2 โ Extensions panel:
- Open Extensions (
Cmd+Shift+XorCtrl+Shift+X) - Search for Key Tracer
- Hit Install
- Open any JSON file and start hovering ๐
โ๏ธ Configuring the Delimiter
By default Key Tracer uses a dot . as the path separator. But if your project uses a different convention, you can change it:
- Open Settings (
Cmd+,orCtrl+,) - Search for Key Tracer
- Update the Delimiter field to whatever you need
So if you prefer parent/child/target over parent.child.target, you are covered.
๐ก When Does This Actually Help?
More than you would think. Here are the situations where I reach for it constantly:
i18n / translation files โ these get deeply nested fast. Knowing the exact key path when referencing it in your component matters.
API response debugging โ pasting a large JSON response into VS Code and needing to reference a specific nested field path in your code.
Config files โ environment configs, feature flag configs, anything with deeply layered structure.
Sending paths to a teammate โ "hey can you check app.settings.theme.color?" is a lot cleaner than "it is like... four levels in, under settings, then theme."
๐ Give It a Try
Key Tracer is free, lightweight, and does exactly one thing well. If you spend any meaningful time in JSON files, it will save you a few mental cycles every single day. Those add up.
Install it, hover over something deeply nested, and let me know what you think. Feedback, feature ideas, and bug reports all go straight to the GitHub repo.
And if it saves you from squinting at brackets at 2am, a โญ on the marketplace goes a long way. ๐


Top comments (0)