Making D Lang More easy.

Andrej Mitrovic andrej.mitrovich at gmail.com
Fri May 13 14:52:10 PDT 2011


And here is how I use uncrustify via a batch file:

"D:/Apps/UniversalIndentGUI_win32/indenters/uncrustify.exe"
--no-backup --replace %1 -c
"D:/Apps/UniversalIndentGUI_win32/indenters/uncrustify.cfg"

%1 is the filename, e.g. "C:/main.d", --no-backup means exactly what
it says, you might want to remove that to be safe.

You could easily make a key shortcut to invoke such a script, as long
as you can get the name of the currently opened file in whatever IDE
you're using.


More information about the Digitalmars-d mailing list