We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1f0af3 commit 2329109Copy full SHA for 2329109
ghcide/src/Development/IDE/Core/Actions.hs
@@ -146,7 +146,10 @@ getAtPoint file pos = runMaybeT $ do
146
(hf, mapping) <- useWithStaleFastMT GetHieAst file
147
-- The HscEnv and DKMap are not strictly necessary for hover
148
-- to work, so we only calculate them for project files, not
149
- -- for dependency files.
+ -- for dependency files. They provide information that will
150
+ -- not be displayed in dependency files. See the atPoint
151
+ -- function in ghcide/src/Development/IDE/Spans/AtPoint.hs
152
+ -- for the specifics of how they are used.
153
(mEnv, mDkMap) <- case getSourceFileOrigin file of
154
FromDependency -> pure (Nothing, Nothing)
155
FromProject -> do
0 commit comments