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 729b4e8 commit 109f04cCopy full SHA for 109f04c
plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal.hs
@@ -317,6 +317,11 @@ gotoDefinition ideState _ msgParam = do
317
isSectionArgName name (Syntax.Section _ sectionArgName _) = name == CabalFields.onelineSectionArgs sectionArgName
318
isSectionArgName _ _ = False
319
320
+-- | CodeActions for hover messages.
321
+--
322
+-- Provides a CodeAction for displaying message on hover.
323
+-- If found that the filtered hover message is a dependency,
324
+-- adds a Documentation link.
325
hover :: PluginMethodHandler IdeState LSP.Method_TextDocumentHover
326
hover ide _ msgParam = do
327
nfp <- getNormalizedFilePathE uri
0 commit comments