This is the repository for the backend of TabNine, the all-language autocompleter. There are no source files here because the backend is closed source.
You can make feature requests by filing an issue. You are also welcome to make pull requests for changes to the configuration files.
languages.yml
determines which file extensions are considered part of the same language. (For example, identifiers from .c
files will be suggested in .h
files.)
language_tokenization.json
determines how languages are tokenized. For example, identifiers can contain dashes in Lisp, but not in Java.
If your feature request is specific to a particular editor's TabNine client, please file an issue in one of these repositories:
You may be interested in these TabNine clients written by third parties:
NOTE: Codota is not validating any code in those plugins and is not responsible for them by any means.
- Emacs
- Vim (Deoplete)
- Eclipse
- Your client https://github.com/codota/TabNine/blob/master/HowToWriteAClient.md
- x86_64-unknown-linux-musl
- x86_64-apple-darwin
- aarch64-apple-darwin
- i686-pc-windows-gnu
- x86_64-pc-windows-gnu
If new features don't work for you, check that you have the most recent version by typing TabNine::version
into your text editor. If you don't have the most recent version, try restarting your editor.
- Preventing excessive CPU and memory consumption
- Switch from self signed certificate to Let's Encrypt
- Fix LSP configuration for GoLang and Clang
- TabNine Local is now enabled by default
- Deep TabNine
- Can download and run TabNine Local models
- Can connect to TabNine Cloud
- Simplified bracket pairing logic
- Simplified filesystem event handling
- Added a configuration panel for viewing settings and logs which can be accessed by typing
TabNine::config
- TabNine no longer watches for filesystem events in ignored directories (closes #43).
- TabNine now waits until a completion is requested to start the language server (closes #50).
- Files with the
.d
extension are now recognized as D source files (closes #56). - Added LSP default configuration for PureScript.
- Fixed a logic error that caused index size to be tracked incorrectly in some cases.
- Fixed an internal logic error which could put indexing threads into a bad state, leading to an infinite loop (might close #24, we'll see).
- TabNine now considers a wider range of possibilities when completing in a zero-char context (i.e. when there are no characters immediately before the cursor).
- TabNine now includes
-
in identifiers when parsing Racket code.
- TabNine now uses the context after the cursor to filter its suggestions. For example, if there are tokens on the same line as the cursor, TabNine will not make a suggestion ending in a semicolon (unless there are already instances in the codebase of semicolons occurring in the middle of a line).
- TabNine removes tokens matching the regex
\d.*[a-zA-Z].*\d.*[a-zA-Z]
from the project index. This is supposed to prevent long keys or base64 literals from occurring in autocompletion suggestions. The tokens are not filtered from the directory index or the file index. - TabNine now recognizes
.tsx
files as TypeScript rather than.xml
(closes #21). - TabNine only checks its version directory, not its target directory, when auto-updating or writing registration keys. (This fixes an issue associated with DOS path shortening.)
- Semantic completion is added! This allows TabNine to integrate with any language server that implements the Language Server Protocol.
- TabNine will integrate the language server's suggestions with its own. For example, TabNine can suggest multi-token completions where the first token is provided by the language server.
- TabNine queries the language server asynchronously. So, if the language server is slow, you will see TabNine's results only. Continue typing to see the language server's results.
- TabNine passes along any type information or documentation provided by the language server. (The Sublime and VS Code clients are not yet updated to display the documentation; this is coming soon.)
- See the semantic completion guide for configuration help.
- Paid index size limit increased to 100 MB (from 15 MB).
- Free index size limit increased to 400 KB (from 200 KB).
- Improved indexing performance.
- Increased license price to $49/$99 personal/business (from $29/$89).
- TabNine now provides closing brackets for its suggestions (so if it suggests
foo(
it will additionally insert)
to the right of the cursor once the suggestion is accepted). The editor clients do not support this yet as it requires an upgrade to the communication protocol with TabNine; this is coming soon. Closes #11 as this is no longer an issue with the TabNine backend. - TabNine now searches all parents to find the project root rather than stopping at the first
.git
. This permits nested Git repositories (closes #5). - TabNine provides an API call to get the regex it uses to find identifiers (closes #7).
- TabNine no longer indexes files in
.git
(closes #8). - TabNine now respects
.tabnineignore
files (closes #15). - TabNine allows disabling auto-update by typing
TabNine::disable_auto_update
into your text editor (closes #14). - TabNine no longer stores registration keys and config in same directory where it is installed. This should prevent registration keys and config from being overwritten by client updates (closes #10). You can type
TabNine::config_dir
to see where config files are being stored.