Code navigation is a function of text editors and integrated development environments , consisting of a quick transition from sections of code where a particular symbol is used to sections of code in which this symbol is declared, as well as sections of code that are logically connected to this symbol. [1] [2]
Such a connection is determined by the context of the use of the symbol, for example, if the symbol is the name of a variable , then from the code section where it is used, a quick transition to the declaration of this variable, to the declaration of the class to which this variable belongs, to other sections of the code, may be available. in which this variable is used. [2] [3]
In the context of this article, the term “ symbol ” is used to mean “an entity that can be referenced in the program code”.
Symbols in this sense are, in particular, the names of variables, objects, methods of objects, functions, etc.
Strictly speaking, it may be possible to navigate through the code and to symbols that cannot be directly referenced in the program code in some cases (for example, if they are declared private variables in the code of an external library), but for the purpose of understanding the essence of code navigation, such a definition of the term “ the symbol "appears valid.
Links
- ↑ Code navigation on C . ENT . Date of treatment January 31, 2013. Archived on February 6, 2013.
- ↑ 1 2 Navigation and Search . JetBrains Date of treatment January 31, 2013. Archived on February 6, 2013.
- ↑ Writing Code in the Code and Text Editor . Microsoft Date of treatment January 31, 2013. Archived on February 6, 2013.