You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[PHP] Detection of syntax highlighting when using heredoc #5010
changed the title [-]Detection of syntax highlighting when using heredoc[/-][+][PHP] Detection of syntax highlighting when using heredoc[/+]on Nov 27, 2022
since sql has many dialects, popular dialect should be included (MYSQL, SQLSERVER, etc), rather than adding a note comment above the statement to clarify which dialect is.
including popular language (Java, C#, etc). and most importantly: PHP ❤️
including popular html template (Twig, Blade, etc).
including popular css template (SASS, LESS).
This is the first step towards becoming a more powerful feature. I hope netbeans won't stop here, considering phpstorm has very solid feature beyond syntax highlighting: syntax validation and connection to datasources.
I also support this feature request.
The languages suggested by noelma could be a good starting point for having this feature. For me it would be ok to keep it at that, we don't need to have every language and dialect available by default.
I suggest adding nowdoc and heredoc. Maybe it is possible to start the specific engine for the language, so we get syntax highlighting and code completion.
Activity
[-]Detection of syntax highlighting when using heredoc[/-][+][PHP] Detection of syntax highlighting when using heredoc[/+]the-liquid-metal commentedon Nov 30, 2022
Lovely proposal, very useful for inline templating. I usually use phpstorm to do this, and i wish netbeans had this feature.
Some considerations should be included:
This is the first step towards becoming a more powerful feature. I hope netbeans won't stop here, considering phpstorm has very solid feature beyond syntax highlighting: syntax validation and connection to datasources.
NReib commentedon Feb 24, 2023
I also support this feature request.
The languages suggested by noelma could be a good starting point for having this feature. For me it would be ok to keep it at that, we don't need to have every language and dialect available by default.
mokraemer commentedon Feb 24, 2023
I just stumbled across this feature request.
I suggest adding nowdoc and heredoc. Maybe it is possible to start the specific engine for the language, so we get syntax highlighting and code completion.
asafm7 commentedon Oct 6, 2025
Great suggestion.
Auto formatting will also be great.
Possibly more relevant now with PHP 8.4's new ext-dom features and HTML5 support.
There is a nowdoc in the official example:
https://www.php.net/releases/8.4/en.php#dom_additions_html5