Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Add a module Development.IDE #724

Merged
merged 1 commit into from
Sep 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ghcide.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ library
include-dirs:
include
exposed-modules:
Development.IDE
Development.IDE.Compat
Development.IDE.Core.Debouncer
Development.IDE.Core.FileStore
Expand Down
46 changes: 46 additions & 0 deletions src/Development/IDE.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
module Development.IDE
(
-- TODO It would be much nicer to enumerate all the exports
-- and organize them in sections
module X

) where

import Development.IDE.Core.RuleTypes as X
import Development.IDE.Core.Rules as X
(GhcSessionIO(..)
,getAtPoint
,getDefinition
,getParsedModule
,getTypeDefinition
)
import Development.IDE.Core.FileExists as X
(getFileExists)
import Development.IDE.Core.FileStore as X
(getFileContents)
import Development.IDE.Core.IdeConfiguration as X
(IdeConfiguration(..)
,isWorkspaceFile)
import Development.IDE.Core.OfInterest as X (getFilesOfInterest)
import Development.IDE.Core.Service as X (runAction)
import Development.IDE.Core.Shake as X
( IdeState,
shakeExtras,
ShakeExtras,
IdeRule,
define,
GetModificationTime(GetModificationTime),
use, useNoFile, uses, useWithStaleFast, useWithStaleFast',
FastResult(..),
use_, useNoFile_, uses_,
ideLogger,
actionLogger,
IdeAction(..), runIdeAction
)
import Development.IDE.GHC.Error as X
import Development.IDE.GHC.Util as X
import Development.IDE.Plugin as X
import Development.IDE.Types.Diagnostics as X
import Development.IDE.Types.Location as X
import Development.IDE.Types.Logger as X
import Development.Shake as X (Action, action, Rules, RuleResult)