jmespath / jmespath.py

JMESPath is a query language for JSON.

Home Page:http://jmespath.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Syntax Highlight support for popular IDEs

Minitour opened this issue · comments

I am not sure if this is the right repo to open this issue, but I wanted to raise this because I couldn't find it anywhere.

It would be great to have support for IDEs such as VSCode / PyCharm / IntelliJ the ability to have .jp files that will have automatic syntax highlighting for JMESPath queries.

In addition it would also be great to have this work on multi-line string blocks, same as IntelliJ/PyCharm does for SQL queries.

I know there is an ABNF grammar definition, but I failed to find how this could be converted to parsers used by these IDEs mentioned above. This could be a great addition for finding syntax errors as well as deliver a much better developer experience when working with JMESPath.

Closed as this can now be achieved with Pygments. Thanks to @mondeja.

Demo is available at https://pygments.org/demo/