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 228941 - Inplace class rename does not rename constructor
Summary: Inplace class rename does not rename constructor
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-24 09:29 UTC by Egor Ushakov
Modified: 2013-08-02 15:12 UTC (History)
1 user (show)

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 Egor Ushakov 2013-04-24 09:29:34 UTC
sample source:
namespace {
    class A {
    public:
        A() {};
    };
}

ctrl+r on class name A brings up inplace rename which does not rename constructor.
Comment 1 Leonid Lenyashin 2013-04-24 09:33:30 UTC
What about ~A? Is it any better?
Very interesting case is copy constructor as it takes A& as reference too.
Comment 2 Egor Ushakov 2013-04-24 09:40:13 UTC
It all works fine if the class is not inside the unnamed namespace
Comment 3 Egor Ushakov 2013-04-25 15:39:39 UTC
Product Version: NetBeans IDE Dev (Build 201304242301)
Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
Comment 4 Egor Ushakov 2013-08-02 15:12:31 UTC
If I do regular rename (not inplace) it renames everything as it should