chore: modernize .vscode/tasks.json to the 2.0.0 schema (#75)#77
Merged
Conversation
Replace the deprecated 0.1.0 task schema (isShellCommand, showOutput, top-level command/args) with a hand-written 2.0.0 npm task so VS Code stops auto-migrating the file and dropping tasks.json.old backups on every F5 launch. Update launch.json preLaunchTask from the old auto-derived "npm" name to the new "compile" label, and gitignore *.old as a guard against stray migration backups. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces the deprecated
"version": "0.1.0"task schema (isShellCommand,showOutput, top-levelcommand/args) with a clean, hand-written 2.0.0 tasks file, so VS Code stops auto-migrating.vscode/tasks.jsonand dropping atasks.json.oldbackup on every F5 launch.Changes
.vscode/tasks.json: rewritten as a 2.0.0npm-type task running thecompilescript (tsc -watch -p ./), withisBackground: trueand the$tsc-watchproblem matcher, exactly as sketched in the issue..vscode/launch.json:preLaunchTaskupdated from the old auto-derived"npm"name to the new"compile"label in both launch configs, so F5 / "Run Extension" still triggers the watch build..gitignore: added*.oldas a belt-and-suspenders guard against migration backup files (also fixed a missing trailing newline that was there before).Verification
scriptresolves to the existingcompileentry inpackage.json.tsc -p ./ --noEmitpasses.git check-ignoreconfirms.vscode/tasks.json.oldis now ignored.Closes #75
🤖 Generated with Claude Code