We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c54e8b commit c832a65Copy full SHA for c832a65
analysis/src/Commands.ml
@@ -1,6 +1,7 @@
1
let dumpLocations ~full =
2
full.SharedTypes.extra.locItems
3
|> List.map (fun locItem ->
4
+ let locItemTxt = SharedTypes.locItemToString locItem in
5
let hoverText = Hover.newHover ~full locItem in
6
let hover =
7
match hoverText with None -> "" | Some s -> String.escaped s
@@ -14,7 +15,8 @@ let dumpLocations ~full =
14
15
{uri = Uri2.toString uri2; range = Utils.cmtLocToRange loc}
16
in
17
Protocol.stringifyRange (Utils.cmtLocToRange locItem.loc)
- ^ "\n Hover: " ^ hover ^ "\n Definition: " ^ def)
18
+ ^ "\n Hover: " ^ hover ^ "\n Definition: " ^ def ^ "\n locItem: "
19
+ ^ locItemTxt)
20
|> String.concat "\n\n"
21
22
let dump files =
0 commit comments