Version 1.2
Steps:
Expand: Badly Formatted Code
//
// main.cpp
// clang-format-test
//
// Copyright © 2020 ak. All rights reserved.
//
#include <iostream>
int
main(int argc, const char* argv[])
{
// Long comment that must be broken down in multiple lines.
// insert code here... insert code here... insert code here... insert code here... insert code here... insert code here...
std::cout << "Hello, World!\n";
return 0;
}
- Try to format entire file, it won't respond at all.
- Change the style to one of the standards, it'll format.
Although v 1.1 crashed sometimes, it used to work with custom styles.
Version 1.2
Steps:
main.cpp. & select this style in XcodeClangFormat app.Expand: Badly Formatted Code
Although v 1.1 crashed sometimes, it used to work with custom styles.