Skip to content

MappedEditsProvider

原文链接

https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.MappedEditsProvider.html

ts
interface MappedEditsProvider {
    provideMappedEdits(document, codeBlocks, context, token): Promise<WorkspaceEdit>;
}

provideMappedEdits