benoitsan / BBUncrustifyPlugin-Xcode

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

Edit Configuration uncrustify does not work #92

Closed TofPlay closed 9 years ago

TofPlay commented 9 years ago

Hi, xcode 6 2 - edit uncrustify configuration If I open and edit my uncrystify.cfg with UncrustifyX the new configuration does not apply when I save my sources. Regards Tof

benoitsan commented 9 years ago

If you edit a configuration with UncrustifyX, you need to export it in UncrustifyX to save the changes. It's not an issue related to this plugin. All the plugin does is opening a source file with a given configuration in UncrustifyX.

TofPlay commented 9 years ago

benoitsan: you need to export it in UncrustifyX to save the changes That's what I do of course!

benoitsan commented 9 years ago

I tested here and it works. It should work and I don't think it's related to plugin. Each time you uncrustify using the plugin the config is read from the configuration file. Make sure that the configuration file is modified after you change a setting in UncrustifyX.