ghcide-1.10.0.0: The core of an IDE
Safe HaskellSafe-Inferred
LanguageHaskell2010

Development.IDE.Core.Actions

Synopsis

Documentation

getAtPoint :: NormalizedFilePath -> Position -> IdeAction (Maybe (Maybe Range, [Text])) Source #

Try to get hover text for the name under point.

useE :: IdeRule k v => k -> NormalizedFilePath -> MaybeT IdeAction (v, PositionMapping) Source #

useE is useful to implement functions that aren’t rules but need shortcircuiting e.g. getDefinition.

lookupMod Source #

Arguments

:: HieDbWriter

access the database

-> FilePath

The `.hie` file we got from the database

-> ModuleName 
-> Unit 
-> Bool

Is this file a boot file?

-> MaybeT IdeAction Uri 

Eventually this will lookup/generate URIs for files in dependencies, but not in the project. Right now, this is just a stub.