tabnine-sublime
tabnine-sublime copied to clipboard
Disable on particular file types, say 'markdown' files
Is there any option to ignore certain files (probably through regex). In my case I would love to disable on '.md' files for some projects.
It might be better to implement this independent of the client. A file like .tabnineignore on top of .gitignore might do the job.
.tabnineignore actually already works (but only for constraining indexed files). The Sublime Client will need to be aware of this because it suppresses the built-in autocompletion, so it needs to un-suppress it when TabNine is disabled.
Any word on this? I've one window open with a project that's not a git repo and TabNine is working. Is there a way to just turn it off/on globally?
The normal way to do this would be adding "ignored_packages": ["TabNine"] to the markdown syntax-specific preferences. But for me this doesn't disable TabNine.
@ajnisbet But, according to the docs only Editor settings can be specified in syntax-specific settings.
Editor Settings: These settings affect the behavior and functionality presented when editing text in a file. Examples include the
font_face,tab_sizeandspell_check. These settings are presented in the first section of the default settings file. ... Application Behavior Settings: These settings affect the behavior of the application, across all open windows. Examples include thehot_exit,index_filesandignored_packages. These settings are presented in the third section of the default settings file.