Author Topic: Setting indent preprocessor conditionals in AStyle plugin does not work  (Read 2230 times)

Offline pir

  • Multiple posting newcomer
  • *
  • Posts: 48
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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Setting indent preprocessor conditionals in AStyle plugin does not work
« Reply #1 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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]