Skip to content

[Feature] Allow preset modification commands to target CMakeUserPresets.json as well #4564

@miss-programgamer

Description

@miss-programgamer

Request Overview

Like the title says, the commands that operate on CMakePresets.json can only operate on that one file despite CMakeUserPresets.json also being a desirable target for such modifications.

In particular, I would make it so that whichever file's text editor is focused when a relevant command is invoked becomes the target of that command. Furthermore, if neither variant of the presets file is focused, prompt the user to chose, provided both files are indeed present in the current project. Otherwise, just target whichever file the user did add to their project beforehand.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementan enhancement to the product that is either not present or an improvement to an existing feature

    Type

    No type

    Projects

    Status

    Blocked

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions