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

No auto complete suggestions for auto-imported BIFs and imported functions #28

Open
dszoboszlay opened this issue May 21, 2024 · 1 comment
Labels
bug Something isn't working prio-mid

Comments

@dszoboszlay
Copy link

Describe the bug

When typing a new expression, ELP provides auto complete suggestions for e.g. local functions, variables or modules. But it doesn't suggest auto-imported BIFs or explicitly imported functions.

To Reproduce

Start typing a new expression in a function's body, e.g. spa. The auto complete suggestions should include the auto-imported BIFs spawn/1, spawn/2, spawn/3 and spawn/4, but they are in fact absent.

Similarly, if the module contains an -import(crypto, [strong_rand_bytes/1]). attribute, typing strong_r or similar should suggest strong_rand_bytes/1 as an auto completion.

Expected behavior

Auto-imported BIFs and explicitly imported functions should be among the auto complete suggestions.

Actual behavior

Auto-imported BIFs and explicitly imported functions are missing from the auto complete suggestions.

Context

  • ELP Version (output of elp version): elp 1.1.0+build-2024-04-29
  • Editor used: VS Code
@dszoboszlay dszoboszlay added the bug Something isn't working label May 21, 2024
@robertoaloi
Copy link
Contributor

Same here. Keep reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working prio-mid
Projects
None yet
Development

No branches or pull requests

2 participants