Right now, the dependencies in the directory specified by the lib_dirs are not factored into the code completion. It would be great to add support for dependencies.
they should be, see #12
have you tried latest version?
I have the latest version and it's definitely not working. I have the lib_dirs set to deps in my rebar.config file and none of those dependencies are showing up in the autocomplete.
rebar.config's contents are ignored. every .beam file under the project root get parsed.
if you'd like me to fix the issue you are experiencing, please put together some code that i can download to reproduce this error, and state the exact steps needed to do so.
this project works perfectly with sublimerl:
so for example if you open the file ejabberd/apps/ejabberd/src/ejabberd.erl, when you can type code in it you'll see that the autocomplete suggestions will include the module cuesport.erl which is located into /ejabberd/deps/cuesport/src/ (a dependency).
can you tell me which differences there are in comparison to yours?
Here you go: https://github.com/aberman/sublimerl_test
working on it, should probably have a solution within days.
Hi @aberman, can you check if 09788fa fixes it?
Hey @ostinelli, it's still not working.
it is working here, using your code, following your instructions.
unfortunately, unless we can identify what is not running for you, i don't have anything to try (since it's working).
the completions are built when a file gets 'activated' in the project window. try clicking on another tab then back to the project's file (i.e. sublimerl_test.erl)
otherwise please explain in a very detailed way what you are doing (i.e. which file you open up and so) so that i can try to reproduce, or shoot a brief video ^^_
I nuked my SublimErl installation and redownloaded it and made sure all Erlang processes were killed and it appears to be working now. Awesome stuff, Roberto!
thank you @aberman :)