codebrainz / code-format

A code formatting plugin for Geany using ClangFormat.
GNU General Public License v2.0
12 stars 6 forks source link

customize .clang-format takes no effect #4

Open laoshaw opened 8 years ago

laoshaw commented 8 years ago

After code-format plugin is activated it works with default settings. Any customization to .clang-format takes no effect ( based on http://clang.llvm.org/docs/ClangFormatStyleOptions.html ), using geany 1.27-1 on ubuntu-1604-64bit. It seems geany/codeformat ignores .clang-format under the directory. Restart geany does not help either.

codebrainz commented 8 years ago

is the .clang-format file in the same directory as the file being edited? is there a project open?

laoshaw commented 8 years ago

tried both, the default is to put under topdir in the project, also tried in a non-project single file(.clang-format is in the same directory along with the file), still the same, it seems changes to .clang-format never took effect, or I missed something.

laoshaw commented 8 years ago

hold on, tried close the project and reopened the project now it seems working fine. odd