Changes between Initial Version and Version 1 of doc/editor/codejump


Ignore:
Timestamp:
08/27/09 11:38:44 (15 years ago)
Author:
iNode
Comment:

initial commit

Legend:

Unmodified
Added
Removed
Modified
  • doc/editor/codejump

    v1 v1  
     1== Introduction == 
     2 
     3For source code naviagation used file TAGS, in project directory. If there is no TAGS file navigation don't work and 
     4diaglogs don't show. You should create TAGS file before. 
     5 
     6== Prepare == 
     7 
     8To create TAGS file you should run command etags/ctags in the project directory like this: 
     9 
     10'''ctags example''' 
     11{{{ 
     12find . -type f -name "*.[ch]" | ctags --c-kinds=+p --fields=+iaS --extra=+q -e -L- 
     13}}} 
     14 
     15'''etags example''' 
     16{{{ 
     17find . -type f -name "*.[ch]" | etags -l c --declarations - 
     18}}} 
     19'''exuberant-ctags example''' 
     20{{{ 
     21ctags -e --language-force=C -R ./ 
     22}}} 
     23'''All examples for C language code'''. 
     24 
     25If you use another language - please read manual for etags/ctags tools. 
     26 
     27== Usage == 
     28 
     29For jump to definition (find tag) you need position cursor at end of the word and press M-Enter. 
     30You should press enter in dialog to go to. To go back press M-'-', to go forward - M-'='. 
     31 
     32 * See also [wiki:doc/editor/hotkeys Default hotkeys] 
     33