Extending code formatting on close brace/semicolon

Hello.

I've written an addon to perform some additional formatting my source code (per coding guidelines of my workplace) that works in code-cleanup. I would like to make some of those formattings available on close brace/semicolon formatting. Here are my questions:

1. Which attribute/interface do I need to implement in my addon?
2. Is it possible to override some existing formatting styles?

In my concrete case, I use "chop always" for "Wrap invocation parameters". I would like to make a change to have it ignore if length of parameters name is less than 4 characters, for example. So is it possible to do?

Thanks in advance,
Igal.

Please sign in to leave a comment.