Skip to content

there is no task option for building the active file by clang/clang++ on windows? #5697

@FischLu

Description

@FischLu

I am using windows and msys2 + clang, I would like to compile my cpp code by clang++ in vscode. However, there is only three options when I create tasks with following step:
press F1 -> input tasks: configure default build task
then the popup window has only three options without clang.
image

Of course I can select g++ and modify it to use clang, but if there is an option, that would be perfect. Is there a way I can create a custom task template by myself? Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    Language ServiceenhancementImprovement to an existing featurefixedCheck the Milestone for the release in which the fix is or will be available.quick fix

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions