FAQ about SourceCraft Code Assistant

General questions about

What is the current name of the service?

The service is now part of SourceCraft. Therefore, the full name of Yandex Code Assistant has been changed to SourceCraft Code Assistant. However, its current features are still the same.

Code Assistant is now also available in the built-in SourceCraft code editor.

Does the service have any usage limitations?

To learn more about limitations, see Quotas in SourceCraft Code Assistant.

Which IDE versions are supported?

The Code Assistant plugin is now available for Visual Studio Code, VSCodium, and JetBrains IDE versions 2025.1, 2024.3, 2024.2, and 2024.1.

Do I need a Yandex Cloud billing account to work with Code Assistant?

You do not need a billing account.

Can I use the plugin without internet access?

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

How to change the user authenticated in the Code Assistant plugin

To authenticate in the Code Assistant plugin as another Yandex Cloud user, log out of your current account and re-authenticate as described in step 3 of Install and configure the plugin.

Error getting a refresh token

Error message:

Error refreshing token: no refresh token found

Your organization does not allow issuing refresh tokens used by Code Assistant for authentication. To work with Code Assistant, register in Yandex Cloud using your personal Yandex account and create a new organization.

Working in Visual Studio Code

Authentication error

Error message:

crypto is not defined

This is an error returned by the internal IDE library used for authentication in Yandex Cloud. To resolve this error, upgrade your Visual Studio Code version.

Below is an example of a Visual Studio Code build with the plugin support
Version: 1.92.2 (system setup)
Commit: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
Date: 2024-08-14T17:29:30.058Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.19045

See also How to find out your IDE version.

How to change the plugin interface language

The plugin interface language depends on the IDE interface language.

Using JetBrains IDE

The plugin does not start, there is a 404 error, suggestions from Code Assistant are not displayed

Try restarting the IDE.

The plugin installs incorrectly

The plugin is installed in the IDE as a ZIP archive. Do not unpack the archive you downloaded.

Some browsers, such as Safari on macOS, automatically unpack the downloaded archives. To download the plugin file exactly as an archive, right-click the link with the plugin, select Download Linked File As..., and click Save.

Error authenticating with the proxy

Error message:

Failed to authenticate with proxy

Check if the proxy server is enabled in the IDE. If it is, disable it and try authenticating again.

How to get IDE logs

If you want to resolve issues with Code Assistant through our support, make sure to prepare an IDE log file in advance:

  1. In the IDE top menu, click Help and select Show log in Explorer (Show Log in Finder for macOS).
  2. In the window that opens, copy the idea.log file and attach it to your support ticket.