
Pressing the Generate Commit Message with AI Assistant button in the commit message dialog will send the diffs of your changes to the LLM, and it will generate a commit message describing your changes. Let the AI Assistant help you describe the changes you made. You can ask the AI Assistant to explain the selected code, suggest how it’s better to refactor the selected code fragment, or find potential problems.įor example, let’s ask the AI Assistant to help us find a bug in the test:Ĭode can be complex at first glance, so why not to ask the AI Assistant to explain it: To ask the AI about a specific code fragment, select it in the editor and invoke an action from the AI Actions… menu. Once you’re happy with the result, use Insert Snippet at Caret to put the AI-generated code in the editor, or just copy it over manually. So why not have a chat with it? Iterate in the new dedicated tool window. The AI Assistant prefers programming topics, benefits from project-specific context, and knows quite a bit. Let’s see how this can be applied to your C and C++ development with CLion! AI Chat You can find more information about the JetBrains AI service and tips on how to use any of the AI features in this blog post.

NET, include a major new feature: an AI Assistant.

But today we have something special! This week’s EAP builds for all IntelliJ-based IDEs, as well as our tools for. The CLion 2023.2 Early Access Program is up and running, bringing many of the exciting improvements and changes planned in our roadmap.
