Safe Haskell | None |
---|---|
Language | Haskell2010 |
Options
Synopsis
- data IdeOptions = IdeOptions {
- optPreprocessor :: ParsedSource -> IdePreprocessedSource
- optGhcSession :: Action (FilePath -> Action (IdeResult HscEnvEq))
- optPkgLocationOpts :: IdePkgLocationOptions
- optExtensions :: [String]
- optThreads :: Int
- optShakeFiles :: Maybe FilePath
- optShakeProfiling :: Maybe FilePath
- optTesting :: Bool
- optReportProgress :: IdeReportProgress
- optLanguageSyntax :: String
- optNewColonConvention :: Bool
- optKeywords :: [Text]
- optDefer :: IdeDefer
- data IdePreprocessedSource = IdePreprocessedSource {
- preprocWarnings :: [(SrcSpan, String)]
- preprocErrors :: [(SrcSpan, String)]
- preprocSource :: ParsedSource
- newtype IdeReportProgress = IdeReportProgress Bool
- newtype IdeDefer = IdeDefer Bool
- clientSupportsProgress :: ClientCapabilities -> IdeReportProgress
- data IdePkgLocationOptions = IdePkgLocationOptions {
- optLocateHieFile :: PackageConfig -> Module -> IO (Maybe FilePath)
- optLocateSrcFile :: PackageConfig -> Module -> IO (Maybe FilePath)
- defaultIdeOptions :: Action (FilePath -> Action (IdeResult HscEnvEq)) -> IdeOptions
- type IdeResult v = ([FileDiagnostic], Maybe v)
Documentation
data IdeOptions Source #
IdeOptions | |
|
data IdePreprocessedSource Source #
IdePreprocessedSource | |
|
data IdePkgLocationOptions Source #
The set of options used to locate files belonging to external packages.
IdePkgLocationOptions | |
|
defaultIdeOptions :: Action (FilePath -> Action (IdeResult HscEnvEq)) -> IdeOptions Source #
type IdeResult v = ([FileDiagnostic], Maybe v) Source #