served.commands.format

Undocumented in source.

Members

Functions

formatCode
string formatCode(string code, string[] dfmtArgs)
Undocumented in source. Be warned that the author may not have intended to support it.
formatSnippet
string formatSnippet(string code, string[] dfmtArgs, SnippetLevel level)
Undocumented in source. Be warned that the author may not have intended to support it.
generateDfmtArgs
string[] generateDfmtArgs(UserConfiguration config, EolType overrideEol)
Undocumented in source. Be warned that the author may not have intended to support it.
indentString
string indentString(FormattingOptions options)
Undocumented in source. Be warned that the author may not have intended to support it.
provideFormatting
TextEdit[] provideFormatting(DocumentFormattingParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
provideRangeFormatting
TextEdit[] provideRangeFormatting(DocumentRangeFormattingParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
tryFindFormattingSettings
void tryFindFormattingSettings(UserConfiguration config, Document document)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

ResolvedFormattingOptions
struct ResolvedFormattingOptions
Undocumented in source.

Variables

gFormattingOptions
ResolvedFormattingOptions gFormattingOptions;
Undocumented in source.
gFormattingOptionsApplyOn
string gFormattingOptionsApplyOn;
Undocumented in source.

Meta