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.
No. To work with Code Assistant, you will need continuous internet access.
How do I change a user authenticated in Code Assistant
To authenticate in Code Assistant 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.
If you want to resolve issues with Code Assistant through our support, make sure to prepare an IDE log file in advance:
In the lower right corner of the IDE, click .
In the menu that opens, select Open Log.
In the right part of the panel that opens, click , select Save Output As and save the log to a file named sourcecraft-code-assist.log. Attach the file to your support ticket.
If you want to resolve issues with Code Assistant through our support, make sure to prepare an IDE log file in advance:
In top IDE menu, click Help and select Show Log in Explorer (Show Log in Finder for macOS).
In the window that opens, copy the idea.log file and attach it to your support ticket.
Working in Visual Studio Code
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
How to change the plugin interface language in Visual Studio Code
The plugin interface language depends on the IDE interface language.
Using JetBrains IDE
The plugin does not start in JetBrains IDE; 404 error; Code Assistant's suggestions not displayed
Try restarting the IDE.
The JetBrains IDE 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.
Proxy authentication error in JetBrains IDE
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.