benoitsan / BBUncrustifyPlugin-Xcode

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

Plugin Can't Find My Uncrustify Config #79

Closed sethfri closed 9 years ago

sethfri commented 9 years ago

I used the plugin to create an uncrustify.cfg in the root of my project directory (on the same level as my *.xcodeproj). However, when I go to Edit > Format Code > Edit Uncrusify Configuration, I get a "Configuration File Not Found" error. Additionally, no changes I make to the config seem to actually get made when I try to format on save (though some rules miraculously get applied whether I have a config or not...seems like a separate issue).

benoitsan commented 9 years ago

It works here. Could you try to do Edit > Format Code > Edit Uncrusify Configuration with this sample project http://cl.ly/Z9xc

If it doesn't work with the sample project, we will look to find the issue.

PS: it's not miraculously applied, if no custom config is found, the plugin uses his own config file (there is a default config file in the plugin bundle).

sethfri commented 9 years ago

Must have been some sort of fluke. It seems to be working fine now! Thanks!