Skip to content

solomno/copilot-instructions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

copilot-instructions

Copilot instructions to match code style Inspired by https://github.com/fielding/copilot-instructions

How to

  1. Clone the repository
  2. in vscode, set the following in settings.json
  "github.copilot.chat.experimental.codeGeneration.instructions" : [
    {
      "file": "/path/to/rootfolder/copilot-instructions/profiles/default/copilot-codegeneration.md"
    }
  ],
  "github.copilot.chat.experimental.codeFeedback.instructions": [
    {
      "file": "/path/to/rootfolder/copilot-instructions/profiles/default/copilot-codefeedback.md"
    }
  ],
  "github.copilot.chat.experimental.testGeneration.instructions": [
    {
      "file": "/path/to/rootfolder/copilot-instructions/profiles/default/copilot-testgeneration.md"
    }
  ],
  1. Copy the content which is relevant for you to use from the language folder to the defult profile file(s)
  • cat ./instructions/language/terraform/type/codegeneration/rules.md >> ./profiles/default/copilot-codegeneration.md

TODO - file needs to be placed in the same workspace as current editor, figure out how to deal with this in a scaleable fashion

About

Copilot instructions to match code style

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published