Skip to content
代码片段 群组 项目
未验证 提交 3500833c 编辑于 作者: Jon Glassman's avatar Jon Glassman 提交者: GitLab
浏览文件

Merge branch 'jordanjanes-master-patch-1188' into 'master'

Add imports context to Code Suggestions docs

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/184063



Merged-by: default avatarJon Glassman <jglassman@gitlab.com>
Approved-by: default avatarMichael Angelo Rivera <arivera@gitlab.com>
Approved-by: default avatarLeala Smith <lsmith@gitlab.com>
Approved-by: default avatarJon Glassman <jglassman@gitlab.com>
Reviewed-by: default avatarLeala Smith <lsmith@gitlab.com>
Co-authored-by: default avatarJordan Janes <jjanes@gitlab.com>
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.
先完成此消息的编辑!
想要评论请 注册