mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 15:05:39 +01:00
Add DiagnosticsOptions.onlyVisible to limit computing diagnostics to only the visible text models
This commit is contained in:
parent
e9fb83dcb1
commit
22e7676a8c
3 changed files with 51 additions and 9 deletions
5
monaco.d.ts
vendored
5
monaco.d.ts
vendored
|
|
@ -143,6 +143,11 @@ declare namespace monaco.languages.typescript {
|
|||
noSemanticValidation?: boolean;
|
||||
noSyntaxValidation?: boolean;
|
||||
noSuggestionDiagnostics?: boolean;
|
||||
/**
|
||||
* Limit diagnostic computation to only visible files.
|
||||
* Defaults to false.
|
||||
*/
|
||||
onlyVisible?: boolean;
|
||||
diagnosticCodesToIgnore?: number[];
|
||||
}
|
||||
export interface WorkerOptions {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue