monaco-editor
monaco-editor copied to clipboard
[Feature Request] Add documentSelector to MonacoLspClient
Context
- [x] This issue is not a bug report. (please use a different template for reporting a bug)
- [x] This issue is not a duplicate of an existing issue. (please use the search to find existing issues)
Description
MonacoLspClient does not support documentSelector(like https://code.visualstudio.com/api/references/vscode-api#DocumentSelector).
This results that all models in monaco editor is synchronized by LSP and sends unnecessary change events to LSP servers.
Monaco Editor Playground Link
N/A
Monaco Editor Playground Code
N/A