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: | Global code completion not working | ||
---|---|---|---|
Product: | php | Reporter: | maghiel <maghiel> |
Component: | Code | Assignee: | pgebauer <pgebauer> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | vriha |
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
class screenshot
function comment |
Description
maghiel
2011-03-11 16:39:39 UTC
Created attachment 106984 [details]
class screenshot
Created attachment 106985 [details]
function
Created attachment 106986 [details]
comment
It works for me, see the attached screenshots, folding works for functions, classes, /* */ comments. Can you give me more details? I tried it in php file and php web page as well. Currently I don't have the newest build, I'll try the latest in the evening. Product Version: NetBeans IDE Dev (Build 201103090000) Java: 1.6.0_24; Java HotSpot(TM) Client VM 19.1-b02 System: Windows 7 version 6.1 running on x86; Cp1250; cs_CZ (nb) Sorry, I have opend bad bug, all my comments don't belongs here... Comment on attachment 106984 [details]
class screenshot
bad issue
Comment on attachment 106985 [details]
function
bad issue
Comment on attachment 106986 [details]
comment
bad issue
Did you use the keyword "global"? I did it kind of automatically (because I'm used to do it that way and I don't know if any other way is possible) and it works in both cases. For the first issue: <?php function myF(){ global $justVar; $<codeCompletion> }?> This works For the second one: second.php: <?php $foo = 2; ?> first.php: <?php include 'second.php'; function myF(){ global $f<codeCompletion> }?> This works as well. If you tested it differently, could you please attach the source files? Maybe I get it wrong... Sorry I didn't close this issue, lot of work on my hands. It turned out the test suites were wrong, not netbeans itself. |