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 badges1 Answer
Reset to default 0Option 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