Skip to content

Release 1.2.1#5

Merged
CodeforGood1 merged 8 commits into
CodeforGood1:mainfrom
Blackplane-Systems:main
May 11, 2026
Merged

Release 1.2.1#5
CodeforGood1 merged 8 commits into
CodeforGood1:mainfrom
Blackplane-Systems:main

Conversation

@CodeforGood1
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings May 11, 2026 09:45
@CodeforGood1 CodeforGood1 merged commit 1a22569 into CodeforGood1:main May 11, 2026
5 checks passed
Copy link
Copy Markdown

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

This PR prepares the VS Code extension for release 1.2.1 and introduces a new setting to control whether “scan on save” scans the saved file only or triggers a workspace scan.

Changes:

  • Add contractguard.scanOnSaveScope setting and update on-save behavior to honor it (currentFile vs workspace).
  • Bump extension version to 1.2.1 and update packaging output filename.
  • Update extension marketplace description text.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
vscode-src/extension.ts Reads scanOnSaveScope on save and schedules either a file scan or a workspace scan.
package.json Bumps version/description, adds the scanOnSaveScope configuration contribution, updates the package script output name.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json
Comment on lines +123 to +125
"default": "workspace",
"enum": ["workspace", "currentFile"],
"description": "What to scan after saving a file: the whole workspace or just the active file."
Comment thread package.json
"type": "string",
"default": "workspace",
"enum": ["workspace", "currentFile"],
"description": "What to scan after saving a file: the whole workspace or just the active file."
Comment thread vscode-src/extension.ts
if (scanOnSaveScope === 'currentFile') {
controller.scheduleFileScan(document.uri.fsPath);
return;
}
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.

2 participants