IntelliJ IDEA JetBrains

AI Assistant Update – November 2023 

Earlier this year, we launched a new feature for IntelliJ-based IDEs: AI Assistant.
Powered by artificial intelligence, this developer tool is woven into the core IDE user workflows and connects you to different large language models (LLMs), either hosted by JetBrains or by external providers like OpenAI.

Since introducing AI Assistant in June, we have increased the number of supported use cases and upgraded existing features. This blog post describes the new features that have been added to the 2023.3 EAP since our last announcement.

Although AI Assistant is currently still in preview and only available to a limited number of users, we will gradually grant access to all users who previously applied through the waitlist. So if you are one of these users, please check your email.

Code autocompletion

You asked, and we listened! AI Assistant can now autocomplete single lines, entire functions, and even blocks of code in real time based on the project’s context.

The generated code is similar to how you would write code, matching your style and naming conventions. You can press the Tab key to quickly accept the suggestion, or you can reject the suggestion by simply continuing to write your own code.

Autocompletion by AI Assistant is improving every day, and we’re actively experimenting with new LLMs and context retrieval methods to deliver the best autocompletion experience.

Code autocompletion

Test generation

You can now easily generate meaningful tests for code segments. AI Assistant analyzes both your code and documentation to recommend tests that will provide insights into your code’s behavior. To run the tests, just approve these suggestions. 

This new feature helps you uncover edge cases and suspicious behavior in seconds, freeing up more time to craft new code.

Test generation

Translation into another programming language

With the new Convert File to Another Language action, you can effortlessly translate your code into a different programming language. The list of languages that are currently supported includes C++, C#, Go, Java, Kotlin, PHP, Python, Ruby, Rust, TypeScript, and more.

You can also convert any code copied and pasted into the editor to the language of the current or edited file by enabling this feature in the Settings | Tools | AI Assistant.

Conclusion

If you have access to AI Assistant, please try these new features and share your thoughts!

We value your feedback – whether you want to share a success story, a situation where AI Assistant fell a little short of your expectations, or even a suggestion for another scenario where AI Assistant could be beneficial.

You can tell us about your experience via the Share your feedback link in the AI Assistant tool window or by submitting feature requests or bug reports in the AI Assistant YouTrack project. 

We are working on making AI Assistant publicly available soon and granting access to users on the waitlist. If you don’t yet have access, we appreciate your patience. In the meantime, we would be happy to hear your thoughts on all of these features.

Thank you and stay tuned for more updates!

image description