hsinspect-lsp-0.0.3: LSP interface over the hsinspect binary.
HsInspect.LSP.Impl
data Caches Source #
Constructors
Fields
by source root
by source filename
cachedContext :: Caches -> FilePath -> ExceptT String IO Context Source #
cachedImports :: Caches -> Context -> FilePath -> ExceptT String IO [Import] Source #
cachedIndex :: Caches -> Context -> ExceptT String IO [Package] Source #
cachedIndex' :: Caches -> Context -> ExceptT String IO [Package] Source #
data Span Source #
findType :: Text -> [Package] -> Maybe Text Source #
hoverProvider :: Caches -> FilePath -> (Int, Int) -> ExceptT String IO (Maybe (Span, Text)) Source #
completionProvider :: Caches -> FilePath -> (Int, Int) -> ExceptT String IO [Text] Source #
symbolAtPoint :: FilePath -> (Int, Int) -> ExceptT String IO (Maybe (Span, Text)) Source #