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.
Summary: | Will be useful have highlighting inside double quoted and heredoc strings (include curly). | ||
---|---|---|---|
Product: | php | Reporter: | Victoria Zhukovskaya <victoriaz> |
Component: | Editor | Assignee: | Ondrej Brejla <obrejla> |
Status: | RESOLVED WORKSFORME | ||
Severity: | blocker | CC: | bluppy2, fzamboj, marcoplpl |
Priority: | P2 | ||
Version: | 8.0.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Victoria Zhukovskaya
2008-01-21 15:20:45 UTC
I agree. Because we don't always use state-of-the-art MVC framework, we often have to put some HTML (or javascript, or SQL) in strings before it's printed. It would be great to have some syntax highlighting inside these strings. Any news on this? I understand that there is a long list of bugs/enhancements, but I was wondering if anyone from the team has ever looked at this. I guess that this is somewhat related to bug 141097. I was just wishing for this today. That is inside a heredoc, which is used to format an HTML string, please highlight it as if it were HTML which it really is. The other way to do this is to turn the php scripting off for the block and then turn it back on, but if there are a number of variable to be included then it turns into a lot of <?php echo $something ?> inside of a block. It's so much easier to use the heredoc but then we don't get the Netbeans highlighting which is so nice. Works for me properly in 7.2 dev. Just downloaded 7.2 today, I am not seeing any kind of syntax highlighting or auto-completion inside heredoc. Nevermind. I was under the impression that this would work for HTML syntax. It does work properly for PHP variables. (In reply to comment #4) > Works for me properly in 7.2 dev. How do you enable it for 7.2 that i downloaded. It is not working: highlighting syntax for html that is I am running 8.0.2 php Is this bug fixed ? I cannot seem to use HEREDOC syntax to echo html in a php file If you have problem with something, open a new issue...do not reopen 3 years old enhancement. And HTML syntax highlight imho never worked in PHP strings. |