elixir-lsp / elixir-lsp/vscode-elixir-ls

Navigation leads user to the elixir stdlib but user can't navigate the stdlib

Open
#275 3 comments 0 reactions 0 assignees View on GitHub
waiting-on-upstream
Dominant language
TypeScript
Stars
599
Forks
108
PR merge metrics
No merged PRs in 30d

Description

### Environment

* Elixir & Erlang versions (elixir --version): 1.13.4
* Elixir Language Server version: v0.11.0
* Operating system: macOS 12.4
* Editor or IDE name (e.g. Emacs/VSCode): VSCode
* Editor Plugin/LSP Client name and version: ElixirLS v0.11.0

### Current behavior

* Open file containing `IO.puts("")`
* ctrl-click on _puts_, navigate to the io.ex file from the stdlib
```
...
def puts(device \\ :stdio, item) when is_device(device) do
:io.put_chars(map_dev(device), [to_chardata(item), ?\n])
end
...
```
* Try to ctrl-click on `:io.put_chars` or `map_dev` but it does nothing

### Expected behavior

* Open file containing `IO.puts("")`
* ctrl-click on _puts_, navigate to the io.ex file from the stdlib
```
...
def puts(device \\ :stdio, item) when is_device(device) do
:io.put_chars(map_dev(device), [to_chardata(item), ?\n])
end
...
```
* ctrl-click on `:io.put_chars` should lead to the erlang implementation; ctrl-click on `map_dev` should lead you to the implementation on io.ex

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.