Codota — An AI coding partner

Abhishek Pradhan
Lingvo Masino
Published in
3 min readAug 4, 2017

Do you always have to search over the internet what to write next while coding? Do you always have to search what set of lines have to be written to implement a particular feature? If your answers are yes, you are in right place. In this article, we will introduce you to Codota — Your AI Pair Programmer.

Codota is an AI assistant which helps you predict and write the next set of codes to take your code to perfection. I myself is a developer for 4 years and always have been wanting an assistant to make my coding easy and quick. Codota uses Artificial Intelligence to learn and predict your next set of code.

How can Codota predict the code?

As all AI assistants learn from examples, Codota is not an exception. It builds predictive models from code available over the internet to predict your next step. It uses state of art techniques from program analysis, natural language processing, and machine learning to learn from codes. It uses publicly available code bases like StackOverflow, GitHub, and BitBucket to learn.

The real magic of Codota is in its Ranking algorithm. It analyses the code snippet and understands what this code snippet does. This requires the understanding of the particular programming language. Codota currently supports Java. It does not rewrite the code for you, code still would be messy and may not be useful as it is, but it picks the most relevant snippet for you as per the requirement.

Codota not only uses programming language analysis and information retrieval, it uses big data technologies extensively to provide faster and efficient results.

How can Codota help a programmer?

Codota runs along the side of your code while you write. It understands your code and uses its learned models to predict the most relevant code.

Below we enlists features Codota is good at:

  1. Context based Code Suggestion: It understands your code and context to suggest the next possible steps so that you can write powerful and bug-free code.
  2. Code snippet suggestion: It reduces your effort of searching for code to implement a particular feature. It brings everything to you. You just need to take the first step, Codota will search over all publically available code bases to find you most relevant code snippet without even opening your browser.
  3. Code Review: Codota helps you in reviewing your code by understanding the duplicate codes and refactoring them for the purpose of re-usability.

Below is the introductory video from Codota:

Does Codota hampers my privacy?

Codota does not upload any of your code to its server. Your code stays where it is and completely safe.

Below is the FAQ from Codota website.

Q | What information does Codota send to your servers?

A | Codota only extracts an anonymized summary of the current IDE scope. It does not access other files in your codebase and does not access other resources on your machine. The anonymized summary sent to Codota is only used for prediction and suggesting code to the user and is not stored on our servers.

Codota does not track individual keystrokes, and does not transmit values of literals (such as the content of Strings). All communication with Codota servers is done over https.

How to use Codota?

Codota can be downloaded from here. It currently supports only Java but will be adding more languages soon. It supports all major operating systems (i.e. Windows, Linux, Mac OS) and most of the IDEs such as Eclipse, IntelliJ, Android Studio. It is free for use and only charges for providing services for private repositories.

--

--