mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[PR #540] [CLOSED] Propose the use of clang-format. #1369
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/540
Author: @DanilaFe
Created: 12/15/2016
Status: ❌ Closed
Base:
master← Head:propose-clang-format📝 Commits (2)
d22cfccCreate a hypothetical clang-format file.00a1e0fRemove extra, apparently useless configuration option.📊 Changes
1 file changed (+5 additions, -0 deletions)
View changed files
➕
.clang-format(+5 -0)📄 Description
Clang-format is an automatic code formatting tool.
It would greatly ease the creation of consistent code: it follows exactly the rules in the .clang-format file. Style changes would be as easily applied as editing the .clang-format file and re-running the clang-format command:
The file that I'm proposing is a draft that can be easily customized by the maintainers to fit the code style they wanted for the project: I attempted to configure it such that it was similar to what the style appeared to be before.
clang-formatis definitely a command line tool that works on macOS and Ubuntu, and to the best of my knowledge, it's also available as a Visual Studio plugin on Windows.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.