Closed denis631 closed 9 years ago
Hi, sorry for the delay in replying. The sublime plugin actually just calls RACER (https://github.com/phildawes/racer) to do the completion. It might be worth posting this in the RACER issues list, or perhaps building RACER and running it from the command line to check if there's a bug in the autocomplete tool not parsing the results correctly.
Also - it may be the case that you don't have the right path to the rust library source code in the settings, which may be why it's not completing library functions.
Did you check if you have the right path to the library source code?
The path is good, since it shows me the autocompletion, just not for everything ... Seems the problem is with Racer, not with the plugin for sublime.
Will the RustAutoComplete plugin for sublime get this feature, which the author of the racer, wrote in his blog about half a year ago ? http://phildawes.net/blog/
I don't have time to work on it actively at the moment - PRs are always welcome of course :) I may get some time in the next few months to work on it again.
I've only started today with Rust, so If I'm wrong, or my code is wrong, don't judge me :) As I understood my autocompletion works
Still something is wrong (or maybe rust is updating too quickly :) ), cause when I try to test the code you've written no suggestions are shown (like new, with_hasher etc.)
What I find cool, is that it also searches your current file for autocompletion. That's awesome. It would be great, if autocompletion could show the return type of the function. I'm sure it's a good feature.
No autocompletion for println, or stuff like to_string etc.
P.S. I didn't want to write it in Issue section, but I couldn't find your mail. Thanks in advance.