Ide.Plugin.Cabal.Completion.Data

haskell-language-server-2.9.0.0: LSP server for GHC

Safe Haskell | None
Language | GHC2021

Ide.Plugin.Cabal.Completion.Data

Synopsis

- cabalVersionKeyword :: Map KeyWordName Completer
- cabalKeywords :: Map KeyWordName Completer
- stanzaKeywordMap :: Map StanzaType (Map KeyWordName Completer)
- libraryFields :: Map KeyWordName Completer
- executableFields :: Map KeyWordName Completer
- testSuiteFields :: Map KeyWordName Completer
- benchmarkFields :: Map KeyWordName Completer
- foreignLibraryFields :: Map KeyWordName Completer
- sourceRepositoryFields :: Map KeyWordName Completer
- flagFields :: Map KeyWordName Completer
- libExecTestBenchCommons :: Map KeyWordName Completer
- weightedLicenseNames :: Map Text Double
- ghcOptions :: [Text]

# Documentation

cabalVersionKeyword :: Map KeyWordName Completer #

Keyword for cabal version; required to be the top line in a cabal file

cabalKeywords :: Map KeyWordName Completer #

Top level keywords of a cabal file.

TODO: we could add descriptions of field values and then show them when inside the field's context

stanzaKeywordMap :: Map StanzaType (Map KeyWordName Completer) #

Map, containing all stanzas in a cabal file as keys, and lists of their possible nested keywords as values.

libraryFields :: Map KeyWordName Completer #

executableFields :: Map KeyWordName Completer #

testSuiteFields :: Map KeyWordName Completer #

benchmarkFields :: Map KeyWordName Completer #

foreignLibraryFields :: Map KeyWordName Completer #

sourceRepositoryFields :: Map KeyWordName Completer #

flagFields :: Map KeyWordName Completer #

libExecTestBenchCommons :: Map KeyWordName Completer #

weightedLicenseNames :: Map Text Double #

Contains a map of the most commonly used licenses, weighted by their popularity.

The data was extracted by Kleidukos from the alternative hackage frontend flora.pm.

ghcOptions :: [Text] #