Max Heiber
Max Heiber

Reputation: 15542

Does erlang-ls support go-to-definition for variables?

Does erlang-ls support go-to-definition for variables?

Going to definition seems to work for functions and modules, but Coc.vim says "provider not found" when I gd on a variable name. Cmd-clicking a variable name doesn't do anything in VSCode, either.

What I tried:

Upvotes: 3

Views: 377

Answers (1)

juan.facorro
juan.facorro

Reputation: 9930

There is currently no support in erlang_ls for jumping to the definition of a variable.

If this is something that you would like implemented please open a feature request in the erlang_ls GitHub project.

Upvotes: 4

Related Questions