dexed/docs/widgets_dfmt_commander.md

978 B

title header-includes
Widgets - DFMT Commander <script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.2.2/anchor.min.js"></script>

The Dfmt commander widget is a simple but complete interface for the D source code formater Dfmt. The background tool has to be build and installed in one of the PATH known by the operating system.

A property inspector allows to tweak the format. See the official documentation to learn more about the options.

  • : apply the formatting. The editor state is backed up before each formatting.
  • : restore the previous backup.

The formatting is applied in memory and can be undone either from the widget or from the code editor. The changes are not physically applied until the file is explicitly saved.