@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

Name Type
languageId string
provider any

Returns

void