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: | CC doesn't work in <?= ?> | ||
---|---|---|---|
Product: | php | Reporter: | tprochazka <tprochazka> |
Component: | Editor | Assignee: | Tomasz Slota <tslota> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | sustaining |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Example with standard <?php echo syntax
Example with short <?= syntax |
Description
tprochazka
2008-09-13 14:09:47 UTC
Created attachment 69804 [details]
Example with standard <?php echo syntax
Created attachment 69805 [details]
Example with short <?= syntax
CC in <?= ?> works for me in general. The problem is probably somewhere else. Can you please provide a reproducible case? Reproducible for me. Reopening the issue. Reproducible case is below. In the first case CC works, but in the second it doesn't. <?php class PHPClass { static $st; } ?> <?php echo PHPClass::| ?> <?= PHPClass::| ?> Fixed & unit tested: http://hg.netbeans.org/main/rev/795e6640a10e As I was fixing it I realized there was also no CC in the following situation: <?php class Test147179 { public static function foo(); } ?> <? Test147179::foo(); ?> And I covered this use case as well. It looks like a P2, the fix was simple so it should be considered for a patch for NB 6.5 . Integrated into 'main-golden', will be available in build *200810220201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/795e6640a10e User: Tomasz Slota <tslota@netbeans.org> Log: #147179: CC doesn't work in <?= ?> Verified The fix has been ported into the release65_fixes repository. http://hg.netbeans.org/release65_fixes/rev/aa5cc493c827 Verified in patch2, winXP |