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.

Bug 185373

Summary: @ignored methods and properties should not be offered by autocompletion
Product: php Reporter: adam.zivner
Component: NavigationAssignee: Ondrej Brejla <obrejla>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description adam.zivner 2010-05-03 17:10:47 UTC
Hi, in my project I have this class hierarchy:

A extends B extends C extends D

A has some properties which are used by B so these properties must be at least "protected". However, C and D do not use these properties and I'd like NetBeans won't offer me them in autocomplete.

In PHP you can't override (at least in direction protected => private) property visibility in subclasses so I tried to solve this on phpDocumentor level using @ignore (or possibly @access) keywords.

But it does not work. 

I'm quite sure that there are other use cases which would benefit from this feature - if you implement e.g. iterator interface, you have bunch of visible methods which you won't ever call directly.
Comment 1 adam.zivner 2010-05-03 17:11:35 UTC
Originally reported here: http://forums.netbeans.org/topic26840.html
Comment 2 Filip Zamboj 2010-09-15 12:31:23 UTC
batch reassigning