Sublime Forum

Toggle Autocomplete?

#1

I have AllAutocomplete installed, and I would love to be able to toggle it on/off. What would my binding look like in my user-keymap file?

I see the standard built-in piece for the settings file would be:
“auto_complete”: false

If I turned off the ST autocomplete, would that also turn off the ‘AllAutocomplete’ plugin?

0 Likes

#2

Setting auto_complete to false, will make it so that auto completions are not offered automatically when you type - you will have to explicitly request them by using the menu or a keybinding.

All Autocomplete completions will still be offered when you do so.

Your keybinding for this would look like:

{ "keys": ["ctrl+alt+a"], "command": "toggle_setting", "args": {"setting": "auto_complete"} },

If that is not what you want, it looks like the way the plugin is designed, you would have to get the keybinding to add or remove it from your ignored_packages preference.

1 Like

#3

EXCELLENT, I added the “auto_complete”: false to my settings and created a key using your listed keybinding, chose the letter b as I have ‘a’ already taken.

At least that keeps the AC out of my face until I need it.

I will try a few things to toggle the All Autocomplete. (if anyone has already done this, please let me know)

Cheers!

  • np
0 Likes