Safe Haskell | None |
---|
A module for CTags integration
- lookupTag :: Tag -> TagTable -> Maybe (FilePath, Int)
- importTagTable :: FilePath -> IO TagTable
- hintTags :: TagTable -> String -> [String]
- completeTag :: TagTable -> String -> String
- type 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 -> Maybe (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 -> String -> [String]Source
Gives all the possible expanded tags that could match a given prefix
completeTag :: TagTable -> String -> StringSource
Extends the string to the longest certain length
TagTable | |
|
setTagsFileList :: String -> EditorM ()Source