---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://sourcecraft.dev/portal/docs/en/code-assistant/index.md
  - https://sourcecraft.dev/portal/docs/ru/code-assistant/index.md
title: Getting started with SourceCraft Code Assistant
description: Install the Code Assistant plugin for Visual Studio Code, VSCodium, and JetBrains IDE.
---
> **Documentation Index:** Fetch the complete configuration index at https://sourcecraft.dev/portal/docs/en/llms.txt


# Getting started with SourceCraft Code Assistant

<!-- source: en/_includes/code-assistant/disable-ai-features-note.md -->
{% note warning %}

SourceCraft uses the capabilities of AI models within Yandex. For this to work, some of your [organization's](https://sourcecraft.dev/portal/docs/en/sourcecraft/concepts/index.md#org) data needs to be sent to Yandex. For more information, see the [terms of use](https://yandex.com/legal/cloud_terms_code_assistant).

{% endnote %}
<!-- endsource: en/_includes/code-assistant/disable-ai-features-note.md -->

<!-- source: en/_includes/code-assistant/about-service.md -->
Code Assistant is an AI-driven developer assistant based on [large language models (LLM)s](https://en.wikipedia.org/wiki/Large_language_model). With Code Assistant, you can optimize the code writing process and increase your performance.

The [smart autocompletion](https://sourcecraft.dev/portal/docs/en/code-assistant/concepts/index.md#autocompletion) mode enables the AI assistant to analyze the code context and come up with the most relevant suggestions for functions, cycles, conditions, and other elements.

Code Assistant also features a [chat mode](https://sourcecraft.dev/portal/docs/en/code-assistant/concepts/index.md#chat) you can use to interact with the AI assistant in the SourceCraft interface, your IDE, or [SourceCraft CLI with built-in OpenCode](https://sourcecraft.dev/portal/docs/en/sourcecraft/operations/cli-quickstart.md).

[SourceCraft Code Assistant terms of use](https://yandex.com/legal/cloud_terms_code_assistant/)
<!-- endsource: en/_includes/code-assistant/about-service.md -->

{% note warning %}

<!-- source: en/_includes/code-assistant/supported-versions.md -->
The Code Assistant plugin is now available for [Visual Studio Code](https://code.visualstudio.com/), [VSCodium](https://vscodium.com/), and [JetBrains IDE](https://www.jetbrains.com/ides/) versions 2025.2, 2025.1, 2024.3, 2024.2, and 2024.1. {#supported-versions}
<!-- endsource: en/_includes/code-assistant/supported-versions.md -->

{% endnote %}

To get started:
1. [Get ready to work](#before-you-begin).
1. [Install and configure the plugin](#install-plugin).
1. [Test the plugin](#work-with-plugin).
1. [Manage the plugin](#manage-plugin).


## Getting started {#before-you-begin}

[Sign up](https://sourcecraft.dev/portal/docs/en/sourcecraft/security/registration.md) for SourceCraft.

## Install and configure the plugin {#install-plugin}

{% list tabs group=ide %}

- Visual Studio Code {#vscode}

  1. Download the <a href="https://storage.yandexcloud.net/sourcecraft-code-assistant/plugins/vscode/stable/yandex-cloud-code-assist.vsix" target="_blank" data-goal="CODEASSISTANT-DOWNLOAD-VSCODE-DOCS_CLICK">Code Assistant</a> plugin for [Visual Studio Code](https://code.visualstudio.com/).

      <!-- source: en/_includes/code-assistant/unable-to-download.md -->
      If you cannot download it for any reason, contact your system administrator so that they open network access to SourceCraft resources.
      <!-- endsource: en/_includes/code-assistant/unable-to-download.md -->

  1. Install the plugin:
      1. Open Visual Studio Code.
      1. Open **Command Palette** by pressing **Ctrl** + **Shift** + **P** for Windows or Linux or **Command** + **Shift** + **P** for macOS.
      1. Enter `Extensions: Install from VSIX...` and select the plugin file you downloaded before.

          The installation process will finish saying `Completed installing extension`.

      You can also install Code Assistant through the [Visual Studio Code CLI](https://code.visualstudio.com/docs/editor/command-line) using this command:

      ```bash
      code --install-extension <path_to_plugin>
      ```

  1. To get started with Code Assistant, get authenticated in SourceCraft:
      1. In the **No active session found. Log in please** pop-up window, click **Go to browser**.

          To re-authenticate in the plugin or log in as a different SourceCraft user, enter `>SourceCraft Code Assistant` in the top search bar. From the list that opens, select **SourceCraft Code Assistant: Login**.
      1. Allow Visual Studio Code to open the authentication page in your browser.
      1. In your browser, go to the SourceCraft [home page](https://sourcecraft.dev) and click **Open app** in the pop-up window.
      1. Go back to Visual Studio Code.

  If the plugin is enabled and ready to go, you will see <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><g fill="#000" clip-path="url(#svg-hjw5stg3__clip0_1068_334)"><path fill-rule="evenodd" d="M5.2 1A1.2 1.2 0 0 0 4 2.2v10.299a.5.5 0 0 0 .853.354L6.706 11H14.8A1.2 1.2 0 0 0 16 9.8V2.2A1.2 1.2 0 0 0 14.8 1H5.2Zm5.273 1.5L8 9.5h1.527L12 2.5h-1.527Z" clip-rule="evenodd"/><path d="M1.2 3H3v1H1.2a.2.2 0 0 0-.2.2v9.6c0 .11.09.2.2.2h11.6a.2.2 0 0 0 .2-.2V12h1v1.8a1.2 1.2 0 0 1-1.2 1.2H1.2A1.2 1.2 0 0 1 0 13.8V4.2A1.2 1.2 0 0 1 1.2 3Z"/></g><defs><clipPath id="svg-hjw5stg3__clip0_1068_334"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg> in the editor's bottom panel.

  Click this icon to view the username of the SourceCraft account authenticated in the plugin. You can find the username in the **Logged in as <username>** row of the list. If no user is authenticated, this row will be missing.

  ![image](../_assets/code-assistant/vsc-install-screen.png)

- JetBrains IDE {#jb}

  {% note info %}

  If you previously installed SourceCraft Code Assistant plugin for the JetBrains IDE from a downloadable ZIP archive, [uninstall the plugin](#remove-plugin) and reinstall it using the guide below.

  {% endnote %}

  1. Install the plugin:
      1. In the <a href="https://www.jetbrains.com/ides/" target="_blank" data-goal="CODEASSISTANT-GOTO-JB_CLICK">JetBrains IDE</a> interface, click <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M7.199 2H8.8a.2.2 0 0 1 .2.2c0 1.808 1.958 2.939 3.524 2.034a.2.2 0 0 1 .271.073l.802 1.388a.2.2 0 0 1-.073.272c-1.566.904-1.566 3.164 0 4.069a.2.2 0 0 1 .073.271l-.802 1.388a.2.2 0 0 1-.271.073C10.958 10.863 9 11.993 9 13.8a.2.2 0 0 1-.199.2H7.2a.2.2 0 0 1-.2-.2c0-1.808-1.958-2.938-3.524-2.034a.2.2 0 0 1-.272-.073l-.8-1.388a.2.2 0 0 1 .072-.271c1.566-.905 1.566-3.165 0-4.07a.2.2 0 0 1-.073-.27l.801-1.389a.2.2 0 0 1 .272-.072C5.042 5.138 7 4.007 7 2.199c0-.11.089-.199.199-.199M5.5 2.2c0-.94.76-1.7 1.699-1.7H8.8c.94 0 1.7.76 1.7 1.7a.85.85 0 0 0 1.274.735 1.7 1.7 0 0 1 2.32.622l.802 1.388c.469.813.19 1.851-.622 2.32a.85.85 0 0 0 0 1.472 1.7 1.7 0 0 1 .622 2.32l-.802 1.388a1.7 1.7 0 0 1-2.32.622.85.85 0 0 0-1.274.735c0 .939-.76 1.7-1.699 1.7H7.2a1.7 1.7 0 0 1-1.699-1.7.85.85 0 0 0-1.274-.735 1.7 1.7 0 0 1-2.32-.622l-.802-1.388a1.7 1.7 0 0 1 .622-2.32.85.85 0 0 0 0-1.471 1.7 1.7 0 0 1-.622-2.32l.801-1.389a1.7 1.7 0 0 1 2.32-.622A.85.85 0 0 0 5.5 2.2m4 5.8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0" clip-rule="evenodd"/></svg> in the upper right corner and select **Plugins...**.
      1. At the top of the plugin settings window that opens, click <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M7.199 2H8.8a.2.2 0 0 1 .2.2c0 1.808 1.958 2.939 3.524 2.034a.2.2 0 0 1 .271.073l.802 1.388a.2.2 0 0 1-.073.272c-1.566.904-1.566 3.164 0 4.069a.2.2 0 0 1 .073.271l-.802 1.388a.2.2 0 0 1-.271.073C10.958 10.863 9 11.993 9 13.8a.2.2 0 0 1-.199.2H7.2a.2.2 0 0 1-.2-.2c0-1.808-1.958-2.938-3.524-2.034a.2.2 0 0 1-.272-.073l-.8-1.388a.2.2 0 0 1 .072-.271c1.566-.905 1.566-3.165 0-4.07a.2.2 0 0 1-.073-.27l.801-1.389a.2.2 0 0 1 .272-.072C5.042 5.138 7 4.007 7 2.199c0-.11.089-.199.199-.199M5.5 2.2c0-.94.76-1.7 1.699-1.7H8.8c.94 0 1.7.76 1.7 1.7a.85.85 0 0 0 1.274.735 1.7 1.7 0 0 1 2.32.622l.802 1.388c.469.813.19 1.851-.622 2.32a.85.85 0 0 0 0 1.472 1.7 1.7 0 0 1 .622 2.32l-.802 1.388a1.7 1.7 0 0 1-2.32.622.85.85 0 0 0-1.274.735c0 .939-.76 1.7-1.699 1.7H7.2a1.7 1.7 0 0 1-1.699-1.7.85.85 0 0 0-1.274-.735 1.7 1.7 0 0 1-2.32-.622l-.802-1.388a1.7 1.7 0 0 1 .622-2.32.85.85 0 0 0 0-1.471 1.7 1.7 0 0 1-.622-2.32l.801-1.389a1.7 1.7 0 0 1 2.32-.622A.85.85 0 0 0 5.5 2.2m4 5.8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0" clip-rule="evenodd"/></svg> and select **Manage Plugin Repositories...**.
      1. In the window that opens, click <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M8 1.75a.75.75 0 0 1 .75.75v4.75h4.75a.75.75 0 0 1 0 1.5H8.75v4.75a.75.75 0 0 1-1.5 0V8.75H2.5a.75.75 0 0 1 0-1.5h4.75V2.5A.75.75 0 0 1 8 1.75" clip-rule="evenodd"/></svg>, enter `https://proxy.src.yandexcloud.net/proxy/plugin/jetbrains/stable` in the field that appears, and click **OK**.
      1. At the top of the settings window, go to the **Marketplace** tab and select the `SourceCraft Code Assistant` plugin. If required, use the search bar.
      1. Click **Install**.
      1. After installation is complete, click **OK**.

          If the plugin is installed successfully, you will see the **Code Assist plugin started** message in the IDE notification area.
      1. Restart the IDE.
  1. Enable automatic updates of the SourceCraft Code Assistant plugin: {#jb-auto-update}
      1. In the JetBrains IDE interface, click <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M7.199 2H8.8a.2.2 0 0 1 .2.2c0 1.808 1.958 2.939 3.524 2.034a.2.2 0 0 1 .271.073l.802 1.388a.2.2 0 0 1-.073.272c-1.566.904-1.566 3.164 0 4.069a.2.2 0 0 1 .073.271l-.802 1.388a.2.2 0 0 1-.271.073C10.958 10.863 9 11.993 9 13.8a.2.2 0 0 1-.199.2H7.2a.2.2 0 0 1-.2-.2c0-1.808-1.958-2.938-3.524-2.034a.2.2 0 0 1-.272-.073l-.8-1.388a.2.2 0 0 1 .072-.271c1.566-.905 1.566-3.165 0-4.07a.2.2 0 0 1-.073-.27l.801-1.389a.2.2 0 0 1 .272-.072C5.042 5.138 7 4.007 7 2.199c0-.11.089-.199.199-.199M5.5 2.2c0-.94.76-1.7 1.699-1.7H8.8c.94 0 1.7.76 1.7 1.7a.85.85 0 0 0 1.274.735 1.7 1.7 0 0 1 2.32.622l.802 1.388c.469.813.19 1.851-.622 2.32a.85.85 0 0 0 0 1.472 1.7 1.7 0 0 1 .622 2.32l-.802 1.388a1.7 1.7 0 0 1-2.32.622.85.85 0 0 0-1.274.735c0 .939-.76 1.7-1.699 1.7H7.2a1.7 1.7 0 0 1-1.699-1.7.85.85 0 0 0-1.274-.735 1.7 1.7 0 0 1-2.32-.622l-.802-1.388a1.7 1.7 0 0 1 .622-2.32.85.85 0 0 0 0-1.471 1.7 1.7 0 0 1-.622-2.32l.801-1.389a1.7 1.7 0 0 1 2.32-.622A.85.85 0 0 0 5.5 2.2m4 5.8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0" clip-rule="evenodd"/></svg> in the upper right corner and select **Settings...**.
      1. Go to **Appearance & Behavior** → **System Settings** → **Updates** and enable **Update plugins automatically**.
      1. Click **OK**.

  1. To get started with Code Assistant, get authenticated in SourceCraft:
      1. In the **SourceCraft Code Assistant OAuth** pop-up window, click **SourceCraft Code Assistant: Login**.

          To re-authenticate in the plugin or log in as a different SourceCraft user, click <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M11.5 7a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0m-.82 4.74a6 6 0 1 1 1.06-1.06l2.79 2.79a.75.75 0 1 1-1.06 1.06z" clip-rule="evenodd"/></svg> in the top right corner of the editor, enter `SourceCraft Code Assistant` in the window that opens, and select **SourceCraft Code Assistant: Login**.
      1. In your browser, open the SourceCraft [home page](https://sourcecraft.dev) page.
      1. Go back to the IDE.

  If the plugin is enabled and ready to go, you will see <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="none" viewBox="0 0 14 14"><path fill="#6C707E" fill-rule="evenodd" d="m4.375 12.906 1.969-1.75h4.703l1.269-6.344H14l-1.75 8.75H1.312l.482-2.406H3.28l1.094 1.75Z" clip-rule="evenodd"/><path fill="#6C707E" fill-rule="evenodd" d="m4.594 10.938 1.968-1.75h3.5l1.75-8.75H1.75L0 9.188h3.5l1.094 1.75Zm.437-3.063L8.97 1.75H6.78L2.844 7.875H5.03Z" clip-rule="evenodd"/></svg> in the editor's bottom panel.

  Click this icon to view the username of the SourceCraft account authenticated in the plugin. You can find the username in the **Logged in as <username>** line of the message you get. If no user is authenticated, the message will display **No Auth data**.

  ![image](../_assets/code-assistant/jb-install-screen.png)

  {% note tip %}

  If the plugin failed to start, or you do not see suggestions from Code Assistant, try restarting the IDE.

  {% endnote %}

{% endlist %}


## Test the plugin {#work-with-plugin}

{% note info %}

To work with Code Assistant, you will need continuous internet access.

{% endnote %}

<!-- source: en/_includes/code-assistant/instruction-autocompletion.md -->
<!-- source: en/_includes/code-assistant/syntax-support.md -->
The smart autocompletion mode explicitly supports code autocompletion for the following programming languages and frameworks:

* C++
* Go
* Java
* JavaScript/TypeScript
* Kotlin
* Python
* Scala
* SQL
* Swift

Autocompletion may also work for other languages. For languages ​​that are less represented in public repositories, the number and quality of autocompletion prompts will be lower.
<!-- endsource: en/_includes/code-assistant/syntax-support.md -->

## Use case {#examples}

In this example, we use the [_insert_](#insert) mode to revise the code, and then, the [_replace_](#replace) mode, which provides suggestions for the next lines based on the edits we made:

<iframe width="640" height="360" src="https://runtime.strm.yandex.ru/player/video/vplvc2ilmvxzsfk4bkmf?autoplay=0&mute=0" allow="autoplay; fullscreen; picture-in-picture; encrypted-media" frameborder="0" scrolling="no"></iframe>

Here, after we have changed the argument name, the _replace_ mode updates it accordingly in the other lines:

<iframe width="640" height="360" src="https://runtime.strm.yandex.ru/player/video/vplvnuo2g2jw2fjoybgf?autoplay=0&mute=0" allow="autoplay; fullscreen; picture-in-picture; encrypted-media" frameborder="0" scrolling="no"></iframe>

## Insert mode {#insert}

The _insert_ mode in Code Assistant can suggest the most suitable options to complete the current line or word.

<!-- source: en/_includes/code-assistant/auto-manual-modes.md -->
Code Assistant analyzes your code context and provides the following types of suggestions:
* Automatic.
* User-triggered (**Ctrl** + **Space**). In Visual Studio Code, you can also use **Ctrl** + **Enter**.
<!-- endsource: en/_includes/code-assistant/auto-manual-modes.md -->

1. Open the IDE and create a test file named `server.cpp` with the following contents:

    ```cpp
    // simple web-server to work with sockets

    #include <iostream>
    #include <string>
    #include <sys/socket.h>
    #include <netinet/in.h>
    #include <unistd.h>

    using namespace std;

    int main() {

    }
    ```

1. In the `int main()` section, start typing something, e.g., `//create socket`. See the Code Assistant suggestion:

    ```cpp
    ...
    int main() {

    //create socket
    int sockfd = socket(AF_INET, SOCK_STREAM, 0);

    }
    ```

1. Select an action for the suggestion:

    {% list tabs group=ide %}

    - Visual Studio Code {#vscode}

      <!-- source: en/_includes/code-assistant/actions-with-suggestions.md -->
      * Click **Tab** to accept the suggestion.
      * To start accepting the suggestion word by word, press **Ctrl** + **→** for Windows or Linux or **Command** + **→** for macOS.
      * To discard the suggestion, press **Esc**.
      <!-- endsource: en/_includes/code-assistant/actions-with-suggestions.md -->

      * If there are multiple suggestions, you can switch between them using **Alt** + **[** and **Alt** + **]** for Windows or Linux or **Option** + **[** and **Option** + **]** for macOS.

      ![image](../_assets/code-assistant/vsc-test-autocomplete-screen.png)

    - JetBrains IDE {#jb}

      * Click **Tab** to accept the suggestion.
      * To discard the suggestion, press **Esc**.

      ![image](../_assets/code-assistant/jb-test-autocomplete-screen.png)

    {% endlist %}

You can also watch our Code Assistant video tutorial [here](https://sourcecraft.dev/portal/code-assistant/).

## Replace mode {#replace}

The _replace_ mode in Code Assistant can suggest corrections and renaming options in the current file code based on the changes you have made.

1. Open the IDE and create a test file named `fibonacci.py` with the following contents:

   ```py
   def fibonacci(k):
       if k == 0:
           return 0
       elif k == 1:
           return 1
       else:
           return fibonacci(k-1) + fibonacci(k-2)
   
   print(fibonacci(10))
   ```

1. For example, change the variable name from `k` to `n`. See the Code Assistant corrections:

   ```py
   def fibonacci(n):
       if n == 0:
           return 0
       elif n == 1:
           return 1
       else:
           return fibonacci(n-1) + fibonacci(n-2)
   
   print(fibonacci(10))
   ```

   Code Assistant suggests corrections line by line. Move the cursor to the relevant line to see a correction from Code Assistant.

1. Select what to do with the suggestion:

   * Click **Tab** to accept the suggestion.
   * To discard the suggestion, press **Esc**.

The model takes code revision history into account. Depending on this history, the suggestions may vary significantly.
<!-- endsource: en/_includes/code-assistant/instruction-autocompletion.md -->

Also test [quick actions](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/quick-actions.md) and the plugin's performance in [agent mode](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/agent/chat-interface.md) in Visual Studio Code or [chat mode](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/chat.md) in the JetBRains IDE.

### Suggestion indicator {#help-indicator}

<!-- source: en/_includes/code-assistant/help-indicator.md -->
<!-- source: en/_includes/code-assistant/help-indicator-load.md -->
When generating a suggestion, the <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="#787878" d="M12 4a8 8 0 0 1 7.89 6.7 1.53 1.53 0 0 0 1.49 1.3 1.5 1.5 0 0 0 1.48-1.75 11 11 0 0 0-21.72 0A1.5 1.5 0 0 0 2.62 12a1.53 1.53 0 0 0 1.49-1.3A8 8 0 0 1 12 4Z"><animateTransform attributeName="transform" dur="1.5s" repeatCount="indefinite" type="rotate" values="0 12 12;360 12 12"/></path></svg> loading icon will appear to the left of the editable code. If generation stops or there is no result, you will see the <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="#787878" d="M7 14a.965.965 0 0 1-.712-.288A.972.972 0 0 1 6 13c0-.283.095-.52.288-.712A.97.97 0 0 1 7 12c.282 0 .52.096.713.288.193.192.289.43.287.712a.986.986 0 0 1-.288.713A.952.952 0 0 1 7 14ZM22 4v12.45a.968.968 0 0 1-.288.713.964.964 0 0 1-.712.287c-.25 0-.479-.083-.687-.25-.208-.167-.312-.417-.313-.75V4H7.275c-.333 0-.583-.104-.75-.312a1.071 1.071 0 0 1 0-1.375c.167-.207.417-.312.75-.313H20c.55 0 1.021.196 1.413.588.392.392.588.863.587 1.412Zm-5 7h-2.725c-.333 0-.583-.104-.75-.312a1.07 1.07 0 0 1 0-1.375c.167-.207.417-.312.75-.313H17c.283 0 .521.096.713.288.192.192.288.43.287.712 0 .283-.097.52-.288.713A.957.957 0 0 1 17 11ZM6 18l-2.3 2.3c-.317.317-.68.388-1.088.213-.409-.175-.613-.487-.612-.938V4.8l-.6-.6a.948.948 0 0 1-.275-.7.95.95 0 0 1 .275-.7.948.948 0 0 1 .7-.275.95.95 0 0 1 .7.275l18.4 18.4a.98.98 0 0 1 .288.688.925.925 0 0 1-.288.712.948.948 0 0 1-.7.275.948.948 0 0 1-.7-.275L15.15 18H6Zm1-7a.965.965 0 0 1-.712-.288A.972.972 0 0 1 6 10c0-.283.095-.52.288-.712A.97.97 0 0 1 7 9c.282 0 .52.096.713.288.193.192.289.43.287.712a.986.986 0 0 1-.288.713A.952.952 0 0 1 7 11Zm10-3h-6a.965.965 0 0 1-.712-.288A.973.973 0 0 1 10 7c0-.283.095-.52.288-.712A.97.97 0 0 1 11 6h6c.283 0 .521.096.713.288.192.192.288.43.287.712 0 .283-.097.52-.288.713A.957.957 0 0 1 17 8ZM4 6.8v10.325L5.15 16h8.05L4 6.8Z"/></svg> (no suggestion) icon.
<!-- endsource: en/_includes/code-assistant/help-indicator-load.md -->

The suggestion indicator is enabled by default.

To enable or disable the indicator:

{% list tabs group=ide %}

  - Visual Studio Code {#vscode}

    1. In the left-hand panel, click <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><g fill="#000" clip-path="url(#svg-zgsvvgty__clip0_1068_334)"><path fill-rule="evenodd" d="M5.2 1A1.2 1.2 0 0 0 4 2.2v10.299a.5.5 0 0 0 .853.354L6.706 11H14.8A1.2 1.2 0 0 0 16 9.8V2.2A1.2 1.2 0 0 0 14.8 1H5.2Zm5.273 1.5L8 9.5h1.527L12 2.5h-1.527Z" clip-rule="evenodd"/><path d="M1.2 3H3v1H1.2a.2.2 0 0 0-.2.2v9.6c0 .11.09.2.2.2h11.6a.2.2 0 0 0 .2-.2V12h1v1.8a1.2 1.2 0 0 1-1.2 1.2H1.2A1.2 1.2 0 0 1 0 13.8V4.2A1.2 1.2 0 0 1 1.2 3Z"/></g><defs><clipPath id="svg-zgsvvgty__clip0_1068_334"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>.
    1. In the panel that opens, select <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M7.199 2H8.8a.2.2 0 0 1 .2.2c0 1.808 1.958 2.939 3.524 2.034a.2.2 0 0 1 .271.073l.802 1.388a.2.2 0 0 1-.073.272c-1.566.904-1.566 3.164 0 4.069a.2.2 0 0 1 .073.271l-.802 1.388a.2.2 0 0 1-.271.073C10.958 10.863 9 11.993 9 13.8a.2.2 0 0 1-.199.2H7.2a.2.2 0 0 1-.2-.2c0-1.808-1.958-2.938-3.524-2.034a.2.2 0 0 1-.272-.073l-.8-1.388a.2.2 0 0 1 .072-.271c1.566-.905 1.566-3.165 0-4.07a.2.2 0 0 1-.073-.27l.801-1.389a.2.2 0 0 1 .272-.072C5.042 5.138 7 4.007 7 2.199c0-.11.089-.199.199-.199M5.5 2.2c0-.94.76-1.7 1.699-1.7H8.8c.94 0 1.7.76 1.7 1.7a.85.85 0 0 0 1.274.735 1.7 1.7 0 0 1 2.32.622l.802 1.388c.469.813.19 1.851-.622 2.32a.85.85 0 0 0 0 1.472 1.7 1.7 0 0 1 .622 2.32l-.802 1.388a1.7 1.7 0 0 1-2.32.622.85.85 0 0 0-1.274.735c0 .939-.76 1.7-1.699 1.7H7.2a1.7 1.7 0 0 1-1.699-1.7.85.85 0 0 0-1.274-.735 1.7 1.7 0 0 1-2.32-.622l-.802-1.388a1.7 1.7 0 0 1 .622-2.32.85.85 0 0 0 0-1.471 1.7 1.7 0 0 1-.622-2.32l.801-1.389a1.7 1.7 0 0 1 2.32-.622A.85.85 0 0 0 5.5 2.2m4 5.8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0" clip-rule="evenodd"/></svg> **Settings**.
    1. Navigate to **Autocompletion**.
    1. In the settings window that opens, enable or disable the **Code Assistant suggestion indicator** and **Code Assistant load indicator**.

    ![image](../_assets/code-assistant/vsc-settings-screen.png)

  - JetBrains IDE {#jb}

    1. In the top-right corner, click <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M7.199 2H8.8a.2.2 0 0 1 .2.2c0 1.808 1.958 2.939 3.524 2.034a.2.2 0 0 1 .271.073l.802 1.388a.2.2 0 0 1-.073.272c-1.566.904-1.566 3.164 0 4.069a.2.2 0 0 1 .073.271l-.802 1.388a.2.2 0 0 1-.271.073C10.958 10.863 9 11.993 9 13.8a.2.2 0 0 1-.199.2H7.2a.2.2 0 0 1-.2-.2c0-1.808-1.958-2.938-3.524-2.034a.2.2 0 0 1-.272-.073l-.8-1.388a.2.2 0 0 1 .072-.271c1.566-.905 1.566-3.165 0-4.07a.2.2 0 0 1-.073-.27l.801-1.389a.2.2 0 0 1 .272-.072C5.042 5.138 7 4.007 7 2.199c0-.11.089-.199.199-.199M5.5 2.2c0-.94.76-1.7 1.699-1.7H8.8c.94 0 1.7.76 1.7 1.7a.85.85 0 0 0 1.274.735 1.7 1.7 0 0 1 2.32.622l.802 1.388c.469.813.19 1.851-.622 2.32a.85.85 0 0 0 0 1.472 1.7 1.7 0 0 1 .622 2.32l-.802 1.388a1.7 1.7 0 0 1-2.32.622.85.85 0 0 0-1.274.735c0 .939-.76 1.7-1.699 1.7H7.2a1.7 1.7 0 0 1-1.699-1.7.85.85 0 0 0-1.274-.735 1.7 1.7 0 0 1-2.32-.622l-.802-1.388a1.7 1.7 0 0 1 .622-2.32.85.85 0 0 0 0-1.471 1.7 1.7 0 0 1-.622-2.32l.801-1.389a1.7 1.7 0 0 1 2.32-.622A.85.85 0 0 0 5.5 2.2m4 5.8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0" clip-rule="evenodd"/></svg> and select **Settings...**.
    1. In the left-hand column, select **SourceCraft Code Assistant**.
    1. Enable or disable **Disable suggest indicator**.
    1. To save the settings, click **Apply**.

    ![image](../_assets/code-assistant/jb-settings-screen.png)

{% endlist %}
<!-- endsource: en/_includes/code-assistant/help-indicator.md -->


## Manage the plugin {#manage-plugin}

### Enable or disable auto suggestions {#enable-disable-plugin}

You can enable or disable auto suggestions only in Visual Studio Code.

{% list tabs group=ide %}

- Visual Studio Code {#vscode}

  1. Click <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><g fill="#000" clip-path="url(#svg-v3ymcx2m__clip0_1068_334)"><path fill-rule="evenodd" d="M5.2 1A1.2 1.2 0 0 0 4 2.2v10.299a.5.5 0 0 0 .853.354L6.706 11H14.8A1.2 1.2 0 0 0 16 9.8V2.2A1.2 1.2 0 0 0 14.8 1H5.2Zm5.273 1.5L8 9.5h1.527L12 2.5h-1.527Z" clip-rule="evenodd"/><path d="M1.2 3H3v1H1.2a.2.2 0 0 0-.2.2v9.6c0 .11.09.2.2.2h11.6a.2.2 0 0 0 .2-.2V12h1v1.8a1.2 1.2 0 0 1-1.2 1.2H1.2A1.2 1.2 0 0 1 0 13.8V4.2A1.2 1.2 0 0 1 1.2 3Z"/></g><defs><clipPath id="svg-v3ymcx2m__clip0_1068_334"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg> in the Visual Studio Code bottom panel.
  1. In the list that opens, select <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M13.005 7.134 4.5 2.217a1 1 0 0 0-1.5.866v9.834a1 1 0 0 0 1.5.866l8.505-4.917a1 1 0 0 0 0-1.732m.751 3.03c1.665-.962 1.665-3.366 0-4.329L5.251.918C3.584-.045 1.5 1.158 1.5 3.083v9.834c0 1.925 2.084 3.128 3.751 2.164z" clip-rule="evenodd"/></svg> **Enable SourceCraft Code Assistant autocomplete** or <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M11.5 3h-7A1.5 1.5 0 0 0 3 4.5v7A1.5 1.5 0 0 0 4.5 13h7a1.5 1.5 0 0 0 1.5-1.5v-7A1.5 1.5 0 0 0 11.5 3m-7-1.5a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3z" clip-rule="evenodd"/></svg> **Disable SourceCraft Code Assistant autocomplete**.

  ![image](../_assets/code-assistant/vsc-autocomplete-screen.png)

{% endlist %}


### Update the plugin {#update-plugin}

{% list tabs group=ide %}

- Visual Studio Code {#vscode}

  Once you run the plugin, it will automatically check for an update and install it.

  To force an update, in the editor’s bottom panel, click <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><g fill="#000" clip-path="url(#svg-gyph8em4__clip0_1068_334)"><path fill-rule="evenodd" d="M5.2 1A1.2 1.2 0 0 0 4 2.2v10.299a.5.5 0 0 0 .853.354L6.706 11H14.8A1.2 1.2 0 0 0 16 9.8V2.2A1.2 1.2 0 0 0 14.8 1H5.2Zm5.273 1.5L8 9.5h1.527L12 2.5h-1.527Z" clip-rule="evenodd"/><path d="M1.2 3H3v1H1.2a.2.2 0 0 0-.2.2v9.6c0 .11.09.2.2.2h11.6a.2.2 0 0 0 .2-.2V12h1v1.8a1.2 1.2 0 0 1-1.2 1.2H1.2A1.2 1.2 0 0 1 0 13.8V4.2A1.2 1.2 0 0 1 1.2 3Z"/></g><defs><clipPath id="svg-gyph8em4__clip0_1068_334"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg> and select **Check For Updates** from the list that opens.

- JetBrains IDE {#jb}

  Once you run the plugin, it will automatically check for an update.

  If you did not [set up automatic plugin updates](#jb-auto-update), you can update it manually:

  1. In the top-right corner, click <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M7.199 2H8.8a.2.2 0 0 1 .2.2c0 1.808 1.958 2.939 3.524 2.034a.2.2 0 0 1 .271.073l.802 1.388a.2.2 0 0 1-.073.272c-1.566.904-1.566 3.164 0 4.069a.2.2 0 0 1 .073.271l-.802 1.388a.2.2 0 0 1-.271.073C10.958 10.863 9 11.993 9 13.8a.2.2 0 0 1-.199.2H7.2a.2.2 0 0 1-.2-.2c0-1.808-1.958-2.938-3.524-2.034a.2.2 0 0 1-.272-.073l-.8-1.388a.2.2 0 0 1 .072-.271c1.566-.905 1.566-3.165 0-4.07a.2.2 0 0 1-.073-.27l.801-1.389a.2.2 0 0 1 .272-.072C5.042 5.138 7 4.007 7 2.199c0-.11.089-.199.199-.199M5.5 2.2c0-.94.76-1.7 1.699-1.7H8.8c.94 0 1.7.76 1.7 1.7a.85.85 0 0 0 1.274.735 1.7 1.7 0 0 1 2.32.622l.802 1.388c.469.813.19 1.851-.622 2.32a.85.85 0 0 0 0 1.472 1.7 1.7 0 0 1 .622 2.32l-.802 1.388a1.7 1.7 0 0 1-2.32.622.85.85 0 0 0-1.274.735c0 .939-.76 1.7-1.699 1.7H7.2a1.7 1.7 0 0 1-1.699-1.7.85.85 0 0 0-1.274-.735 1.7 1.7 0 0 1-2.32-.622l-.802-1.388a1.7 1.7 0 0 1 .622-2.32.85.85 0 0 0 0-1.471 1.7 1.7 0 0 1-.622-2.32l.801-1.389a1.7 1.7 0 0 1 2.32-.622A.85.85 0 0 0 5.5 2.2m4 5.8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0" clip-rule="evenodd"/></svg> and select **Plugins...**.
  1. Select **SourceCraft Code Assistant**.
  1. If an update is available for the plugin, you will see the **Update** button. Click it.

{% endlist %}


### Log out of the SourceCraft profile {#logout}

To log out of your SourceCraft profile in the Code Assistant plugin:

{% list tabs group=ide %}

- Visual Studio Code {#vscode}

  In Visual Studio Code, there are two ways to log out of your profile:

  * In the editor’s bottom panel, click <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><g fill="#000" clip-path="url(#svg-q49yml18__clip0_1068_334)"><path fill-rule="evenodd" d="M5.2 1A1.2 1.2 0 0 0 4 2.2v10.299a.5.5 0 0 0 .853.354L6.706 11H14.8A1.2 1.2 0 0 0 16 9.8V2.2A1.2 1.2 0 0 0 14.8 1H5.2Zm5.273 1.5L8 9.5h1.527L12 2.5h-1.527Z" clip-rule="evenodd"/><path d="M1.2 3H3v1H1.2a.2.2 0 0 0-.2.2v9.6c0 .11.09.2.2.2h11.6a.2.2 0 0 0 .2-.2V12h1v1.8a1.2 1.2 0 0 1-1.2 1.2H1.2A1.2 1.2 0 0 1 0 13.8V4.2A1.2 1.2 0 0 1 1.2 3Z"/></g><defs><clipPath id="svg-q49yml18__clip0_1068_334"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg> and select **Logout** from the list that opens.

  * In the top search bar, enter `>SourceCraft Code Assistant`. From the list that appears, select **SourceCraft Code Assistant: Logout**.

- JetBrains IDE {#jb}

  In the top right corner of the editor, click <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M11.5 7a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0m-.82 4.74a6 6 0 1 1 1.06-1.06l2.79 2.79a.75.75 0 1 1-1.06 1.06z" clip-rule="evenodd"/></svg>, enter `SourceCraft Code Assistant` in the window that opens, and select **SourceCraft Code Assistant: Logout**.

  ![image](../_assets/code-assistant/jb-logout-screen.png)

{% endlist %}

To re-authenticate in the plugin, follow the instructions described in step 3 of [Install and configure the plugin](#install-plugin).


### Remove the plugin {#remove-plugin}

{% list tabs group=ide %}

- Visual Studio Code {#vscode}

  1. Open the list of installed plugins by pressing **Ctrl** + **Shift** + **X** for Windows or Linux or **Command** + **Shift** + **X** for macOS.
  1. In the SourceCraft Code Assistant row, click <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M7.199 2H8.8a.2.2 0 0 1 .2.2c0 1.808 1.958 2.939 3.524 2.034a.2.2 0 0 1 .271.073l.802 1.388a.2.2 0 0 1-.073.272c-1.566.904-1.566 3.164 0 4.069a.2.2 0 0 1 .073.271l-.802 1.388a.2.2 0 0 1-.271.073C10.958 10.863 9 11.993 9 13.8a.2.2 0 0 1-.199.2H7.2a.2.2 0 0 1-.2-.2c0-1.808-1.958-2.938-3.524-2.034a.2.2 0 0 1-.272-.073l-.8-1.388a.2.2 0 0 1 .072-.271c1.566-.905 1.566-3.165 0-4.07a.2.2 0 0 1-.073-.27l.801-1.389a.2.2 0 0 1 .272-.072C5.042 5.138 7 4.007 7 2.199c0-.11.089-.199.199-.199M5.5 2.2c0-.94.76-1.7 1.699-1.7H8.8c.94 0 1.7.76 1.7 1.7a.85.85 0 0 0 1.274.735 1.7 1.7 0 0 1 2.32.622l.802 1.388c.469.813.19 1.851-.622 2.32a.85.85 0 0 0 0 1.472 1.7 1.7 0 0 1 .622 2.32l-.802 1.388a1.7 1.7 0 0 1-2.32.622.85.85 0 0 0-1.274.735c0 .939-.76 1.7-1.699 1.7H7.2a1.7 1.7 0 0 1-1.699-1.7.85.85 0 0 0-1.274-.735 1.7 1.7 0 0 1-2.32-.622l-.802-1.388a1.7 1.7 0 0 1 .622-2.32.85.85 0 0 0 0-1.471 1.7 1.7 0 0 1-.622-2.32l.801-1.389a1.7 1.7 0 0 1 2.32-.622A.85.85 0 0 0 5.5 2.2m4 5.8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0" clip-rule="evenodd"/></svg> and select **Uninstall**.

  ![image](../_assets/code-assistant/vsc-uninstall-screen.png)

- JetBrains IDE {#jb}

  1. Open settings by pressing **Ctrl** + **Alt** + **S** for Windows or Linux or **Command** + **,** for macOS.
  1. Go to the **Plugins** section and select the SourceCraft Code Assistant plugin.
  1. In the plugin description section, click <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M2.97 5.47a.75.75 0 0 1 1.06 0L8 9.44l3.97-3.97a.75.75 0 1 1 1.06 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0l-4.5-4.5a.75.75 0 0 1 0-1.06" clip-rule="evenodd"/></svg> and select **Uninstall**.
  1. Confirm deletion and click **OK**.

  ![image](../_assets/code-assistant/jb-uninstall-screen.png)

{% endlist %}


#### Useful links {#see-also}

* [Code Assistant overview](https://sourcecraft.dev/portal/docs/en/code-assistant/concepts/index.md)
* [SourceCraft Code Assistant chat interface in the JetBrains IDE](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/chat.md)
* [Quick actions in SourceCraft Code Assistant](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/quick-actions.md)

#|
|| _The SourceCraft Code Assistant plugin for Visual Studio Code uses [Roo Code](https://roocode.com/)._

_Copyright 2025 Roo Code, Inc._

_[Apache-2.0 license](https://github.com/RooCodeInc/Roo-Code?tab=Apache-2.0-1-ov-file)_

_[Modified files](https://sourcecraft.dev/portal/docs/en/code-assistant/roo-modified-files.md)_ ||
|#

<!-- source: en/_includes/sourcecraft/yandex-project.md -->
_Project by Yandex© 2026 Yandex.Cloud LLC_
<!-- endsource: en/_includes/sourcecraft/yandex-project.md -->
