To enable JQ language support in your IDE, you can integrate the JQ Language Server by following these steps:
-
Open an
.jqfile in your project. -
Click on Install JQ Language Server:
-
This will open the New Language Server Dialog with
JQ Language Serverpre-selected: -
Click OK. This will create the
JQ Language Serverdefinition and start the installation: -
Once the installation completes, the server should start automatically and provide JQ language support (autocomplete, diagnostics, etc.).
If the installation fails, you can customize the installation settings in the Installer tab,
then click on the Run Installation hyperlink to reinstall the server:
See Installer descriptor for more information.
Since IntelliJ does not provide native JQ TextMate support, and the language server does not handle syntax highlighting, you need to set up a TextMate bundle manually.
-
Clone the vscode-jq repository:
git clone https://github.com/wader/vscode-jq.git
-
Open TextMate Bundles settings
- Click the
+button and select the folder vscode-jq folder. This folder contains the modified package.json and the TextMate grammar.
Once done, IntelliJ will apply syntax highlighting, bracket matching, and other basic editor features for .jq files.





