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: | can't do autocomplete of HTML DOM code inside a echo""; | ||
---|---|---|---|
Product: | php | Reporter: | kubr1ck <kubr1ck> |
Component: | Editor | Assignee: | Ondrej Brejla <obrejla> |
Status: | NEW --- | ||
Severity: | blocker | CC: | polan, tmysik |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
kubr1ck
2008-07-22 02:27:49 UTC
Yes i really this would be a worthwhile enhancement. I would think so even if i didn't know the guy that reported and he didn't ask to vote. reassigning to default owner batch reassigning You should not be echo-ing at the first place. It's bad practice. IMHO the IDE should not support such practice. I agree in the case of not needing this for echoing HTML, but it would be nice for SQL strings, or JS string (used for Mongo DB). Perhaps a comment hint could say what a string contains and format/color code it in that way? If you're doing HTML, put it in the HTML, not in the echo (same applies for whatever you're echoing: put it outside the PHP template tags <?php and ?>). Auto-completion occurs for SQL in case you're putting the stirng straight into a PDO request, because there, it can be known that you're doing an SQL query. But for "echo", you can output anything, so there cannot be any autocompletion provided but the PHP itself (like variables and functions). So to me, this bug should not be fixed, and probably won't seeing for how long it was opened. I'll still let someone else close this, to have a confirming opinion. |