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

Commit

Permalink
module Development.IDE (#724)
Browse files Browse the repository at this point in the history
A single module to reexport all the commonly used names to simplify the use of
ghcide as a library
  • Loading branch information
pepeiborra authored Sep 2, 2020
1 parent 3e1b362 commit 2a71723
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
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)

0 comments on commit 2a71723

Please sign in to comment.