Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data CachedCompletions
- cacheDataProducer :: HscEnv -> DynFlags -> TypecheckedModule -> [TypecheckedModule] -> IO CachedCompletions
- newtype WithSnippets = WithSnippets Bool
- getCompletions :: IdeOptions -> CachedCompletions -> TypecheckedModule -> PosPrefixInfo -> ClientCapabilities -> WithSnippets -> IO [CompletionItem]
Documentation
data CachedCompletions Source #
End result of the completions
Instances
Show CachedCompletions Source # | |
Defined in Development.IDE.Core.CompletionsTypes showsPrec :: Int -> CachedCompletions -> ShowS # show :: CachedCompletions -> String # showList :: [CachedCompletions] -> ShowS # | |
NFData CachedCompletions Source # | |
Defined in Development.IDE.Core.CompletionsTypes rnf :: CachedCompletions -> () # |
cacheDataProducer :: HscEnv -> DynFlags -> TypecheckedModule -> [TypecheckedModule] -> IO CachedCompletions Source #
newtype WithSnippets Source #
getCompletions :: IdeOptions -> CachedCompletions -> TypecheckedModule -> PosPrefixInfo -> ClientCapabilities -> WithSnippets -> IO [CompletionItem] Source #
Returns the cached completions for the given module and position.