AutoComplete your Code with TabNine by Codota!

Umair Jibran
2 min readOct 29, 2020

--

TabNine home page

TabNine is an awesome extension for your favourite IDE or code editor that you must want to keep using after the first use, it uses deep learning to help you write code faster. And it doesn’t save your code to a cloud, read in depth here or have a read on the quote from their privacy page, below:

TabNine offers a cloud-based configuration, which allows for usage of more robust models that cannot be run locally on a development machine. These models are run on GPU servers, and require that you Opt-in before they can be used. We do not use your code to train our models. All information sent to our servers is ephemeral, only used to compute your prediction, and the queries themselves are not saved in our system after we’ve fulfilled them.

How to install:

It is very easy to install if you are comfortable with your IDE or editor if you are not; We will go together.

  1. Visual Studio Code(my fav code editor):
    Press Ctrl+Pin your Visual Studio Code, paste the following command, and press Enter the following command: ext install TabNine.tabnine-vscode reload your editor after installation.
  2. IntelliJ Platform (IntelliJ IDEA, PyCharm, Android Studio, and others):
    Press Ctrl+Alt+Sto open the Settings/Preferences dialogue. Search for TabNine in the Marketplace tab and press Install. Press the Restart IDE button.
  3. Sublime Text
    Install Package Control by pressing Ctrl+Shift+Pand selecting Install Package Control. Install TabNine by pressing Ctrl+Shift+Pand selecting Package Control: Install Package and then TabNine.
  4. Vim
    a. via Vundle:
    Add Plugin 'zxqfl/tabnine-vim'to your .vimrc. Type :PluginInstalland press Enter.
    b. Without Vundle
    Run git clone --depth 1 https://github.com/zxqfl/tabnine-vimin your terminal. Add set rtp+=~/tabnine-vimto your .vimrc (replacing ~/tabnine-vimwith the path you cloned it to).
  5. Atom
    TabNine is available in Packages. Simply search TabNine and press Install. If TabNine does not appear in Packages, check that your Atom installation is up to date.

Community Manages Code for these editors

  1. Vim (Deoplete)
  2. Vim (Coc)
  3. Emacs
  4. Jupyter Notebook

A Treat for you: If you are before/on Sunday, 1 November 2020, enjoy this:

You can register using the following link: https://hubs.li/H0yV8qm0

Here’s what happens when you register, you will get an email with detailed instruction and your API Key. just go to your editor/IDE and enter TabNine::config your browser window will open enter your API key and make sure you enable TabNine Cloud by clicking ‘Enabled’ as shown below:

enabling Deep TabNine Cloud

Enjoy your #100DaysOfTabNine

--

--