mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-21 17:22:55 -05:00
Enable status bar for notebooks (#14817)
* enable status bar for notebooks * add onCellExecutionStart event to notebook service * fix test, change var name
This commit is contained in:
@@ -108,6 +108,7 @@ export class NotebookService extends Disposable implements INotebookService {
|
||||
private _isRegistrationComplete = false;
|
||||
private _trustedCacheQueue: URI[] = [];
|
||||
private _unTrustedCacheQueue: URI[] = [];
|
||||
private _onCodeCellExecutionStart: Emitter<void> = new Emitter<void>();
|
||||
|
||||
constructor(
|
||||
@ILifecycleService lifecycleService: ILifecycleService,
|
||||
@@ -639,4 +640,12 @@ export class NotebookService extends Disposable implements INotebookService {
|
||||
|
||||
return isTrusted;
|
||||
}
|
||||
|
||||
get onCodeCellExecutionStart(): Event<void> {
|
||||
return this._onCodeCellExecutionStart.event;
|
||||
}
|
||||
|
||||
notifyCellExecutionStarted(): void {
|
||||
this._onCodeCellExecutionStart.fire();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user