indent style for D

Timon Gehr timon.gehr at gmx.ch
Sun Jan 29 16:57:43 PST 2012


More practical than requiring all source files to be saved without 
formatting:

- Upon opening a file, the editor looks for a style sheet in the same 
directory. If there is no such style sheet, it automatically deduces the 
style from the code, falling back to the local preferences.

- Then it acts as you propose.

- And when saving, it automatically formats the source code in the 
deduced format.


More information about the Digitalmars-d mailing list