workspaced.com.dfmt

Undocumented in source.

Members

Functions

format
void format(AsyncCallback cb, string code, string[] arguments)

Will format the code passed in asynchronously.

hasConfigFolder
bool hasConfigFolder(string ver)
Undocumented in source. Be warned that the author may not have intended to support it.
start
void start(string dir, string dfmtPath)

Load function for dfmt. Call with {"cmd": "load", "components": ["dfmt"]} This will store the working directory and executable name for future use. Also it checks for the version. All dub methods are used with "cmd": "dfmt"

stop
void stop()

Unloads dfmt. Has no purpose right now.

Manifest constants

verRegex
enum verRegex;
Undocumented in source.

Meta