Skip to content
On this page

@bridge/monaco

Module that allows you to modify monaco's behaviors.

Functions

registerDocumentFormattingEditProvider

registerDocumentFormattingEditProvider(languageId, provider): void

Register a file formatter.

link https://microsoft.github.io/monaco-editor/api/modules/monaco.languages.html#registerdocumentformattingeditprovider

Parameters

NameType
languageIdstring
providerany

Returns

void

Released under the GPL-3.0 License.