Sublime Forum

Do not complete on space

#1

Hey there,

I’ve bound autocomplete to be on Ctrl+Space only. However, when I open the autocomplete suggestions menu (by hitting Ctrl+Space once), hitting Space only (i.e. without Ctrl) will do the currently selected completion.
I’m not sure why this happens, is there a way to ensure I have to hold Ctrl to autocomplete?

For reference, here are the corresponding entries in my user keybinds:

[code]{ “keys”: “ctrl+space”], “command”: “auto_complete”, “context”: // Open autocomplete if not visible

	{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]

},
{ “keys”: “ctrl+space”], “command”: “commit_completion”, “context”: // If autocomplete visible, insert current selection

	{ "key": "auto_complete_visible", "operator": "equal", "operand": true }
]

}[/code]
On a side note, my default keybindings file is fully commented out.

0 Likes