-
Notifications
You must be signed in to change notification settings - Fork 250
Open
Labels
Description
Go-to-definition doesn't work on (all) custom operators, which would be very useful for navigating DSLs.
For example,
let ( := ) v a = Printf.printf "%s = %d" v a
let () = "foo" := 3
(* ^ *)If I place my cursor at the point indicated by the ^, go-to-definition does nothing.
Similarly, for custom indexing operators:
let (.%{;..}) a k = Printf.printf "%s.coeffRef(%d);\n" a k.(0)
let (.%{ }) a k = Printf.printf "%s.coeffRef(%d);\n" a k
let name = "baz"
let () = name.%{2;4}
let () = name.%{5}Placing the cursor at the % on either like 4 or 5 does not succeed.
Originally opened as ocamllabs/vscode-ocaml-platform#1766
Reactions are currently unavailable