Skip to content

respect vscode setting insertSpaces when updating preset files via gui #2677

@david-fong

Description

@david-fong

Brief Issue Summary

Currently, when adding a new cmake preset via the gui action, the edits made to the CMakePresets.json file will always use spaces for indentation. It would be a nice quality of life feature if it either detected the indentation style by reading the file contents, or checked the vscode settings for insertSpaces to decide whether to use tabs or spaces.

CMake Tools Diagnostics

No response

Debug Log

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions