最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Generating code using Copilot by providing reference of another project - Stack Overflow

programmeradmin1浏览0评论

Is there a way to generate code using VS Code Copilot chat extension by providing reference of another project? The coding standards, references used, design patterns should be inferred from the reference project provided. Are there any Copilot setting or extensions that can be used for this purpose?

Is there a way to generate code using VS Code Copilot chat extension by providing reference of another project? The coding standards, references used, design patterns should be inferred from the reference project provided. Are there any Copilot setting or extensions that can be used for this purpose?

Share Improve this question asked Mar 6 at 16:28 Praveen BalanagendraPraveen Balanagendra 531 silver badge8 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Option 1: Pay for Copilot Enterprise

This is the Knowledge Base feature for Copilot Enterprise, where you will set up a group of repositories and for every prompting it will go there bases RAG, read more here https://docs.github/en/enterprise-cloud@latest/copilot/customizing-copilot/managing-copilot-knowledge-bases

Option 2: MCP Server

Create your own MCP Server reference to any source, even GitLab, GitHub, Slack, Database and so on. This technique is quite new but you can try to setup any sources you want, for more details here https://github/modelcontextprotocol/servers

发布评论

评论列表(0)

  1. 暂无评论