JSON Finder is a Visual Studio Code extension that allows you to quickly find and navigate to specific keys e.g. i18n translation keys as JSON paths within JSON files in your project. This tool is particularly useful for developers working with large JSON files, such as configuration or translation files.
Features
Quick Search: Use a command or hotkey to input a JSON key path like (e.g. an i18n translation key: customers.table.header.name) and locate its value across all JSON files in your workspace.
Navigate to Key: Automatically open the file containing the key and position the cursor at the correct line.
Hotkey Support: Bind a custom hotkey (Cmd+Shift+L on macOS or Ctrl+Shift+L on other platforms) for quick access.
Installation
Open Visual Studio Code.
Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X on macOS).
Search for "JSON Finder".
Click "Install" to add the extension to your VSCode environment.
Usage
Command Palette
Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P on macOS).
Type jsonfinder: Find JSON key and value by path and select the command.
Enter the JSON key path (e.g. an i18n translation key: customers.table.header.name).
The extension will search all JSON files and navigate to the line containing the key.
Hotkey
Press Cmd+Shift+L (macOS) or Ctrl+Shift+L (Windows/Linux) to activate the search directly.
Configuration
You can customize the keybinding by editing your keybindings in VSCode:
Go to File > Preferences > Keyboard Shortcuts.
Search for jsonfinder: Find JSON key and value by path and modify the keybinding as desired.
Feedback and Contributions
We welcome feedback and contributions! Please feel free to open issues or submit pull requests on our GitHub repository.
License
This extension is licensed under the MIT License. See the LICENSE file for more details.
Thank you for using JSON Finder! We hope it enhances your productivity and makes working with JSON files easier.