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
194 stars 36 forks source link

Port to ST4 #94

Closed AmjadHD closed 3 years ago

AmjadHD commented 3 years ago

I wanted you to be aware of the fact that a limited alpha release of Sublime Text build 4000+ is happening for over a year now, and among the many new features is a practically reworked auto-completion system that provides more capabilities for plugins, used mainly by the LSP plugin A sample of LSP using the new AC API: ST4LSPAC

Notes: ST4's changelog: https://gist.github.com/jfcherng/7bf4103ea486d1f67b7970e846b3a619

IPWright83 commented 3 years ago

Yeah, I've just tried upgrading to Sublime Text 4 and TabNine certainly doesn't play nicely in a TypeScript file.

chendesheng commented 3 years ago

I opened a pull request just now, check it if interest.

image
dimacodota commented 3 years ago

released in 3.2.0

rwols commented 3 years ago

I haven't watched the changes closely but wouldn't you want to make use of the async/promise API? This still seems like it's trying to emulate a state machine.