Smart Indenter

The original author and current maintainer of the popular Smart Indenter add-in have graciously offered the latest version of their source code to the Rubberduck project. Thanks to Rob Bovey and Stephen Bullen, Rubberduck 2.0 has the smartest automagic indentation built-in.

...with all your favorite settings:

Rubberduck intenter settings

The Undo Indent feature is not implemented... but it's not needed either, because Rubberduck performs only two operations on code modules when indenting: it first deletes the content, then writes the indented code back in one single operation. The VBE's native undo shortcut (Ctrl+Z) is therefore not overwhelmed, and you can effectively undo indent by simply pressing Ctrl+Z twice.