Skip to content

Commit be4eee8

Browse files
committed
wip
1 parent d06ce9f commit be4eee8

File tree

6 files changed

+557
-0
lines changed

6 files changed

+557
-0
lines changed

analysis/src/Commands.ml

+8
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,14 @@ let test ~path =
316316
let currentFile = createCurrentFile () in
317317
completion ~debug:true ~path ~pos:(line, col) ~currentFile;
318318
Sys.remove currentFile
319+
| "co2" ->
320+
print_endline
321+
("Complete2 " ^ path ^ " " ^ string_of_int line ^ ":"
322+
^ string_of_int col);
323+
let currentFile = createCurrentFile () in
324+
Completions.getCompletions2 ~forHover:false ~debug:true ~path
325+
~pos:(line, col) ~currentFile;
326+
Sys.remove currentFile
319327
| "dce" ->
320328
print_endline ("DCE " ^ path);
321329
Reanalyze.RunConfig.runConfig.suppress <- ["src"];

0 commit comments

Comments
 (0)