File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
packages/jupyterlab-lsp/src Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -344,11 +344,11 @@ export abstract class JupyterLabWidgetAdapter
344
344
return ;
345
345
}
346
346
347
- console . log (
348
- 'LSP: virtual document' ,
349
- virtual_document . id_path ,
350
- 'has changed sending update'
351
- ) ;
347
+ // console.log(
348
+ // 'LSP: virtual document',
349
+ // virtual_document.id_path,
350
+ // 'has changed sending update'
351
+ // );
352
352
connection . sendFullTextChange (
353
353
virtual_document . value ,
354
354
virtual_document . document_info
Original file line number Diff line number Diff line change @@ -311,6 +311,8 @@ namespace Private {
311
311
serverUri : uris . server ,
312
312
rootUri : uris . base
313
313
} ) ;
314
+ // TODO: remove remaining unbounded users of connection.on
315
+ connection . setMaxListeners ( 999 ) ;
314
316
_connections . set ( language , connection ) ;
315
317
connection . connect ( socket ) ;
316
318
onCreate ( connection ) ;
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ export abstract class VirtualEditor implements CodeMirror.Editor {
132
132
* @param fn - the callback to execute in update lock
133
133
*/
134
134
public async with_update_lock ( fn : Function ) {
135
- this . console . log ( 'Will enter update lock with' , fn ) ;
135
+ // this.console.log('Will enter update lock with', fn);
136
136
await until_ready ( ( ) => this . can_update ( ) , 12 , 10 ) . then ( ( ) => {
137
137
try {
138
138
this . update_lock = true ;
You can’t perform that action at this time.
0 commit comments