woensdag 4 november 2015

etags emacs


make a  python TAG file
Type in the current project directory:


find . -name "*.py" -print | tags -

For c code
find . -name '*.c' -exec etags -a {} \;


TAGS in the current directory.


in emacs:

loadfile tags
M-x visit-tags-table. This allows you to have different databases for different projects. To look up a definition, just type  
M-., then enter up a definition


Geen opmerkingen:

Een reactie posten