Thanks to visit codestin.com
Credit goes to Github.com

Skip to content
This repository was archived by the owner on Aug 24, 2022. It is now read-only.
This repository was archived by the owner on Aug 24, 2022. It is now read-only.

Implement code formatting on save #21

@AlexGustafsson

Description

@AlexGustafsson

It would be nice to have code formatting before saving (or at least the ability to format the code via a command). On macOS clang-format comes installed alongside clangd when installing llvm through brew. To my knowledge it does on Ubuntu (and I'm sure it does on other distributions) as well via the package clang.

I guess the plugin could decide to use a default style such as llvm or google if none is defined in a .clang-format file.

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