-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.help wantedCan be fixed in the public (open source) repo.Can be fixed in the public (open source) repo.tasks/build/debugAn issue relating to tasks.json (e.g. build issues)An issue relating to tasks.json (e.g. build issues)
Milestone
Description
Type: General
- OS and Version: Arch Linux
- VS Code Version: Code-OSS 1.37.1
- C/C++ Extension Version: 0.25.1
When I open a folder in VS Code that does not yet have a .vscode folder in it, and follow the steps to create a configuration file for debugging (as outlined in #4278), the extension creates the file launch.json inside a newly-created .vscode folder, but it does not create the file tasks.json. Because of that, when trying to start debugging, this error appears:
Could not find the task 'g++ build active file'.
But if I go and delete the launch.json file, without deleting the .vscode folder, and perform the same steps again, everything works.
Additional context
The only files I have in the folder (initially) are a couple of .cpp files and their binaries.
Metadata
Metadata
Assignees
Labels
Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.help wantedCan be fixed in the public (open source) repo.Can be fixed in the public (open source) repo.tasks/build/debugAn issue relating to tasks.json (e.g. build issues)An issue relating to tasks.json (e.g. build issues)