Skip to content

cppbuild tasks should be able to detect the current file is not a source file #7892

@bobbrow

Description

@bobbrow

A common cause of compilation failure in the "build and debug active file" command/task is that the current file is not a C++ source file. Is it possible to check the active file when the task is run and see if it is a source file or not and warn the developer/abort the compilation?

Metadata

Metadata

Assignees

Labels

enhancementImprovement to an existing featurefixedCheck the Milestone for the release in which the fix is or will be available.tasks/build/debugAn issue relating to tasks.json (e.g. build issues)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions