Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323952 - ctrl+tab does not consider namespace
Summary: ctrl+tab does not consider namespace
Status: CLOSED DUPLICATE of bug 421544
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 7.0   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Anton Leherbauer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-30 06:59 EDT by BB CLA
Modified: 2017-01-02 01:18 EST (History)
3 users (show)

See Also:


Attachments
Sample project (4.64 KB, application/zip)
2010-10-26 00:50 EDT, Marc-André Laperle CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description BB CLA 2010-08-30 06:59:43 EDT
In my project are 2 classes with the same name (and same filename) but they are in an other namespace. When I switch to header or to cpp file by using ctrl+tab inside the editor, the editor opens the wrong file. It seems that it does not consider the namespace of the class.
Comment 1 Anton Leherbauer CLA 2010-08-31 04:01:46 EDT
Similar to bug 282820.
Could you provide a sample project?
Comment 2 BB CLA 2010-08-31 04:12:04 EDT
(In reply to comment #1)
> Similar to bug 282820.
> Could you provide a sample project?

It is code of the company I am working for and cannot be released. At the moment I have no time to change the code. So I have no example for you at this time. Perhaps later.
Comment 3 Marc-André Laperle CLA 2010-10-26 00:50:32 EDT
Created attachment 181693 [details]
Sample project

I think I can reproduce it. If you open src/Test.h and Ctrl+tab, it will switch to src/foo/Test.cpp. Also, open src/Test.cpp, it will switch to src/foo/Test.h
Comment 4 Nathan Ridge CLA 2017-01-02 01:18:04 EST
This was fixed in bug 421544.

*** This bug has been marked as a duplicate of bug 421544 ***