From f21f87ca4434bd6e019eb355bd7e465fbd5cff03 Mon Sep 17 00:00:00 2001 From: Arthur van de Vondervoort Date: Wed, 22 Apr 2026 18:06:28 +0200 Subject: [PATCH] feat: add IntelliSense for alcops.json settings files Register JSON Schema validation in package.json for alcops.json files, providing autocompletion, validation, and inline documentation. The schema is hosted in the Analyzers repo and referenced via GitHub raw URL. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- CHANGELOG.md | 5 +++++ package.json | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 94fdcc7..36fd7e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to the ALCops extension will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.3.1] - 2026-04-22 + +### Added +- IntelliSense support for `alcops.json` settings files (autocompletion, validation, documentation) via JSON Schema hosted in the Analyzers repository + ## [1.3.0] - 2026-04-17 ### Added diff --git a/package.json b/package.json index 38cd81d..5be1709 100644 --- a/package.json +++ b/package.json @@ -51,6 +51,15 @@ "title": "ALCops: Select Code Analyzers" } ], + "jsonValidation": [ + { + "fileMatch": [ + "alcops.json", + "ALCops.json" + ], + "url": "https://raw.githubusercontent.com/ALCops/Analyzers/main/src/ALCops.Common/Settings/alcops.schema.json" + } + ], "configuration": { "title": "ALCops", "properties": {