defuz / RustAutoComplete

A SublimeText binding for RACER (Rust auto completion tool)
MIT License
105 stars 20 forks source link

Keybind for invoking autocomplete? #3

Closed Crazy-Owl closed 9 years ago

Crazy-Owl commented 9 years ago

Is there a keybinding to explicitly invoke autocomplete?

Currently it is invoked only when I enter first letter of an object's name, with no way of obtaining a full list of possible completions, like on the screenshot embedded in readme: https://github.com/glennw/RustAutoComplete/blob/master/screenshots/completion_1.png

mriehl commented 9 years ago

Hi,

for me whatever runs the command auto_complete offers racer completions (it's ctrl+space on my machine).

This is the relevant snippet from my sublime-keymap:

    { "keys": ["ctrl+space"], "command": "auto_complete" },

Edit: source seems to confirm this, it hooks into on_query_completions so you should be good to go with the auto_complete keybinding. Also it will only trigger on source.rust. Maybe you're using a different syntax schema?

Crazy-Owl commented 9 years ago

Seems like the keybind for auto_complete was missing from my config. Thanks, that helped, now I'm able to invoke autocomplete where I want.