This repository has been archived by the owner on Jan 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A single module to reexport all the commonly used names to simplify the use of ghcide as a library
- Loading branch information
1 parent
3e1b362
commit 2a71723
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |