-
Notifications
You must be signed in to change notification settings - Fork 138
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
cannot code completion(or find definition) #1411
Comments
important: when i reopen vscode, then i can code completion and find definition, but new function or macro cannot. unless i reopen vscode again |
appreciate to all of you for help!!! |
i have same problem on windows, but works fine on wsl |
I can confirm this. This happens in a rebar3 project with the following config (from erlang ls docs):
The app has a simple structure like this, generate by
For example adding a new exported function to |
thanks a lot. |
Don't close the issue, please reopen. My theory is that this is related to the face that rebar3 creates symlinks in Seems like the |
sounds like that... |
I think the solution would either be to not index the |
yeah, maybe all(exclude deps) should index the |
Describe the bug
cannot code completion(or find definition) for new function or new macro
To Reproduce
new a macro in test.hrl (eg: -define(new_macro, test).), then test.erl use ?new_macro, it cannot code completion and cannot jump to definition.
Expected behavior
want code completion and definition
Actual behavior
as above
Context
erlang_ls
version (tag/sha): erlang-ls v0.0.39 in vsCodeps:erlang_ls.config has include like
include_dirs:
-"include"
The text was updated successfully, but these errors were encountered: