Hi Habr! I want to share with you one tool that helps me make fewer mistakes in the code and less often google on development issues.
What are you talking about?
Are you programming in Java? Codota will help you with this! This helper is designed to help you write code without checking the documentation once again. Codota understands the code and offers you the right solution at the right time. Does this mean that one day the robots will take over our developer jobs? Maybe. But not yet.
Coding is difficult. Services such as StackOverflow or GitHub, of course, help us in this. Now Java developers have another alternative: Codota AI Assistant. Personally, I always wanted to get the help of artificial intelligence in the design. ')
Codota is learning from existing code to help you build software faster and smarter. It works with any IDE that you use, and uses its studied code models to suggest the best option.
How it works?
According to the creators of this service, Codota creates predictive code models that imply code refinement and related content based on the current context present in your IDE.
The program combines methods of program analysis, natural language processing, and machine learning to learn code. It then provides the results of various models for any given task.
If you installed Codota, a window appears associated with your IDE. Therefore, when you select a variable, type, or method, Codota provides code examples based on what you have already written. You can call a good fortune teller for code fragments.
So, and this is exactly the AI?
Well, according to Marcel Bruch , Codota evaluates and sorts code examples by relevance. Currently, Codota is limited to Java, since Before the service should begin to understand the language that analyzes.
Come now about the cons
Of course, there are some frames.
Codota does not yet know the essence of the code. As an example, you will often be given a piece of code from some other programmer from this world. Obviously, this means that there is no guarantee for always beautiful and clean code. But since the Codota knowledge base is based on services such as GitHub, BitBucket and StackOverflow, every day the AI gets better.
Codota runs on Linux, Windows and MacOS.
The program works with Eclipse, IntelliJ and Android Studio.
Also, there is a rather interesting promotional video, which shows in detail how it works.