dotnet / dotnet/vscode-csharp

Generating build/debug assets should not overwrite existing launch and tasks

Open
#3,403 2 comments 2 reactions 0 assignees View on GitHub
Bug Launch and Task Assets Triaged
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
18h 40m
Merged PRs (30d)
31

Description

Currently when generating build/debug assets for .NET Core projects, anything in launch.json and tasks.json will be overwritten. This can cause data loss and user confusion. Instead, the relevant launch and tasks should be added if missing, and if already present, prompted for overwriting.

The vscode-docker extension does this by checking the name of the launch/task. If another launch/task of the same name we're about to create exists, we will prompt if they want to overwrite.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.