One of Tabnine’s best features is that it works out of the box with no configuration required.
Tabnine seamlessly offers real-time code completions as you type, so you can enjoy its basic functionality without having to do anything special besides coding as usual. Nevertheless, there are a few strategies one can employ to optimize the results.
Make sure you accept Tabnine’s invitation email, then follow the instructions as you go. You can also refer to Tabnine’s Getting Started page if you get stuck, or contact our support team at support@tabnine.com.
As you type, Tabnine suggests code completions based on the context. To accept a suggestion, press Tab or Enter.
Just keep typing and Tabnine will suggest code as you type. Hit Tab to accept a suggestion.
Tabnine offers several types of code completions:
The more context you give Tabnine, the better the code completions. Using Tabnine on an empty file might lead to somewhat “noisy” results. This context could come from open and interacted files, installed libraries, and the code and comments you’ve authored. The richer the context, the more precise and refined the code completion results will be.
Tabnine uses all the information in your editor as context, including both code and normal text. Giving functions and variables clear, descriptive names can help Tabnine predict more accurately. For instance, writing out a function signature gives Tabnine a good clue. Once you’ve named a function, press Enter.
Tabnine can generate code from a comment. Simply write a comment, hit Enter, and Tabnine will generate the code for you. For example, you can write something like: “// connect to the database”.
We don’t recommend asking questions like: “// Q: How do I connect to Mongodb?” Instead, keep it simple and write a comment the same way you always would.
Tabnine has a slight delay built in so that it doesn’t trigger too often as you type. To trigger a code completion, we recommend pausing your typing for a few milliseconds.
If you don’t like a suggestion provided by Tabnine, you can keep on typing and the suggestion will be updated automatically. If you find the suggestion distracting and want it to go away, just hit Escape.
Tabnine can also provide documentation lookup for functions and libraries. By selecting a suggestion and pressing the assigned key combination, you can access relevant documentation right within your code editor.
Tabnine allows you to customize its behavior according to your preferences. You can adjust the number of suggestions shown, enable or disable specific features, and fine-tune the model’s behavior to suit your coding style.
If you encounter any issues or have suggestions for improving Tabnine, please share them here. Providing feedback helps the developers enhance the tool and address any problems.
As demonstrated in the examples above, Tabnine is a powerful tool that significantly enhances your productivity in various aspects of your daily tasks (and we’re constantly discovering new ones!).
To provide an even better experience and generate more accurate results, Tabnine’s dedicated team is constantly striving to improve and learn from our users. Witnessing and experiencing the evolution of AI-powered programming tools is truly exciting.
Feel free to send us feedback or questions to support@tabnine.com.