Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse CDT C/C++ Browsing Perspective(How to browse classes in a Eclipse CDT C++ Project or Workspace ?)
Eclipse CDT C/C++ Browsing Perspective [message #900883] Wed, 08 August 2012 19:40 Go to next message
alessandro b is currently offline alessandro b
Messages: 3
Registered: August 2012
Junior Member
Hello everybody,

i am a new eclipse user, and i am comparing eclipse with other popular IDEs.

WHAT HAPPENED WITH THE ECLIPSE CDT C/C++ BROWSING PERSPECTIVE, for browsing and navigating classes, namespaces, functions, etc. within C++ projects ?

I can search and navigate with the Menu "Navigate"->"Open Type in Hierarchy" and somehow with the C++ search, but it is not the same as in a good class browser like in other popular IDEs.

So i am very disappointed !

Can someone please help me ? Is there a plugin for a C++ class browser or an advanced search for listing classes and other resources alphabetically (within the whole project and recursively in ALL the include files at once) ?

Thanks
Re: Eclipse CDT C/C++ Browsing Perspective [message #901325 is a reply to message #900883] Fri, 10 August 2012 19:55 Go to previous messageGo to next message
Yevgeny Shifrin is currently offline Yevgeny Shifrin
Messages: 202
Registered: July 2009
Senior Member
Hi,

I am not sure what you mean by browsing perspective.

Eclipse CDT provides very rich functionality:
* Call Hierarchy
* Type Hierarchy
* Navigation (select class, method, member, etc) and press F3.
* Outline view (for file opened in active editor) which shows all elements of this file.
* Include view (shows includes hierarchy)
* Ctrl+Shift+R - opens all resources in your workspace and you can find any file by its name.
* Ctrl+Shift+T - Open element (for example: namespace::MyClass::Method1).
* Search->C/C++ - You can search for C/C++ elements.

This is only partial list. Which functionality is missing for you?

Thanks,
Yevgeny

[Updated on: Fri, 10 August 2012 19:59]

Report message to a moderator

Re: Eclipse CDT C/C++ Browsing Perspective [message #901354 is a reply to message #900883] Sat, 11 August 2012 10:31 Go to previous messageGo to next message
alessandro b is currently offline alessandro b
Messages: 3
Registered: August 2012
Junior Member
Look at this:

ftp://ftp.ulakbim.gov.tr/eclipse/eclipseMirror/tools/cdt/docs/specs/Feature_Specs/CDT_Class_Browser/CDTClassBrowser.html

kdevelop.org/screenshots/container-types-class-browser
(but the image refers to a python file !)

preview3.vivid-planet.com/1.3/doc/manual/index-10.html

So a class browser is intended for viewing ALL classes (with members and member dunctions) that are available in a project (or workspace, or collection of files...).

In Eclipse CDT i can search for one (or a collection of) class with the C++ search or the Navigate"->"Open Type in Hierarchy" but i cannot see an easy to navigate (alphabetical) list of all classes that i can browse (or manipulate).
Re: Eclipse CDT C/C++ Browsing Perspective [message #901497 is a reply to message #901354] Mon, 13 August 2012 07:27 Go to previous message
Axel Mueller is currently offline Axel Mueller
Messages: 1952
Registered: July 2009
Senior Member
alessandro b wrote on Sat, 11 August 2012 12:31
Look at this:

ftp://ftp.ulakbim.gov.tr/eclipse/eclipseMirror/tools/cdt/docs/specs/Feature_Specs/CDT_Class_Browser/CDTClassBrowser.html

kdevelop.org/screenshots/container-types-class-browser
(but the image refers to a python file !)

preview3.vivid-planet.com/1.3/doc/manual/index-10.html

So a class browser is intended for viewing ALL classes (with members and member dunctions) that are available in a project (or workspace, or collection of files...).

In Eclipse CDT i can search for one (or a collection of) class with the C++ search or the Navigate"->"Open Type in Hierarchy" but i cannot see an easy to navigate (alphabetical) list of all classes that i can browse (or manipulate).

Ctrl+Shift+T - Open element:
Uncheck everything but Class and enter *
Then you will get an alphabetical list of all classes


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Previous Topic:OpenMP and Eclipse
Next Topic:error in #include statement
Goto Forum:
  


Current Time: Mon Sep 22 22:31:22 GMT 2014

Powered by FUDForum. Page generated in 0.01628 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software