1 vote
 
Tried disabling the auto-complete feature via the TAB key in the user keymap file, but wasn't able to do so without also disabling re-indentation with the TAB key. Is there a way to do that?

 
updated 1 year ago
Rather than editing the keymap file, set the tab_completion setting to false
 
0
Zoran Simic
To clarify, I'm talking about these lines in the global keymap:

{ "keys": ["tab"], "command": "insert_best_completion",

 "args": {"default": "\t", "exact": true} },
{ "keys": ["tab"], "command": "insert_best_completion",
 "args": {"default": "\t", "exact": false},
 "context": [{
  "key": "setting.tab_completion",
 "operator": "equal",
 "operand": true }] },


What I'd basically like to do is remove (or 'deactivate') those lines from the user keymap (so I don't have to keep deleting them from the global keymap). Without messing up the other lines involving "tab", like this one:

{ "keys": ["tab"], "command": "reindent", 

  ... etc ...
Translation provided by Microsoft translator:

 
+1
Zoran Simic
"tab_completion": false in the user file settings works, thanks!
Translation provided by Microsoft translator:

Community stats

  • 27,561People
  • 3,826Feedback
  • 5,695Comments
  • 64,477Votes