DfmtComponent.formatSync

Will format the code passed in synchronously. Might take a short moment on larger documents.

class DfmtComponent
string
formatSync
(
scope const(char)[] code
,
string[] arguments = []
)

Return Value

Type: string

the formatted code as string

Meta