improve vi tags (add non-exported symbols, add tag kinds, add regex tags)
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.
Trac metadata
Trac field | Value |
---|---|
Version | 6.10.4 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHCi |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |