Safe Haskell | None |
---|---|
Language | Haskell2010 |
Utilities and state for the files of interest - those which are currently
open in the editor. The useful function is getFilesOfInterest
.
Synopsis
- ofInterestRules :: Rules ()
- getFilesOfInterest :: Action (HashMap NormalizedFilePath FileOfInterestStatus)
- setFilesOfInterest :: IdeState -> HashMap NormalizedFilePath FileOfInterestStatus -> IO ()
- modifyFilesOfInterest :: IdeState -> (HashMap NormalizedFilePath FileOfInterestStatus -> HashMap NormalizedFilePath FileOfInterestStatus) -> IO ()
- kick :: DelayedAction ()
- data FileOfInterestStatus
Documentation
ofInterestRules :: Rules () Source #
The rule that initialises the files of interest state.
getFilesOfInterest :: Action (HashMap NormalizedFilePath FileOfInterestStatus) Source #
Get the files that are open in the IDE.
setFilesOfInterest :: IdeState -> HashMap NormalizedFilePath FileOfInterestStatus -> IO () Source #
Set the files-of-interest - not usually necessary or advisable. The LSP client will keep this information up to date.
modifyFilesOfInterest :: IdeState -> (HashMap NormalizedFilePath FileOfInterestStatus -> HashMap NormalizedFilePath FileOfInterestStatus) -> IO () Source #
Modify the files-of-interest - not usually necessary or advisable. The LSP client will keep this information up to date.
kick :: DelayedAction () Source #
Typecheck all the files of interest. Could be improved
data FileOfInterestStatus Source #