Skip to content
代码片段 群组 项目
未验证 提交 41abd894 编辑于 作者: Jordan Janes's avatar Jordan Janes 提交者: GitLab
浏览文件

Add imports context docs

上级 a0e77957
No related branches found
No related tags found
2 合并请求!3031Merge per-main-jh to main-jh by luzhiyuan,!3030Merge per-main-jh to main-jh
......@@ -251,6 +251,23 @@ that explain what you want to build:
- Code generation treats your code comments like chat.
- Your code comments update the `user_instruction`, and then improve the next results you receive.
### Using imported files as context
{{< history >}}
- [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/514124) in GitLab 17.9 [with a flag](../../../../administration/feature_flags.md) named `code_suggestions_include_context_imports`. Disabled by default.
{{< /history >}}
{{< alert type="flag" >}}
The availability of this feature is controlled by a feature flag.
For more information, see the history.
{{< /alert >}}
Use the imported files in your IDE to provide context about your code project. Imported file context is supported for JavaScript and TypeScript files, including [`js`], [`jsx`], [`ts`], [`tsx`], and [`vue`] file types.
## Truncation of file content
Because of LLM limits and performance reasons, the content of the currently
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册