doyensec / inql

InQL is a robust, open-source Burp Suite extension for advanced GraphQL testing, offering intuitive vulnerability detection, customizable scans, and seamless Burp integration.
https://doyensec.com/
Apache License 2.0
1.51k stars 156 forks source link

Add syntax highlighting #114

Closed execveat closed 11 months ago

execveat commented 1 year ago

Add syntax highlighting to the GraphQL editor view. As far as I know the regular way to do that in Swing is by using https://github.com/bobbylight/RSyntaxTextArea, however it does not support GraphQL out of the box. So, we need to either find a project that implements this support; write it ourselves; or find another solution.

JetBrains has a GraphQL plugin which supports GraphQL highlighting and comes with the MIT license, so maybe it's possible to get the functionality from there? https://github.com/JetBrains/js-graphql-intellij-plugin/

execveat commented 11 months ago

This has been implemented by @lokiuox in the dev branch.