benoitsan / BBUncrustifyPlugin-Xcode

Xcode plugin to format source code using ClangFormat or Uncrustify
MIT License
1.19k stars 150 forks source link

Plugin applies LLVM .clang-format on refactor -> rename #100

Closed ivan-golub closed 9 years ago

ivan-golub commented 9 years ago

When refactor-rename is performed, plugin tries to find .clang-format file in wrong folder. My preferences:

Here what Im getting in log.

Marker - Jun 24, 2015, 11:34:15 2015/06/24 11:34:35:941 Formatting using Clang Format at path “/Users/ivangolub/Library/Application Support/Developer/Shared/Xcode/Plug-ins/UncrustifyPlugin.xcplugin/Contents/Resources/clang-format“ with configuration at path “(null)“ 2015/06/24 11:34:35:964 Parser Warning: Can't find usable .clang-format, using LLVM style

benoitsan commented 9 years ago

Thanks. Fixed.