Skip to content

Conversation

lukemurraynz
Copy link
Owner

This pull request updates the .vscode/settings.json file to introduce new configurations for managing chat-related files, enforce consistent file formatting, and provide guidelines for commit message generation.

New configurations for chat-related files:

  • Added settings for chat.modeFilesLocations, chat.promptFilesLocations, and chat.instructionsFilesLocations to manage chat-related files (chatmodes, prompts, and instructions).

File formatting improvements:

  • Enabled settings to enforce consistent end-of-line characters (\n), insert a final newline at the end of files, and trim trailing whitespace. Exceptions are made for Markdown files, where trailing whitespace is preserved, and formatting is applied on save.

Editor enhancements:

  • Configured a ruler at 100 characters to assist with code readability.

Commit message guidelines:

  • Added instructions for generating commit messages with a structured format, including classifications like CHORE:, FIX:, and BREAKING CHANGE:, as well as security and breaking change markers.

@Copilot Copilot AI review requested due to automatic review settings July 12, 2025 03:06
@lukemurraynz lukemurraynz merged commit 1fdffe2 into main Jul 12, 2025
1 check failed
@lukemurraynz lukemurraynz deleted the lukemurraynz-patch-2 branch July 12, 2025 03:06
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Updates the workspace settings to better manage chat-related files, enforce consistent formatting, and guide commit message generation.

  • Adds chat.modeFilesLocations, chat.promptFilesLocations, and chat.instructionsFilesLocations for chat file management.
  • Enforces LF line endings, final newline insertion, and trailing whitespace trimming (with Markdown exceptions) plus a 100-character ruler.
  • Defines Copilot commit message guidelines under github.copilot.chat.commitMessageGeneration.instructions.
Comments suppressed due to low confidence (3)

.vscode/settings.json:26

  • [nitpick] Consider aligning commit classification types with standard Conventional Commits (e.g., feat:, fix:, chore:) to ensure consistency with common workflows.
  "github.copilot.chat.commitMessageGeneration.instructions": [

.vscode/settings.json:2

  • The chat.modeFilesLocations, chat.promptFilesLocations, and chat.instructionsFilesLocations settings typically expect arrays or glob patterns rather than boolean flags. Please verify the extension's schema and update these configurations accordingly.
    "chat.modeFilesLocations": {

.vscode/settings.json:2

  • [nitpick] Indentation appears inconsistent with the rest of the file; align JSON keys to the project's two-space indent style for clarity and consistency.
    "chat.modeFilesLocations": {

Comment on lines +21 to +25
// "files.associations": {
// "*.chatmode.md": "markdown",
// "*.instructions.md": "markdown",
// "*.prompt.md": "markdown"
// },
Copy link
Preview

Copilot AI Jul 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Commented-out file associations could be removed or moved to documentation to reduce clutter and keep the settings file focused.

Suggested change
// "files.associations": {
// "*.chatmode.md": "markdown",
// "*.instructions.md": "markdown",
// "*.prompt.md": "markdown"
// },
// Removed the commented-out `files.associations` block to reduce clutter.

Copilot uses AI. Check for mistakes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant