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

Disable TabNine for some file extensions #67

Closed Maxix25 closed 1 year ago

Maxix25 commented 3 years ago

Issue Details: I want to disable TabNine for some file extension, like md, html and css, I could do it on vscode but i can't seem to do it on Sublime Text, somebody can help me?

avichay77 commented 3 years ago

Hi, This is not yet supported, but I'm adding this as a high priority issue for our backlog

ajnisbet commented 3 years ago

For reference, here's how it's done in vscode: https://stackoverflow.com/questions/58719428/how-to-disable-tabnine-extension-for-only-one-language

muttleydosomething commented 1 year ago

Honestly it's like 2 lines of code to do this. It's now 2023 and it still hasn't been fixed. If this is "High Priority" I'd hate to find out how long things take when you're not in a hurry...

Example If file_extension = .py don't call TabNine - It's not exactly rocket science is it.

avichay77 commented 1 year ago

Hi @Sci-Fi-Si ,

This is actually already implemented. Go to Tabnine Hub > Settings, and chose on which files to disable Tabnine.

image
muttleydosomething commented 1 year ago

Terrific, thank you, but I'm looking to be able to do this from with Sublime Text 4 and so I don't see this interface?

Sci-FiSi

On Tue, 3 Jan 2023 at 14:37, avichay @.***> wrote:

Hi @Sci-Fi-Si https://github.com/Sci-Fi-Si ,

This is actually already implemented. Go to Tabnine Hub > Settings, and chose on which files to disable Tabnine.

[image: image] https://user-images.githubusercontent.com/23702961/210378395-7f6458f6-3e8f-4a31-93bc-0701765eb70b.png

— Reply to this email directly, view it on GitHub https://github.com/codota/tabnine-sublime/issues/67#issuecomment-1369841510, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABZQYYEHGOFTSFDM6ALH5LWQQ2UNANCNFSM4SE7LFOA . You are receiving this because you were mentioned.Message ID: @.***>

-- There's no place like 127.0.0.1

:)

avichay77 commented 1 year ago

@Sci-Fi-Si

To open Tabnine Hub in Sublime just type Tabnine::config into your editor. https://support.tabnine.com/hc/en-us/articles/4413876147985-What-is-Tabnine-Hub-and-where-can-I-find-it-

muttleydosomething commented 1 year ago

Terrific, thanks for putting up with a numpty :D