File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,10 @@ let completion ~path ~line ~col ~currentFile =
51
51
52
52
let hover ~file ~line ~col ~extra ~package =
53
53
let pos = Utils. protocolLineColToCmtLoc ~line ~col in
54
+ print_endline " Commands.hover pos:" ;
55
+ let (a, b) = pos in
56
+ print_endline (string_of_int a);
57
+ print_endline (string_of_int b);
54
58
match References. locItemForPos ~extra pos with
55
59
| None -> Protocol. null1
56
60
| Some locItem -> (
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ let checkPos (line, char)
15
15
else true
16
16
17
17
let locItemsForPos ~extra pos =
18
+ print_endline " References.locItemsForPos extra.locItems length:" ;
19
+ print_endline (string_of_int (List. length extra.locItems));
18
20
extra.locItems |> List. filter (fun {loc; locType = _ } -> checkPos pos loc)
19
21
20
22
let locItemForPos ~extra pos =
You can’t perform that action at this time.
0 commit comments