lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi all,

For those editors that support it [1], tag files [2] are a very useful
way to navigate source.

However, the 'canonical' Exuberant Tags program does not do a good job
for Lua. ltags [0] does better:
 - tags based on simple name of function
 - generates extended type information. including whether a function
is local to a file
 - does file-level locals

It still supports module(), so for instance LuaRocks works fine (some
examples of tag files generated are here [3])

Tested with vim and my own homebrew Scintilla-based editor (everyone
and their dog seems to have one of these)

steve d.


[0] https://github.com/stevedonovan/ltags
[1] http://en.wikipedia.org/wiki/Ctags#Editors_that_support_ctags
[2] http://ctags.sourceforge.net/FORMAT
[3] https://gist.github.com/stevedonovan/9951394