mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 23:13:02 +01:00
Set printWidth to 100
This commit is contained in:
parent
8cc4272694
commit
966506278e
10 changed files with 885 additions and 1046 deletions
|
|
@ -21,14 +21,9 @@ export class WorkerManager {
|
|||
constructor(defaults: LanguageServiceDefaults) {
|
||||
this._defaults = defaults;
|
||||
this._worker = null;
|
||||
this._idleCheckInterval = window.setInterval(
|
||||
() => this._checkIfIdle(),
|
||||
30 * 1000
|
||||
);
|
||||
this._idleCheckInterval = window.setInterval(() => this._checkIfIdle(), 30 * 1000);
|
||||
this._lastUsedTime = 0;
|
||||
this._configChangeListener = this._defaults.onDidChange(() =>
|
||||
this._stopWorker()
|
||||
);
|
||||
this._configChangeListener = this._defaults.onDidChange(() => this._stopWorker());
|
||||
}
|
||||
|
||||
private _stopWorker(): void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue