DEV Community

Tabnine
Tabnine

Posted on • Originally published at sennalabs.com

Behold! The Almighty Code Completion You’ve Been Searching: TabNine

Written by Ali

I imagine that you all wish there were a tool that could give you enough insight into what you are doing; context-specific and helpful, which eases your pain and makes you a better craftsman in your career! If you are a developer, that may sound familiar since you are working daily with tons of things with many contexts, making it hard to keep in your head.

The Answer Is Already In Your Code
Have you ever wondered what if a tool could understand your code and tell you what you need to do next or at least give you a hint?

If you think the answer to that question already lives in your code, you already wrote a similar function that looks similar to the new one? Did you get many errors that were telling the same thing? Yes! They are resting in your logs somewhere. Or how about if someone else has done something similar to what you are doing now, and it could be helpful if you could easily have insight about it or a guideline towards it.

A Whole New World
Guess what, we are not alone! In 2012 Gary Bernhardt gave a talk at Strange Loop called “A Whole New World.” He mentioned that he built a tool that is not an IDE or giant lines of codes or a debugger. It uses layers that continuously monitor your code’s context and give you insight into what you are doing, from optimizing your SQL queries to referring to a line that might cause a bug.

Sadly there is no such a tool yet, but you could check out Gary’s video and his terrific ideas that, if ever happens, can change the way we are working now.

TabNine — The World’s Most Dangerous AI
Here is a tool being developing for a while called “TabNine” to give you some good news. At first, I just thought it just another fancy tool that machine learning engineers built to show off how cool they are. After I used it for a while, I can tell this tool is not a joke. It freaks me out a bit since it understands what you are doing and gives insight simul while you are doing it.

Do you guys believe this? I just opened my editor and went straight to a line that parses an HTML page and extracts some information from it, and after I wanted to write another query, it gave me precisely what need to write.

Conclusion
As you can see, I do not even have the gopls, which is a Go language server set up yet, but it still gives me a score about what would do next.

If you want to get faster, type less code, and deliver more, you can go to the TabNine website and download TabNine. They provide integration for all kinds of editors and IDEs. Do not hesitate and give it a try.

Become indistractable and get more done by doing less.

Top comments (0)