From afc63515092ee889b303f377d13c8d2a70c8728e Mon Sep 17 00:00:00 2001 From: Lorenz Hilpert Date: Wed, 17 Sep 2025 11:50:03 +0200 Subject: [PATCH] chore: disable markdown format on save in VSCode settings Added formatOnSave: false for markdown files to prevent automatic formatting that may conflict with document structure preferences. --- .vscode/settings.json | 197 +++++++++++++++++++++--------------------- 1 file changed, 100 insertions(+), 97 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 1a198cb36..7b6593a5e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,97 +1,100 @@ -{ - "editor.accessibilitySupport": "off", - "typescript.tsdk": "node_modules/typescript/lib", - "exportall.config.exclude": [".test.", ".spec.", ".stories."], - "editor.formatOnSave": true, - "editor.defaultFormatter": "esbenp.prettier-vscode", - "eslint.validate": [ - "json" - ], - "[html]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, - "[typescript]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, - "[typescriptreact]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, - "exportall.config.folderListener": [ - "/libs/oms/data-access/src/lib/models", - "/libs/oms/data-access/src/lib/schemas", - "/libs/catalogue/data-access/src/lib/models", - "/libs/common/data-access/src/lib/models", - "/libs/common/data-access/src/lib/error", - "/libs/oms/data-access/src/lib/errors/return-process" - ], - "github.copilot.chat.commitMessageGeneration.instructions": [ - { - "file": ".github/commit-instructions.md" - } - ], - "github.copilot.chat.codeGeneration.instructions": [ - { - "file": ".vscode/llms/angular.txt" - }, - { - "file": "docs/tech-stack.md" - }, - { - "file": "docs/guidelines/code-style.md" - }, - { - "file": "docs/guidelines/project-structure.md" - }, - { - "file": "docs/guidelines/state-management.md" - }, - { - "file": "docs/guidelines/testing.md" - } - ], - "github.copilot.chat.testGeneration.instructions": [ - { - "file": ".github/testing-instructions.md" - }, - { - "file": "docs/tech-stack.md" - }, - { - "file": "docs/guidelines/code-style.md" - }, - { - "file": "docs/guidelines/testing.md" - } - ], - "github.copilot.chat.reviewSelection.instructions": [ - { - "file": ".github/copilot-instructions.md" - }, - { - "file": ".github/review-instructions.md" - }, - { - "file": "docs/tech-stack.md" - }, - { - "file": "docs/guidelines/code-style.md" - }, - { - "file": "docs/guidelines/project-structure.md" - }, - { - "file": "docs/guidelines/state-management.md" - }, - { - "file": "docs/guidelines/testing.md" - } - ], - "nxConsole.generateAiAgentRules": true, - "chat.mcp.discovery.enabled": { - "claude-desktop": true, - "windsurf": true, - "cursor-global": true, - "cursor-workspace": true - }, - "chat.mcp.access": "all" -} +{ + "editor.accessibilitySupport": "off", + "typescript.tsdk": "node_modules/typescript/lib", + "exportall.config.exclude": [".test.", ".spec.", ".stories."], + "editor.formatOnSave": true, + "editor.defaultFormatter": "esbenp.prettier-vscode", + "eslint.validate": [ + "json" + ], + "[html]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[typescript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[typescriptreact]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[markdown]": { + "editor.formatOnSave": false + }, + "exportall.config.folderListener": [ + "/libs/oms/data-access/src/lib/models", + "/libs/oms/data-access/src/lib/schemas", + "/libs/catalogue/data-access/src/lib/models", + "/libs/common/data-access/src/lib/models", + "/libs/common/data-access/src/lib/error", + "/libs/oms/data-access/src/lib/errors/return-process" + ], + "github.copilot.chat.commitMessageGeneration.instructions": [ + { + "file": ".github/commit-instructions.md" + } + ], + "github.copilot.chat.codeGeneration.instructions": [ + { + "file": ".vscode/llms/angular.txt" + }, + { + "file": "docs/tech-stack.md" + }, + { + "file": "docs/guidelines/code-style.md" + }, + { + "file": "docs/guidelines/project-structure.md" + }, + { + "file": "docs/guidelines/state-management.md" + }, + { + "file": "docs/guidelines/testing.md" + } + ], + "github.copilot.chat.testGeneration.instructions": [ + { + "file": ".github/testing-instructions.md" + }, + { + "file": "docs/tech-stack.md" + }, + { + "file": "docs/guidelines/code-style.md" + }, + { + "file": "docs/guidelines/testing.md" + } + ], + "github.copilot.chat.reviewSelection.instructions": [ + { + "file": ".github/copilot-instructions.md" + }, + { + "file": ".github/review-instructions.md" + }, + { + "file": "docs/tech-stack.md" + }, + { + "file": "docs/guidelines/code-style.md" + }, + { + "file": "docs/guidelines/project-structure.md" + }, + { + "file": "docs/guidelines/state-management.md" + }, + { + "file": "docs/guidelines/testing.md" + } + ], + "nxConsole.generateAiAgentRules": true, + "chat.mcp.discovery.enabled": { + "claude-desktop": true, + "windsurf": true, + "cursor-global": true, + "cursor-workspace": true + }, + "chat.mcp.access": "all" +}