This contextual menu is available from any source editor. If you right click over an entity, or first select text, the contextual menu will apply to this selection or entity.
This dialog has an option Include overriding and overriden operations
,
which, when activated, will include references to overriden or overriding
entities of the one you selected.
This is particularly useful when you are wondering whether you can easily
modify the profile of a primitive operation, since you can then see what
other entities will also be impacted. If you select only the declaration
check box, you will see the list of all related primitive operations.
This dialog also allows you to find out which entities are imported from
a given file/unit. Click on any entity from that file (for instance on the
with
line for Ada code), then select the All entities imported
from same file
toggle button. This will display in the location window the
list of all entities imported from the same file as the entity selected.
In addition, if you have selected the Show context
option, you will
get a list of all the exact references to these entities within the file.
Otherwise, you just get a pointer to the declaration of the imported
entities.
Note that this capability requires a global look up in the project cross-references, which may take a significant amount of time the first time. After a global look up, information is cached in memory, so that further global queries will be faster.
For Ada files only, this entry will generate, and will open this file
at the location corresponding to the current source line.
#include
, or an error
message in a log file), this menu gives you a way to open the corresponding
file. If the file name was followed by ":" and a line number, the
corresponding line is activated.