Skip to content

JSON Searcher is a simple VSCode extension for searching within JSON files, particularly useful for locating data in i18n (internationalization) files.

Notifications You must be signed in to change notification settings

matheus-foscarinid/json-searcher-vscode

Repository files navigation

JSON Searcher 🔎

Visual Studio Marketplace Downloads Visual Studio Marketplace Version

JSON Searcher is a simple VSCode extension for searching within JSON files, particularly useful for locating data in i18n (internationalization) files. Easily find and navigate to specific data within your JSON files using the provided path. Simplify your JSON searching and streamline your i18n file management with JSON Searcher.

If you like this project, please give it a 🌟!

Features 🚀

Using the extension command, search for a specific path within your JSON file. The extension will then navigate to the location of the path within the file. Example:

Sample usage

Usage Instructions 📖

  1. Open the command palette (Ctrl+Shift+P or Cmd+Shift+P)
  2. Search for Search path on current JSON
  3. Enter the path you want to search for
  4. Press Enter to navigate to the path

Motivation 🤔

I had a need for a simple extension that would allow me to quickly navigate to specific data within my JSON files. I was working on a project that required a lot of i18n files, and I needed a way to quickly navigate to specific data within those files. I also wanted to learn how to create a VSCode extension, so I decided to create this extension to meet my needs.

Disclaimers ⚠️

This is a WIP extension. It's available on VSCode marketplace, but it's not yet fully tested and may contain some bugs. You can help by contributing or reporting problems here!

Accepting contributions, feedback and sugestions.

TODOs 📝

  • Fix searching on Mac OS 🪲
  • Fix searching on multi levels array where the same key appear before the correct one 🪲
  • Fix searching with special Chars
  • Add support for searching within a single file
  • Save last searched path
  • Release on VSCode marketplace
  • Add a changelog
  • Add the license
  • Add unity tests
  • Add right-click context menu option to search for path
  • Add support to complex paths (e.g. path[0].to[1].data)
  • Add support for searching within multiple files (maybe)
  • Add support for searching within all files in a folder (maybe)

About

JSON Searcher is a simple VSCode extension for searching within JSON files, particularly useful for locating data in i18n (internationalization) files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published