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: | Problem with equally named classes in different namespaces | ||
---|---|---|---|
Product: | php | Reporter: | TrebleSnake |
Component: | Editor | Assignee: | Ondrej Brejla <obrejla> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | pjiricka, vriha |
Priority: | P2 | ||
Version: | 7.0.1 | ||
Hardware: | PC | ||
OS: | Windows 7 x64 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 201153 |
Description
TrebleSnake
2011-08-30 19:04:27 UTC
I have tried your example with the dev build and I see in the code completion item list methods from both User classes. Do you see only from the Core\User? (In reply to comment #1) > I have tried your example with the dev build and I see in the code completion > item list methods from both User classes. Do you see only from the Core\User? I use stable build 7.0.1 (Build 201107282000), and yes, I see completion items only from the Core\User. I see methods and properties from both classes NB 7.0.1...and it's annoying too ;) Same behaviour in NB 7.1dev. I have find out that if you split the namespaces into two separate files, then code completion really offers only the methods from Core\User class. Fixed in web-main: http://hg.netbeans.org/web-main/rev/b76268950355 Integrated into 'main-golden', will be available in build *201109100600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/b76268950355 User: Ondrej Brejla <obrejla@netbeans.org> Log: #201452 - Problem with equally named classes in different namespaces verified |