JQ syntax editor/plugin for jetbrains products #3045
Replies: 7 comments 11 replies
-
|
If it supports LSP there is https://github.com/wader/jq-lsp which i use for https://github.com/wader/vscode-jq which also has example of grammar for syntax highlighting. |
Beta Was this translation helpful? Give feedback.
-
My goodness, you wrote a language server for jq?! That's awesome! |
Beta Was this translation helpful? Give feedback.
-
We should link this from the README! |
Beta Was this translation helpful? Give feedback.
-
|
Currently the installation of both jq-lsp and vscode-jq is not very polished, no packing and i'm not sure it even works on windows :). Maybe we could for now add some section to the wiki with development support stuff? btw have you seen https://github.com/fiatjaf/awesome-jq? maybe could cherry pick some stuff from there also |
Beta Was this translation helpful? Give feedback.
-
|
I was able to get file type association working with this plugin: https://github.com/redhat-developer/lsp4ij Unfortunately, I'm unable to get JqJSON listed as a "language" so other plugins that have nested language support won't work. |
Beta Was this translation helpful? Give feedback.
-
|
@trothwell nice, if it works well i'm happy to add it to jq-lsp:s README.md |
Beta Was this translation helpful? Give feedback.
-
|
@trothwell I suggest that you create a PR to LSP4IJ to add it your config as LSP template. Please read https://github.com/redhat-developer/lsp4ij/blob/main/docs/UserDefinedLanguageServerTemplate.md#how-to-contribute-a-user-defined-language-server-template I don't know how to install jq-lsp, but you can write also an installer.json to install it automaticly. If someone explains me:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This is a feature request for support and integration with jetbrains editorsfor jq syntax. Jetbrains offers a plugin framework for such things, and it would be a great way to further support the jq community:
Specifically:
Perhaps a new repo for the effort, so it can grow independently. I recognize this doesn't specifically align to this repo, but I saw no where else to publish the request
Beta Was this translation helpful? Give feedback.
All reactions