-
Notifications
You must be signed in to change notification settings - Fork 552
Description
Users commonly try to debug, build, scaffold or start a container with our Docker Tools when a folder or workspace is not currently open. It is important to note there shouldn't be a way to get into a debug path without having a folder open. This error should be repro'd.
Possible Scenario: The user selects a single python file and opens with VS Code. The user would be able to run this python script with a Python launch configuration. If the user tries to scaffold a dockerfile or build a docker image, they'll receive a prompt in the bottom right with text along the lines of "To build Docker files you must first open a folder or workspace in VS Code" because the user is not a part of a folder or workspace.
Issue: We are not providing a helpful pathway to correcting the problem. Instead we simply give them this popup:

Instead of giving the user the option to report an issue (which is used way too often for the magnitude of issue), I suggest we instead add a button with the same functionality as the one in VS Code.
This error affects the most customers by far. Over 3 thousand users have seen this error almost 5 thousand times in the past 60 days.
