lundi 18 octobre 2010

How to properly tag python source files

Situation : emacs + ctags + python source

Problem : import statements are tagged just like definitions, which means that find-tag never jumps to the location I am interested in.

Solution : add "--python-kinds=-i" to the ~/.ctags file. On Windows that would be c:\users\[username]\.ctags

https://bugs.launchpad.net/ubuntu/+source/exuberant-ctags/+bug/618979

Voilà.

Aucun commentaire: