Ticket #3434 (closed feature request: fixed)
improve vi tags (add non-exported symbols, add tag kinds, add regex tags)
|Reported by:||phercek||Owned by:||simonmar|
|Keywords:||vim tags ctags||Cc:|
|Type of failure:||Difficulty:||Unknown|
|Test Case:||Blocked By:|
Ghci :ctags command does not generate tags for non-exported top level symbols. It also does not add type hints (vim kinds) to tags and does not allow generation of tags which are searched based on a regular expression instead of a line number. All these features of tags are supported well by vim but they are not supported by :ctags command.
New :ctags syntax should be: :ctags[!] [file]
The new command should generate tags for all top level symbols (regarles whether they are exported). The non-exported symbols should be marked as static in vim tags file. Vim tag kind field should be filled in with a haskell type hint. If the exclamation mark is added then the Ex address expressions in vim tags file should be based on search expression instead of line number. The search exression should search the whole line. This would provide better resistance to edits of unrelated lines.
The problem was discussed here: http://www.haskell.org/pipermail/glasgow-haskell-users/2009-June/017399.html
The ticket is supported by me and Claus Reinke. Rest of the comunity did not indicate their (positive or negative) opinion.