diff --git a/.github/copilot-commit-message-instructions.md b/.github/copilot-commit-message-instructions.md new file mode 100644 index 0000000..5dd3e0d --- /dev/null +++ b/.github/copilot-commit-message-instructions.md @@ -0,0 +1,19 @@ +Follow [gitmoji](https://gitmoji.dev) conventions. Use the **emoji character** (not the `:shortcode:`). + +## Format + +``` + + + + + +``` + +- Subject line under 72 characters. +- Third-person imperative mood ("Adds feature", not "Add feature" or "Added feature"). +- Do not end the subject with a period. +- Separate subject, body, and footer with blank lines. +- Body and footer are **optional** — only include when the subject alone isn't self-explanatory or when issues need linking. +- Body explains **what** changed and **why**. +- Footer links related issues (GitHub `Closes #N` / Jira `PROJ-N`). diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..bab6b6c --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,10 @@ +{ + "recommendations": [ + "EditorConfig.EditorConfig", + "mhutchie.git-graph", + "ms-dotnettools.csdevkit", + "ms-vscode-remote.remote-containers", + "seatonjiang.gitmoji-vscode", + "redhat.vscode-xml" + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..b271894 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,20 @@ +{ + "json.schemas": [ + { + "fileMatch": [ + "xunit.runner.json" + ], + "url": "https://xunit.net/schema/current/xunit.runner.schema.json" + }, + { + "fileMatch": [ + "stylecop.json" + ], + "url": "https://raw.githubusercontent.com/bjornhellander/NewStyleCopAnalyzers/refs/heads/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json" + } + ], + "editor.wordWrap": "on", + "[xml]": { + "editor.defaultFormatter": "redhat.vscode-xml" + } +} diff --git a/Solution.code-workspace b/Solution.code-workspace index 327618f..1355502 100644 --- a/Solution.code-workspace +++ b/Solution.code-workspace @@ -4,39 +4,16 @@ "path": "." } ], - "extensions": { - "recommendations": [ - "EditorConfig.EditorConfig", - "mhutchie.git-graph", - "ms-dotnettools.csdevkit", - "ms-vscode-remote.remote-containers", - "seatonjiang.gitmoji-vscode", - "redhat.vscode-xml" - ] - }, "settings": { "files.associations": { "nuget.config": "xml" }, - "json.schemas": [ - { - "fileMatch": [ - "xunit.runner.json" - ], - "url": "https://xunit.net/schema/current/xunit.runner.schema.json" - }, - { - "fileMatch": [ - "stylecop.json" - ], - "url": "https://raw.githubusercontent.com/bjornhellander/NewStyleCopAnalyzers/refs/heads/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json" - } - ], - "editor.wordWrap": "on", - "[xml]": { - "editor.defaultFormatter": "redhat.vscode-xml" - }, "xml.format.maxLineWidth": 0, "xml.format.splitAttributes": "preserve", + "github.copilot.chat.commitMessageGeneration.instructions": [ + { + "file": ".github/copilot-commit-message-instructions.md" + } + ] } }