#3434: improve vi tags (add non-exported symbols, add tag kinds, add regex tags)
-----------------------------+----------------------------------------------
Reporter: phercek | Owner:
Type: feature request | Status: new
Priority: normal | Component: GHCi
Version: 6.10.4 | Severity: normal
Keywords: vim tags ctags | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-----------------------------+----------------------------------------------
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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3434>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs