AI Assistant
In JetBrains Fleet, you can get AI assistance in writing and understanding code, commits, and documentation. The AI feature suite is integrated with different tools, such as the editor, terminal, and Git tool.
Under the hood, JetBrains Fleet uses large language models through JetBrains AI Service. The AI features are provided free-of-charge during the preview phase. To start using them, you only have to log in using your JetBrains Account.
Log in
If you are using AI Assistant for the first time, open the AI Assistant tool, and click the Sign In button.
If you have already logged in, but want to change the account, use the Log in to JetBrains AI and Log out of JetBrains AI actions in the Go to Action dialog ⌘ ⇧ K.
After you have logged in, you can use the following features:
Inline AI prompt
To generate arbitrary code at the caret, press ⌘ ., type your request, then press ⏎.
Generate commit message
To generate a commit message for pending changes, select the changes to stage, then click the AI icon in the commit message field.
Explain commit
To explain the changes within a commit, right-click it in the Git History tool, then select Explain commit.
Generate documentation
Right-click the symbol, for which you want to generate documentation, then select
.
Chat with AI Assistant
Press ⌘ T, then select AI Assistant. This opens a tool, which you can use to ask AI Assistant questions in free-form text format.
Explain code
To get an explanation for an arbitrary piece of code, select it in the editor, then right-click it and select
from the context menu.
Assistance in the terminal
You can have AI Assistant write terminal commands for you. In the terminal, press ⌘ ., enter the request, and press ⏎. The prompt gets replaced with the generated command.
Data handling
JetBrains maintains a strict privacy policy with regard to user data. Pieces of project code and configuration may be shared with service providers such as OpenAI. JetBrains does not store your data, nor is it used for training of JetBrains' models.
For more information, refer to Terms of Use for the JetBrains AI service and our Privacy Policy.