I found that tab can't cycle through completion like in Vim
then i search for other way of cycling through completion and many says that ctrl+space is available for this
however this doesn't work on me either, so i wonder if sublime has any way to do this
version: Sublime Text 3
many thanks!
If you want to use tab in order to move down in the autocomplete list you only need to create the proper key-binding. You can get the desired info from the down key key-binding. Example:
{
"keys": ["tab"],
"command": "move",
"args": {"by": "lines", "forward": true},
"context":
[
{ "key": "auto_complete_visible", "operator": "equal", "operand": true }
]
}
Note the context to avoid that tab moves by lines in other contexts.
EDIT: this question contains info about how to enable autocomplete cycle (jump from last to first entry and from first to last).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With