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

Code completion doesn't work as intended #64

Open
derekchiang opened this issue Apr 24, 2013 · 4 comments
Open

Code completion doesn't work as intended #64

derekchiang opened this issue Apr 24, 2013 · 4 comments

Comments

@derekchiang
Copy link

Hello,

I'm not sure if I didn't set up the configuration correctly, but for some reason the code completion isn't showing useful results. For example when I type "io:", what appears is a huge list of functions like "appmon", "appmon:a", "appmon:dg", etc. Functions like "io:format" can't be found.

I have Erlang installed and these binaries are also available in PATH: rebar, erl, escript and dialyzer. I'm using Sublime Text 2 on Ubuntu 12.10.

Many thanks,
Derek

@derekchiang
Copy link
Author

Seems like it doesn't matter which module I use... whether it's io:, lists:, or timer:, the same huge list of functions are shown, but functions that are actually in that module do not show up.

@colindensem
Copy link

I replicate this by not having rebar in your path, so check you have rebar in your path.

This for me at least on a mac 10.8.4 environment replicates and resolves.

@toddhalfpenny
Copy link

Hi there,

I'm having same issues on Ubuntu 12-10. I cannot seem to get any of the commands to work and I'm pretty sure I have all the binaries available in my path (checked by doing which rebar, which escript etc. Is there anyway to check that the plugin is initialised OK?

I have also noted that the README needs correcting for the path to the Sublime Package directory to be ~/config/sublime-text-2 for (at least Ubuntu installs). I'm not entirely sure what the process is for helping out with the docs etc but I'd be happy to.

Thanks.

@jwedel
Copy link

jwedel commented Nov 4, 2013

Hi,

I'm running Sublime Text 2 on a Mac with 10.9 and facing the same issues.

Actually, I'm pretty sure, that it had worked in the past. But now it shows only unrelated hits. E.g. when I'm in a function, Writing:
FooBar = 3,

then starting to type
F -> PCKS_FRAME
Fo -> focus_demo
Foo -> focus_demo
FooB -> FooBar

So it still works somehow, but it doesn't priorize local Symbols over global ones and modules.

I also have everything in path (erl, rebar, escript...) and as I said, it used to work but I'm not sure at what point it did not work anymore.

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

4 participants