codota / tabnine-atom

:atom: Atom client for Tabnine - Code Faster with the All-Language AI Assistant for Code Completion, autocomplete JavaScript, Python, TypeScript, PHP, Go, Java, node.js, Ruby, C/C++, HTML/CSS, C#, Rust, SQL, Bash, Kotlin, React, Swift, Scala, Sass, Perl, Objective C, Node JS, Matlab, Haskell, Dart, Angular. https://atom.io/packages/tabnine
https://www.tabnine.com/install/atom
MIT License
36 stars 14 forks source link

Suppressing Atom built-in snippets for Latex #8

Closed fangzhou-xie closed 3 years ago

fangzhou-xie commented 5 years ago

I just found this awesome plugin (especially with new deep learning features). I disabled several plugins (Kite and autocomplete-python) but found out that when writing latex documents, built-in plugins (like snippets) are disabled. Those features in latex came back after disabling TabNine and re-enabling autocomplete-python (yes, I dunno why a python plugin affects latex behavior!). I wonder if TabNine automatically disables build-in packages from working? Is there a solution to this problem I am facing?

Thank you for providing this awesome package by the way!

zxqfl commented 5 years ago

TabNine doesn't explicitly suppress other plugins, but since it registers itself as available for all languages it can sometimes cause other plugins to not be selected.

I'll leave this issue open and add a setting to control this at some point in the future.

I'm glad you like it!

fangzhou-xie commented 5 years ago

Currently, I have to disable this plugin when writing Latex (and re-enable it when writing python). But I believe this plugin has great potential!

Thank you for your reply and for creating this wonderful package!

swiknaba commented 5 years ago

Having the same issue with Ruby! Typing e.g. case and hitting tab expands me

  case object
  when condition

  end

which I use very often to speed-up coding. When enabling TabNine, the autocomplete suggestions are gone entirely. So the time-gain through TabNine is more or less lost. If it would be pushed down in the list for e.g. anything that has a higher likelihood than let's say 30% for TabNine, it would be awesome.

Besides, great idea, I'm happy to buy the license when I can use both, TabNine and the atom auto-complete, here a link for the record: https://atom.io/packages/autocomplete-snippets