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: | The php delimiters should be offered in the code completion | ||
---|---|---|---|
Product: | php | Reporter: | Petr Pisl <ppisl> |
Component: | Editor | Assignee: | Victor Vasilyev <vvg> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Petr Pisl
2007-11-19 15:39:43 UTC
Only the <?php ?> tag can be proposed in the code completion list for a "foreign" context (not only the html context should be processed). The <script language="php"> tag should be under recognition for reasons of backward compatibility with old PHP scripts, but it MUST NOT be proposed for a new script. Because: 1. The PHP manual says (see http://us.php.net/manual/en/language.basic-syntax.php ) : "... example one is the most commonly used, and recommended, of the two.", i.e. the <?php ?> tag is the most commonly used, and recommended, of the <script language="php"> tag. 2. The language attribute of the script tag is deprecated ( http://www.w3.org/TR/html401/conform.html#deprecated ) . See http://www.w3.org/TR/html401/interact/scripts.html for more info about the script tag. *** This issue has been marked as a duplicate of 120477 *** |