| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Development.IDE.Core.Completions
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 Methods showsPrec :: Int -> CachedCompletions -> ShowS # show :: CachedCompletions -> String # showList :: [CachedCompletions] -> ShowS # | |
| NFData CachedCompletions Source # | |
Defined in Development.IDE.Core.CompletionsTypes Methods rnf :: CachedCompletions -> () # | |
cacheDataProducer :: HscEnv -> DynFlags -> TypecheckedModule -> [TypecheckedModule] -> IO CachedCompletions Source #
newtype WithSnippets Source #
Constructors
| WithSnippets Bool |
getCompletions :: IdeOptions -> CachedCompletions -> TypecheckedModule -> PosPrefixInfo -> ClientCapabilities -> WithSnippets -> IO [CompletionItem] Source #
Returns the cached completions for the given module and position.