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 103365 - "C/C++ Go To Declaration..." doesn't work with namespace names
Summary: "C/C++ Go To Declaration..." doesn't work with namespace names
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-05 08:59 UTC by soldatov
Modified: 2007-09-06 18:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2007-05-05 08:59:01 UTC
Steps:
- Create C++ project with such code
--------------------------------------------

namespace AA {
    int f() {
        return 0;
    }
}

namespace BB {
    int f() {
        return 0;
    }
    
    inf f2() {
        return 1;
    }
}

int main(void) {
    
    return 0;
}

--------------------------------------------
- Push "Navigate|C/C++ Go To Declaration..." menu item
- Type "A" in "Go To Declaration" window
==> "AA" appears in table, but I cann't jump to source code
Comment 1 Alexander Simon 2007-05-07 07:57:58 UTC
fixed in branch "grgich_hills"

CVS log:

Checking in SearchDialog.java;
/shared/data/ccvs/repository/cnd/gotodeclaration/src/org/netbeans/modules/cnd/gotodeclaration/search/SearchDialog.java,v
 <--  SearchDialog.java
new revision: 1.1.2.1.6.3.4.1; previous revision: 1.1.2.1.6.3
done
Comment 2 Alexander Simon 2007-05-14 09:44:29 UTC
fixed in development branch "grgich_hills"
Comment 3 Alexander Pepin 2007-08-06 17:46:44 UTC
verified in 5.5.1_u1 CND build (20070802).