We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76f3bef commit 884c572Copy full SHA for 884c572
plugins/hls-notes-plugin/src/Ide/Plugin/Notes.hs
@@ -87,7 +87,7 @@ jumpToNote state _ param
87
note <- err "No note at this position" $ listToMaybe $
88
mapMaybe (atPos $ fromIntegral c) $ matchAllText noteRefRegex line
89
notes <- runActionE "notes.definedNotes" state $ useE MkGetNotes nfp
90
- (noteFp, pos) <- err "Note not found" (HM.lookup note notes)
+ (noteFp, pos) <- err ("Note definition (a comment of the form `{- Note [" <> note <> "]\\n~~~ ... -}`") (HM.lookup note notes)
91
pure $ InL (Definition (InL
92
(Location (fromNormalizedUri $ normalizedFilePathToUri noteFp) (Range pos pos))
93
))
0 commit comments