Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: pir on October 17, 2016, 03:31:24 pm

Title: Setting indent preprocessor conditionals in AStyle plugin does not work
Post by: pir on October 17, 2016, 03:31:24 pm
Hi

When I try to set "Indent preprocessor conditionals" in the AStyle Indentation property sheet under Settings -> Editor, I can check the box. But when I save, exit settings and run  AStyle, my code is not reformatted correctly. When I reopen the plugin configuration, "Indent preprocessor conditionals" is unchecked. In other words, my specified setting is not being saved.

I suspect this is a fairly simple oversight with the modified state not being properly saved on update.

CodeBlocks 16.01 on 64 bit Linux Mint Rosa.

FWIW: "Parentheses" is misspelt several times on the "Padding" property sheet.
Title: Re: Setting indent preprocessor conditionals in AStyle plugin does not work
Post by: oBFusCATed on October 17, 2016, 03:52:10 pm
This is reported here: https://sourceforge.net/p/codeblocks/tickets/352/ and it is already fixed in night builds.

The spelling I'll fix soon.