Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Lucene Query FormatterNew to Visual Studio Code? Get it now.
Lucene Query Formatter

Lucene Query Formatter

Nishant

|
1,267 installs
| (0) | Free
Indent Lucene query object strings for better readability.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

README

NOTE:

THIS EXTENSION IS HELPFUL FOR DEBUGGING LOGICAL ERRORS ONLY.

Features

This extension is made for formatting object strings of Lucene Queries. These object strings are one liner which can contain thousands of words in case of complex queries due to which it becomes a cumbersome task to read and debug manually but with this formatter you can prettify your object and get a better readability of queries. This extension can be very handy for engineers working in large organisations with Elastic Search database in JAVA.

How to use

  • For Mac: "shift+cmd+i"
  • For Non-Mac: "shift+ctrl+i"

OR

  • Open Command Palette , choose "Format Query"

Requirements

QUERY MUST NOT CONTAIN ANY VALIDATION ERROR.

EXAMPLE

  • Original Query:

  • Indented Query:

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft