Skip to content

Labour boa#21

Merged
sighanse merged 19 commits intomainfrom
labour-boa
May 1, 2026
Merged

Labour boa#21
sighanse merged 19 commits intomainfrom
labour-boa

Conversation

@sighanse
Copy link
Copy Markdown
Owner

@sighanse sighanse commented May 1, 2026

Description

Adds a “Fix All Issues” workflow to the OtterScript VS Code extension and tightens project/release hygiene (manifest, linting, and docs) to support the new diagnostics-related functionality.

Changes:

Added a helper to normalize vscode.Diagnostic.code handling (string/number vs { value, target }).
Introduced an otterscript.fixAll command (plus keybinding + menus) to apply all available quick-fixes in one edit/undo step.
Updated extension metadata/docs and strengthened lint/CI configuration (ESLint cache + CI lint script, packaging ignores, changelog updates).

Area(s) affected

  • Grammar (tmLanguage)
  • Completion
  • Hover / docs
  • Snippets
  • Diagnostics
  • Language Data (src/language-data.js)
  • Documentation
  • Other

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate)

Copilot AI review requested due to automatic review settings May 1, 2026 17:46
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

Adds a “Fix All Issues” workflow to the OtterScript VS Code extension and tightens project/release hygiene (manifest, linting, and docs) to support the new diagnostics-related functionality.

Changes:

  • Added a helper to normalize vscode.Diagnostic.code handling (string/number vs { value, target }).
  • Introduced an otterscript.fixAll command (plus keybinding + menus) to apply all available quick-fixes in one edit/undo step.
  • Updated extension metadata/docs and strengthened lint/CI configuration (ESLint cache + CI lint script, packaging ignores, changelog updates).

Reviewed changes

Copilot reviewed 13 out of 14 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
src/helpers.js Adds getDiagnosticCode() helper and exports it for reuse.
src/extension.js Uses getDiagnosticCode() in code actions; adds the otterscript.fixAll command and registers it for disposal.
package.json Adds the command contribution, keybinding, menus, and CI lint script; adjusts manifest metadata.
eslint.config.cjs Expands ESLint ruleset and adds global ignores.
README.md Links the license text to LICENSE.
CHANGELOG.md Adds a 0.2.1 section and details the new command and diagnostics changes.
.vscodeignore Updates packaged-file ignore patterns (including lint cache, maps, and metadata files).
.gitignore Ignores .eslintcache.
.github/workflows/sanity.yml Switches workflow lint step to lint:ci.
.github/dependabot.yml Refines grouping/update-type behavior for Dependabot.
.github/copilot-instructions.md Adds extension-host best-practice review guidance.
.github/ISSUE_TEMPLATE/config.yml Adds/clarifies issue template links.
.github/ISSUE_TEMPLATE/bug_report.md Updates template “about” text.
.gitattributes Enforces LF line endings via attributes.

Comment thread src/helpers.js Outdated
Comment thread src/extension.js
Comment thread src/extension.js Outdated
Comment thread package.json Outdated
Comment thread CHANGELOG.md
@sighanse sighanse merged commit a7b257e into main May 1, 2026
8 checks passed
@sighanse sighanse deleted the labour-boa branch May 1, 2026 18:44
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