IdeSession

Configuration

data SessionConfig

sessionConfigFromEnv

defaultSessionConfig

type InProcess

type ProgramSearchPath

data ProgramSearchPathEntry

Updating the session

Starting and stopping

data IdeSession

initSession

initSessionWithCallbacks

data SessionInitParams

defaultSessionInitParams

data IdeCallbacks

defaultIdeCallbacks

shutdownSession

forceShutdownSession

restartSession

Session updates

data IdeSessionUpdate

updateSession

updateSourceFile

updateSourceFileFromFile

updateSourceFileDelete

updateGhcOpts

updateRtsOpts

updateRelativeIncludes

updateCodeGeneration

updateDataFile

updateDataFileFromFile

updateDataFileDelete

updateDeleteManagedFiles

updateEnv

updateArgs

updateStdoutBufferMode

updateStderrBufferMode

updateTargets

buildExe

buildDoc

buildLicenses

Progress

data Progress

data UpdateStatus

Running code

data RunActions a

data RunResult

data RunBufferMode

data BreakInfo

runStmt

runStmtPty

runExe

resume

runWaitAll

setBreakpoint

printVar

Queries

Types

type Query a

data ManagedFiles

data Targets

data GhcVersion

Queries that rely on the static part of the state only

getSessionConfig

getSourcesDir

getDataDir

getDistDir

getSourceModule

getDataFile

getAllDataFiles

getCabalMacros

Queries that do not rely on computed state

getCodeGeneration

getEnv

getGhcServer

getGhcVersion

getManagedFiles

getBreakInfo

Queries that rely on computed state

getSourceErrors

getLoadedModules

getFileMap

getBuildExeStatus

getBuildDocStatus

getBuildLicensesStatus

getSpanInfo

getExpTypes

getUseSites

getDotCabal

getImports

getAutocompletion

getPkgDeps

Types for identifier info, errors, etc.

Types

data IdNameSpace

type Type

data IdInfo

data IdProp

data IdScope

data SourceSpan

data EitherSpan

data SourceError

data SourceErrorKind

type ModuleName

data ModuleId

data PackageId

data ImportEntities

data Import

data SpanInfo

Util

idInfoQN

haddockLink

Exception types

data ExternalException

data InvalidSessionStateQueries

Re-exports from Cabal

type PackageDBStack

data PackageDB

For internal/debugging use only

getGhcExitCode

dumpIdInfo

dumpAutocompletion

dumpFileMap

crashGhcServer

sourceExtensions

ideBackendApiVersion

buildLicsFromPkgs

data LicenseArgs