ghcide-1.4.2.2: The core of an IDE
Safe HaskellNone
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.