Portability | portable |
---|---|
Stability | experimental |
Maintainer | yi-devel@googlegroups.com |
Safe Haskell | None |
A module for CTags integration. Note that this reads the ‘tags’
file produced by hasktags
, not the ‘TAGS’ file which uses a
different format (etags).
- lookupTag :: Tag -> TagTable -> [(FilePath, Int)]
- importTagTable :: FilePath -> IO TagTable
- hintTags :: TagTable -> Text -> [Text]
- completeTag :: TagTable -> Text -> Text
- newtype Tag = Tag {}
- mkTag :: String -> Tag
- unTag' :: Tag -> String
- data TagTable = TagTable {
- tagFileName :: FilePath
- tagBaseDir :: FilePath
- tagFileMap :: Map Tag [(FilePath, Int)]
- tagTrie :: Trie
- getTags :: EditorM (Maybe TagTable)
- setTags :: TagTable -> EditorM ()
- resetTags :: EditorM ()
- getTagsFileList :: EditorM [FilePath]
- setTagsFileList :: String -> EditorM ()
Documentation
lookupTag :: Tag -> TagTable -> [(FilePath, Int)]Source
Find the location of a tag using the tag table. Returns a full path and line number
importTagTable :: FilePath -> IO TagTableSource
Read in a tag file from the system
hintTags :: TagTable -> Text -> [Text]Source
Gives all the possible expanded tags that could match a given prefix
completeTag :: TagTable -> Text -> TextSource
Extends the string to the longest certain length
TagTable | |
|
getTagsFileList :: EditorM [FilePath]Source
setTagsFileList :: String -> EditorM ()Source