From ec165d142539ddbd289da6242e2b2ffb5f8b9cf0 Mon Sep 17 00:00:00 2001 From: Alexandros Kritikos Date: Thu, 16 Apr 2026 15:50:19 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Adds=20VSCode=20configuration=20fil?= =?UTF-8?q?es=20for=20extensions=20and=20settings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Introduces new extensions.json and settings.json files to recommend useful VSCode extensions and configure JSON schemas, word wrap, and default formatters for XML files. This enhances the development environment for better productivity and consistency. --- .../copilot-commit-message-instructions.md | 19 +++++++++++ .vscode/extensions.json | 10 ++++++ .vscode/settings.json | 20 +++++++++++ Solution.code-workspace | 33 +++---------------- 4 files changed, 54 insertions(+), 28 deletions(-) create mode 100644 .github/copilot-commit-message-instructions.md create mode 100644 .vscode/extensions.json create mode 100644 .vscode/settings.json 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" + } + ] } }