forked from qt-creator/qt-creator
CppEditor: introduce include hierarchy
Based on type hierarchy.
Added to context menu ('Open Include Hierarchy')
Shortcut(Ctrl+Shift+I)
'Include Hierarchy' contains:
FileName for which 'Include Hierarchy' is done
Includes(which files are included by current file - tree hierarchy)
Included by(which files include current file - tree hierarchy)
It is possible to open/goto each file by clicking on specific item.
Additionally for 'Included by' files it goes to the line where is include
directive for current file.
Change-Id: I549b1ed64e4c9f6955f60d00efb12950a3259f81
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
committed by
Nikolai Kosjar
parent
8c79d5bc23
commit
a3eaed4c51
@@ -135,6 +135,9 @@
|
||||
|
||||
\li \gui {Type Hierarchy} shows the base classes of a class.
|
||||
|
||||
\li \gui {Include Hierarchy} shows which files are included in the current file
|
||||
and which files include the current file.
|
||||
|
||||
\endlist
|
||||
|
||||
You can change the view of the sidebar in the following ways:
|
||||
@@ -234,6 +237,12 @@
|
||||
To view the base classes of a class, right-click the class and select
|
||||
\gui {Open Type Hierarchy} or press \key {Ctrl+Shift+T}.
|
||||
|
||||
\section2 Viewing Include Hierarchy
|
||||
|
||||
To view which files are included in the current file and which files include
|
||||
the current file, right-click in the editor and select \gui {Open Include Hierarchy}
|
||||
or press \key {Ctrl+Shift+I}.
|
||||
|
||||
\section1 Viewing Output
|
||||
|
||||
The task pane in \QC can display one of the following panes:
|
||||
|
||||
Reference in New Issue
Block a user