hsdev-0.1.7.2: Haskell development library and tool with support of autocompletion, symbol info, go to declaration, find references etc.

Safe HaskellNone
LanguageHaskell98

HsDev.Symbols.Location

Synopsis

Documentation

regionStr :: Region -> String -> String Source

Get string at region

sourceModuleRoot :: Text -> FilePath -> FilePath Source

Get source module root directory, i.e. for "...srcFooBar.hs" with module Bar will return "...src"

importedModulePath :: Text -> FilePath -> Text -> FilePath Source

Get path of imported module >importedModulePath Foo.Bar "...srcFooBar.hs" Quux.Blah = "...srcQuuxBlah.hs"

class RecalcTabs a where Source

Recalc positions to interpret '\t' as one symbol instead of N

Methods

recalcTabs :: String -> Int -> a -> a Source

Interpret '\t' as one symbol instead of N

calcTabs :: String -> Int -> a -> a Source

Inverse of recalcTabs: interpret '\t' as N symbols instead of 1