Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using alias breaks auto-completion and documentation on mouse-over #1953

Closed
ggerico opened this issue Jun 1, 2023 · 1 comment
Closed

using alias breaks auto-completion and documentation on mouse-over #1953

ggerico opened this issue Jun 1, 2023 · 1 comment

Comments

@ggerico
Copy link

ggerico commented Jun 1, 2023

Environment

Elixir 1.14.4 (compiled with Erlang/OTP 25)
Livebook 0.9.2

Current behavior

I was watching "Data wrangling in Elixir with Explorer, the power of Rust, the elegance of R - Launch Week 1 - Day 5" and found out that when using aliases, auto-completion and documentation on mouse-over are both not working

require Explorer.DataFrame, as: DF
DF.load_csv!(resp.body)

after typing DF. auto-completion doesn't pop up
after typing DF.load_csv!(res.body) mouse over load_csv! doesn't show its doc

Expected behavior

auto-completion and documentation on mouse-over should show up

without using aliases, both functionalities are working well

@josevalim
Copy link
Contributor

This is a known issue. We only use aliases defined in the previous cell. Once we add more functionality to help with this in Elixir (elixir-lang/elixir#12566), we can provide it here too. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants