Unofficial TabNine client (all-language autocomplete) for the VS Code.
Difference between official TabNine extension:
- Updated
README
to contain as much documentation as possible. - Added more VS Code settings and TabNine commands.
- Kept only
.
and:
trigger characters. - Removed restriction to show only 1 result if end of the word is
.
or::
. - Always shows correct suggestion detail for e.g.
41%
orTabNine
. - Won't preselect TabNine suggestions.
- De-prioritized TabNine suggestions to be at the end of the list whenever it's possible.
- Changed TabNine suggestions kind from
property
totext
in order to avoid misunderstanding which suggestions are from TabNine. - Triggers suggestion list if suggestion ends with
.
or::
. - Included postfix in suggestions for e.g. instead of
log(
it will showlog()
. - Disabled suggestions in Git input (commit message), for VS Code JSON files like
settings.json
, etc. - Starts TabNine process on VS Code startup.
- Automatically downloads latest TabNine binary on VS Code startup.
- Bundled extension for faster startup.
- For a full list of changes you can take a look at the CHANGELOG.
Install through VS Code extensions, search for Code Autocomplete
by Benas Svipas
. If you can't find extension by name try to search by publisher name.
After installing this extension latest TabNine binary is automatically downloaded. After TabNine binary is downloaded you can immediately start to use TabNine in VS Code, you don't need to do anything additionally. But if you want to improve experience with TabNine, continue to read below.
Semantic completion permits suggestions which make use of language-specific information via Language Server Protocol. In other words it improves suggestions.
If you want to enable semantic completion for specific language open file in text editor and use command palette or type command in active file.
Read more about semantic completion.
Free
- Project size limit: 400 KB
- Code completions for all languages: ✓
- Code completions based on your code: ✓
- Deep TabNine completions based on millions of open source projects: ✓
- Works offline: ✓
- Deep TabNine Cloud - use GPU-accelerated cloud servers (optional): x
- Priority support: x
- Self-hosted option: x
- Train a model specialized for your code: x
Professional
Try TabNine Professional for a 14-day free trial.
- Project size limit: Unlimited
- Code completions for all languages: ✓
- Code completions based on your code: ✓
- Deep TabNine completions based on millions of open source projects: ✓
- Works offline: ✓
- Deep TabNine Cloud - use GPU-accelerated cloud servers (optional): ✓
- Priority support: ✓
- Self-hosted option: x
- Train a model specialized for your code: x
Enterprise
Contact TabNine at enterprise@tabnine.com for pricing and information.
- Project size limit: Unlimited
- Code completions for all languages: ✓
- Code completions based on your code: ✓
- Deep TabNine completions based on millions of open source projects: ✓
- Works offline: ✓
- Deep TabNine Cloud - use GPU-accelerated cloud servers (optional): ✓
- Priority support: ✓
- Self-hosted option: ✓
- Train a model specialized for your code: ✓
Local
TabNine Local uses your machine's CPU to run a deep learning model for providing completions. Your code stays on your machine.
Cloud
Enabling TabNine Cloud sends small parts of your code to our servers to provide GPU-accelerated completions. Other than for the purpose of fulfilling your query, your data isn't used, saved or logged in any way.
Command palette
Commands below are available in VS Code command palette.
TabNine: open config
: opens configuration panelTabNine: restart
: restarts TabNineTabNine: enable semantic completion for current language
: enables semantic completion for current languageTabNine: disable semantic completion for current language
: disables semantic completion for current language
Text
Commands below are available in VS Code active file, to use them simply type the command.
TabNine::config
: opens configuration panelTabNine::version
: returns current TabNine versionTabNine::config_dir
: returns directory where TabNine stores its configurationTabNine::active
: checks whether TabNine has been activatedTabNine::restart
: restarts TabNineTabNine::become_beta_tester
: enables beta releases of TabNineTabNine::disable_auto_update
: disables automatic updatesTabNine::enable_auto_update
: enables automatic updatesTabNine::ignore_semantic
: ignores semantic completion error messagesTabNine::unignore_semantic
: enables semantic completion error messagesTabNine::sem
: enables semantic completion for current languageTabNine::no_sem
: disables semantic completion for current language
Settings
Settings below are available in VS Code.
tabnine.enable
: enables TabNine completionstabnine.debug
: enables debug modetabnine.maxNumberOfResults
: maximum number of results returned by TabNinetabnine.disabledLanguagesIds
: list of languages IDs to disabletabnine.requestTimeout
: timeout in milliseconds after which TabNine request is terminatedtabnine.charLimit
: maximum number of characters before and after your current position is sent to TabNine
Feel free to open issues or PRs!
All credits belongs to Codota, TabNine and Jacob Jackson.
This repository includes source code of VS Code extension as well as bundled TabNine binaries. The MIT license only applies to the source code of VS Code extension, not the binaries! The binaries are covered by the TabNine End User License Agreement.