JetBrains / js-graphql-intellij-plugin

GraphQL language support for WebStorm, IntelliJ IDEA and other IDEs based on the IntelliJ Platform.
https://jimkyndemeyer.github.io/js-graphql-intellij-plugin/
MIT License
880 stars 97 forks source link

Support language injection in a PHP NOWDOC/HEREDOC #311

Open spawnia opened 4 years ago

spawnia commented 4 years ago

Hey, thanks for this great plugin.

PHP has a special syntax for multiline strings that allows tagging the string. This tag is often to denote the contents of the string and add syntax highlighting: https://www.jetbrains.com/help/phpstorm/using-language-injections.html#inject-language-nowdoc-heredoc

I propose adding the tag GRAPHQL to the list of supported NOWDOC/HEREDOC tags.

image

juangcCM commented 2 years ago

Any update about this?

leoarnold commented 1 year ago

Great idea! Also, Ruby please: 2022-12-09_19-55