JetBrains Fleet 1.42 Help

Chat with AI

Use the AI Assistant tool window to have a conversation with the LLM (Large Language Model), ask questions about your project, or iterate on a task.

AI Assistant takes into consideration the language and technologies used in your project, as well as local changes and version control system commits. You can search for files, classes, and element usages.

Start a new chat

  1. Click View | AI Assistant to open AI Assistant.

  2. In the input field, type your question and press to submit your query.

    If you have a piece of code selected in the editor tab, use /explain and /refactor commands to save time when typing your query.

  3. If you want to attach a particular file or function to your query to provide more context, use #:

    • #thisFile refers to the currently open file.

    • #localChanges refers to the uncommitted changes.

    • #file: invokes a popup with selection of files from the current project. You can select the necessary file from the popup or write the name of the file (for example, #file:Foo.md) .

    • #symbol: adds a symbol into prompt (for example, #symbol:FieldName).

    AI Assistant tool
  4. Click Regenerate this response at the beginning of the AI Assistant's answer to get a new response to your question.

Ask about the selected code or the opened file

  1. You can ask the AI Assistant questions about some particular code in your file or about all the code in the file.

    • Ask about This File: right-click any place in the opened file and navigate to AI Actions | Ask about This File. Alternatively, to open the popup with AI Assistant actions, press ⌥ ⏎.

      Ask about This File
    • Ask about This Code: select code in the file and navigate to AI Actions | Ask about This Code. Alternatively, to open the popup with AI Assistant actions, press ⌥ ⏎.

      Ask about This File
  2. In the query field, type your question about the code or file.

Last modified: 21 October 2024