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.
Based on user's feedback. Product Version: NetBeans IDE Dev (Build 200810290201) Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22 System: SunOS version 5.11 running on sparc; UTF-8; en_US (nb) Product Version: NetBeans IDE 6.5 RC2 (Build 200810270001) Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15 System: SunOS version 5.11 running on sparc; UTF-8; en_US (nb) does not show Documentation window for const and function Sample code: class DemoClass { const demoConst = "string"; function demoFunction() { return; } } DemoClass::demoConst; $var = new DemoClass; $var->demoFunction(); If input cursor is placed anywhere on the class name "DemoClass", Ctrl+Shift+Space feature (Show Documentation) works fine, i.e. shows Documentation window. If input cursor is placed at the end of const name (after "t" of "demoConst") or at the end of function name (between "n" and "()"), the feature still works. If input cursor is placed elsewhere on const name or function name, the feature does not work.
Reproducible for me.
confirmed. (it works OK for functions, but not for any class members)
*** Issue 154666 has been marked as a duplicate of this issue. ***
Fixed: http://hg.netbeans.org/web-main/rev/9bbdd984c3af Note that there is a remaining minor problem in this area, I filed issue 173047 for it
Integrated into 'main-golden', will be available in build *200909251401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/9bbdd984c3af User: Tomasz Slota <tslota@netbeans.org> Log: #151818: does not show Documentation window for class members
Product Version: NetBeans IDE 6.8 Beta (Build 200909281634) Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01
Product Version: NetBeans IDE 6.8 Beta (Build 200909281634) Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01 Sorry, I verified too fast. The problem originally reported by kasha is fixed but not entirely. consider the example given by kasha with added comments: /** * This is class */ class DemoClass { /** * this is constatn */ const demoConst = "string"; /** * some comment to function * @return <type> */ function demoFunction() { return; } } DemoClass::demoConst; // ctrl+shift+space works only on DemoClass and t and ; $var = new DemoClass; // works fine $var->demoFunction(); // doesn't work. works only between n and ( /** * function */ function myfunction() {} myfunction(); //works well
the rest should be fixed now: http://hg.netbeans.org/web-main/rev/2d140b8793c4
Integrated into 'main-golden', will be available in build *200910010513* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/2d140b8793c4 User: Tomasz Slota <tslota@netbeans.org> Log: #151818: does not show Documentation window for class members