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![screenshot from 2014-10-05 15 42 43](https://cloud.githubusercontent.com/assets/6100421/4518686/63b3ec1c-4c99-11e4-9bb6-e3abcd520904.png)
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.)![screenshot from 2014-10-05 15 44 11](https://cloud.githubusercontent.com/assets/6100421/4518687/63b4477a-4c99-11e4-9bec-0d8d8944a81a.png)
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.![screenshot from 2014-10-05 15 56 53](https://cloud.githubusercontent.com/assets/6100421/4518688/63ba6c2c-4c99-11e4-877d-32b0fdf60574.png)
No autocompletion for println, or stuff like to_string etc.
![screenshot from 2014-10-05 16 23 00](https://cloud.githubusercontent.com/assets/6100421/4518729/32dd08f6-4c9b-11e4-8b9e-cf5a27230538.png)
P.S. I didn't want to write it in Issue section, but I couldn't find your mail. Thanks in advance.