codota / tabnine-sublime

Tabnine Autocomplete AI: JavaScript, Python, TypeScript, PHP, C/C++, HTML/CSS, Go, Java, Ruby, C#, Rust, SQL, Bash, Kotlin, Julia, Lua, OCaml, Perl, Haskell, React
https://www.tabnine.com/install/sublime
MIT License
195 stars 36 forks source link

Tab+number can be problematic #46

Open deadmau6 opened 5 years ago

deadmau6 commented 5 years ago

Feature Request.

So far I love this extension, but I am noticing some issues with the Tab+# feature. It's not broken, everything is working as expected. However, some times the auto complete will take over when I wish it wouldn't. For Example (in expressjs):

// I start with this:
res.s
// then I'll Tab once for this:
res.status(
// now what I am trying to get is res.status(403)
// but as soon as I hit 4 i might instead get this:
res.status(200).json({})

A lot of autocomplete software has this same "locked in" issue. I think one solution is to maybe allow the user to easily adjust the HotKeys in the config. And maybe have the default be a little more strict like Tab+Crtl+#. I do like the multiple tab presses feature ( Tab+Tab+Tab = Tab+3) i think this has less use cases of being annoying.

Setup: sublime text 3 build 3207 TabNine version 2.1.11