SublimErl
SublimErl copied to clipboard
Code completion doesn't work as intended
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
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.
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.
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.
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.