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 207802 - request new CC option : 'ignore namespace' like 7.0.1
Summary: request new CC option : 'ignore namespace' like 7.0.1
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P4 normal (vote)
Assignee: Ondrej Brejla
Depends on:
Reported: 2012-01-27 00:45 UTC by HiroKws
Modified: 2012-02-20 17:06 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description HiroKws 2012-01-27 00:45:42 UTC
On 7.0.1, CC ignore namespace, and I can get many items on CC list.

This made too many item on CC list, but I felt it was useful for some PHP framework.

So I want to request to new CC option, 'ignore namespace'.

It is better on project property than global option. On some framework, it is good to cc with namespace, and on other, better without namespace.
Comment 1 natanv 2012-02-20 17:06:53 UTC
Yes I agree, this would be very useful.  The current problem with 7.1 is that it performs overly intelligent namespace calculation that doesn't account for php dynamic namespaces in which a namespaces can be merged or determined at run time by inclusion of files within a given namespace.  

As an alternative, it would at least be useful to have the ability to manually alias namespaces in netbeans.  This could be done through an interface or by passing a custom docblock var - perhaps something like: @nb-namesapce-alias: /newnamespace/test

Until a feature like this is available it simply makes no sense for me to use the latest version of netbeans.  Please make this a priority for the next release.