tabnine-sublime icon indicating copy to clipboard operation
tabnine-sublime copied to clipboard

Disable TabNine for some file extensions

Open Maxix25 opened this issue 4 years ago • 2 comments

  • OS version: Linux Mint
  • Editor version: Sublime Text 3
  • Programming language: HTML and Python
  • TabNine extension version: 3.1.2

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?

Maxix25 avatar Oct 05 '20 17:10 Maxix25

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

avichay77 avatar Oct 07 '20 06:10 avichay77

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

ajnisbet avatar Aug 27 '21 17:08 ajnisbet

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.

muttleydosomething avatar Jan 03 '23 14:01 muttleydosomething

Hi @Sci-Fi-Si ,

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

image

avichay77 avatar Jan 03 '23 14:01 avichay77

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

:)

muttleydosomething avatar Jan 04 '23 08:01 muttleydosomething

@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-

avichay77 avatar Jan 04 '23 09:01 avichay77

Terrific, thanks for putting up with a numpty :D

muttleydosomething avatar Jan 04 '23 13:01 muttleydosomething