This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Heredoc handling in NetBeans is pretty nice as is. However, I have a suggestion which could make Heredoc even more useful. In essence, add special handling for a heredoc of the form: <<<HTML blah blah blah HTML; which treats the contents within the heredoc string as a block of HTML. This block of HTML is distinct and is not treated as being within the normal structure of the rest of the PHP file. Treating the contents of such a Heredoc as HTML would allow for the editor to function as though it were editing plain HTML, something is is very very good at (I've gotten many web designers hooked on netbeans simply for the HTML handling) I think this would be a cool and useful addition.
batch reassigning
I'm not sure that creating some netbeans specific heredoc should be a good idea. @tmysik ?
I'm against handling heredoc only as HTML because it can be javascript or SQL as well. See #177967 as more right way. But one of simplest things missed in Netbeans' heredoc support is skipping those blocks on group indent. Such indent is really harmful for heredoc. Also code completion in useless now inside such block if code in not php.