Skip to content

feat: add IntelliSense for alcops.json settings files#31

Merged
Arthurvdv merged 1 commit into
mainfrom
feat/alcops-json-intellisense
Apr 22, 2026
Merged

feat: add IntelliSense for alcops.json settings files#31
Arthurvdv merged 1 commit into
mainfrom
feat/alcops-json-intellisense

Conversation

@Arthurvdv

Copy link
Copy Markdown
Member

Summary

Add JSON Schema-based IntelliSense for alcops.json configuration files, giving users autocompletion, validation, and inline documentation when editing analyzer settings.

Changes

  • package.json — Add contributes.jsonValidation entry matching alcops.json and ALCops.json (case variants for Linux), pointing to the schema hosted in the Analyzers repo
  • CHANGELOG.md — Add entry under [Unreleased] > Added

How it works

VS Code's built-in JSON Language Features fetch the schema from:

https://raw.githubusercontent.com/ALCops/Analyzers/main/src/ALCops.Common/Settings/alcops.schema.json

No runtime code changes needed. This is purely a declarative package.json contribution.

Dependencies

⚠️ Merge ALCops/Analyzers#207 first — that PR adds the schema file. Until it's merged to main, the raw URL returns 404.

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>
@Arthurvdv Arthurvdv merged commit bf953b5 into main Apr 22, 2026
1 check passed
@Arthurvdv Arthurvdv deleted the feat/alcops-json-intellisense branch April 22, 2026 16:15
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