Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bulletinmybeard/9873e5c8ea25ff5abd24106b83347d8d to your computer and use it in GitHub Desktop.
Save bulletinmybeard/9873e5c8ea25ff5abd24106b83347d8d to your computer and use it in GitHub Desktop.
Resolve tabnine subscription sync issues in your IDE

My Tabnine Pro subscription expired the other day, and renewing didn’t work because of UI-related issues in multiple different browsers. The UI issues forced me to create a new Tabnine account and to subscribe with that one. However, my JetBrains IDEs, such as PHPStorm, PyCharm, and IntelliJ, started showing a warning next to the tabninPro IDE plugin info and the Pro features stopped showing up.

It seemed that the JetBrains Plugin kept using the stored login credentials from the previous account with no subscription in place. Unfortunately, simply visiting the tabnine website from within my IDE via Open Tabnine Hub didn’t help to enforce the IDE plugin using my new credentials.

What helped was to delete the IDE, its internal browser cache and cookies that are being used by tabnine.

To do so, go to the following URLs and make sure you’re logged out:

Now open your IDE and invalidate the internal browser cache and cookies used by the tabnine plugin. In JetBrains PHPStorm, go to File -> Invalidate Caches -> Check: Delete embedded browser engine cache and cookies -> Submit: Invalidate and Restart.

Now click on Tabnine Starter -> “Open Tabnine Hub”, and log into the website with the user that has an active Pro subscription.

Your IDE should now use the tabnine account with the active subscription.

If this did not work, delete the ~/.tabnine directory or respective tabine version directories:

~ cd ~/.tabnine/
➜  .tabnine ls -al
total 24
drwxr-xr-x@  7   224 Jun  5 07:26 .
drwxr-x---+ 75  2400 Jun  5 08:05 ..
-rw-r--r--@  1  6148 Apr 20 07:04 .DS_Store
-rw-r--r--@  1     7 Jun  5 07:20 .active
drwxr-xr-x@  4   128 Jun  2 16:14 4.4.322
drwxr-xr-x@  3    96 Jun  1 11:02 4.4.324
drwxr-xr-x@  3    96 Jun  1 18:31 4.4.326
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment