Safe Haskell | None |
---|---|
Language | Haskell2010 |
- getCompletions :: [Filter] -> Matcher IdeDeclarationAnn -> CompletionOptions -> [Module] -> [Completion]
- getExactMatches :: Text -> [Filter] -> [Module] -> [Match IdeDeclarationAnn]
- getExactCompletions :: Text -> [Filter] -> [Module] -> [Completion]
- simpleExport :: Match a -> (Match a, [ModuleName])
- completionFromMatch :: (Match IdeDeclarationAnn, [ModuleName]) -> Completion
- data CompletionOptions = CompletionOptions {}
- defaultCompletionOptions :: CompletionOptions
- applyCompletionOptions :: CompletionOptions -> [Match IdeDeclarationAnn] -> [(Match IdeDeclarationAnn, [ModuleName])]
Documentation
getCompletions :: [Filter] -> Matcher IdeDeclarationAnn -> CompletionOptions -> [Module] -> [Completion] Source #
Applies the CompletionFilters and the Matcher to the given Modules and sorts the found Completions according to the Matching Score
getExactMatches :: Text -> [Filter] -> [Module] -> [Match IdeDeclarationAnn] Source #
getExactCompletions :: Text -> [Filter] -> [Module] -> [Completion] Source #
simpleExport :: Match a -> (Match a, [ModuleName]) Source #
completionFromMatch :: (Match IdeDeclarationAnn, [ModuleName]) -> Completion Source #
data CompletionOptions Source #
applyCompletionOptions :: CompletionOptions -> [Match IdeDeclarationAnn] -> [(Match IdeDeclarationAnn, [ModuleName])] Source #