Skip to content

Force clang-format selection (Feature request) #58

Description

@mnieber

In some files I turn off clang-format for the entire file using // clang-format off comments. In these cases, I may still want to format a selection of the file, which is tricky, because clang format selection has no effect due to // clang-format off. So I need to copy the selection, paste it in a different file, clang-format it there, and paste the result back in the original. file.

It would be nice if that could be automated with a new option: "Force clang-format selection"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions