Skip to content

Releases: mapbox/XcodeClangFormat

v1.2.1

15 Jul 16:46
Compare
Choose a tag to compare
  • Fixed an issue with .clang-format files that didn't contain a BasedOnStyle rule (#45)

v1.2.0

19 Jun 18:18
Compare
Choose a tag to compare
  • Fixed a crash with custom format styles (#37)
  • Use a heuristic to distinguish Objective-C headers from plain C headers (#39)
  • Correctly compute offsets when text contains non-ASCII characters (#40)
  • Classify Objective-C++ as Objective-C for clang-format's purposes (#41)

v1.1.0

19 May 13:11
Compare
Choose a tag to compare
  • Upgraded Clang to 10.0.0
  • Fixed configure script to work in directories that contain spaces
  • Added detection of source code type: clang-format can now apply different formatting to C/C++, Objective-C/C++, Java and JavaScript
  • Changed patch application to individual lines rather than replacing the whole buffer. This preserves selections and breakpoints much better. Note that they are still removed in situations, e.g. when the code around the breakpoint is changed.
  • Added command to format the entire file, rather than just the selection
  • Renamed the existing command to "Format Selection". This means you'll have to change your shortcut definitions

1.0.0

13 Sep 09:24
Compare
Choose a tag to compare
v1.0.0

Initial Commit