Skip to content

Add a github.copilot.chat.codeGeneration.instructions setting for code completion and a copilot-instructions.md for better copilot chat answers #184

Description

@joshsedl

For some reason, I couldn't find a proper documentation for the codeGeneration.instructions, here is a video on this: https://youtu.be/zwIlqbTHjac?t=305. We basically want a "javascript-styles.md" and a "php-styles.md" documenting the Drupal coding standards. It can also interpret other files. Maybe we can also directly inject the drupal eslint file?

Custom instructions for the chat are documented though. See https://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot (The video also covers this a bit more in depth).

Note, that we won't recommend the copilot extension by default.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions