Skip to content

Clean up environment if creation is cancelled midway. #20698

@karthiknadig

Description

@karthiknadig

Currently we use withProgress API to track the actual environment creation progress. But the cancellation from the notification should be handled better.

  1. Partial environment creation must be cleaned up for both venv and conda.
  2. CancellationError must be handled and exposed via command.

Metadata

Metadata

Assignees

Labels

area-environmentsFeatures relating to handling interpreter environmentsbugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions