Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 323952

Summary: ctrl+tab does not consider namespace
Product: [Tools] CDT Reporter: BB <bjoern.kiefer>
Component: cdt-editorAssignee: Project Inbox <cdt-editor-inbox>
Status: CLOSED DUPLICATE QA Contact: Anton Leherbauer <aleherb+eclipse>
Severity: major    
Priority: P3 CC: malaperle, yevshif, zeratul976
Version: 7.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Sample project none

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 ***