SourceCraft uses the capabilities of AI models within Yandex. For this to work, some of your organization's data needs to be sent to Yandex. For more information, see the terms of use.
Code Assistant is an AI-driven developer assistant based on large language models (LLM)s. With Code Assistant, you can optimize the code writing process and increase your performance.
The smart autocompletion mode enables AI assistant to analyze the code context and come up with the most relevant suggestions for functions, cycles, conditions, and more.
Code Assistant also features a chat mode you can use to interact with the AI assistant in SourceCraft or your IDE interface.
To work with Code Assistant, you will need continuous internet access.
The code analysis is running using the SourceCraft computing resources, which means Code Assistant does not generate any load against the user workstations.
LLMs that are used in Code Assistant have been fine-tuned based on the open-source code corpus. The quality and number of autocompletion prompts depends on the amount and diversity of open-source code in a particular language.
Code autocompletion
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.
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.
Code Assistant supports the following types of suggestions:
Inline completion: Provides completion suggestions as you type. Works for code, texts, and documents.
Full-function completion: Provides autocompletion for entire functions or methods.
When generating a suggestion, the loading icon will appear to the left of the editable code. If generation stops or there is no result, you will see the (no suggestion) icon.
The suggestion indicator is enabled by default.
For more information on managing the suggestion indicator, see Suggestion indicator.