Skip to content

Instantly share code, notes, and snippets.

@digitarald
Last active October 20, 2024 19:50
Show Gist options
  • Save digitarald/e091aed3889eb5271d418b8bc07e0947 to your computer and use it in GitHub Desktop.
Save digitarald/e091aed3889eb5271d418b8bc07e0947 to your computer and use it in GitHub Desktop.
Personal Copilot Instructions for User Settings
{
"github.copilot.chat.experimental.codeGeneration.useInstructionFiles": true,
"github.copilot.chat.experimental.codeGeneration.instructions": [
{
"text": "Use concise one-liners when possible, but avoid sacrificing clarity for brevity."
},
{
"text": "Comment any generated code that has complex logic, especially around asynchronous operations or state management."
},
{
"text": "Always prefer interfaces over types for object shapes, unless it's a union or primitive.",
"language": "typescript"
},
{
// Optional planning details and todos for current task
"file": ".personal-notes.md"
}
],
// "github.copilot.chat.experimental.testGeneration.instructions": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment