js-graphql-intellij-plugin icon indicating copy to clipboard operation
js-graphql-intellij-plugin copied to clipboard

Support language injection in a PHP NOWDOC/HEREDOC

Open spawnia opened this issue 5 years ago • 2 comments

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

spawnia avatar Jan 13 '20 09:01 spawnia

Any update about this?

juangcCM avatar Feb 01 '22 09:02 juangcCM

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

leoarnold avatar Dec 09 '22 18:12 leoarnold