mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-11 10:38:31 -05:00
Add saved and executed events to notebook changed (#5848)
- Updated the notebook API to add a change kind, and support saved, executed and other simplified status - Plumbed this through to the main thread classes - Support sending the events from cell / input to the notebook model so they loop over the extension host as a content changed event - Add executed event from the cell
This commit is contained in:
11
src/sql/azdata.proposed.d.ts
vendored
11
src/sql/azdata.proposed.d.ts
vendored
@@ -4430,10 +4430,17 @@ declare module 'azdata' {
|
||||
*/
|
||||
cells: NotebookCell[];
|
||||
/**
|
||||
* The [change kind](#TextEditorSelectionChangeKind) which has triggered this
|
||||
* The [change kind](#NotebookChangeKind) which has triggered this
|
||||
* event. Can be `undefined`.
|
||||
*/
|
||||
kind?: vscode.TextEditorSelectionChangeKind;
|
||||
kind?: NotebookChangeKind;
|
||||
}
|
||||
|
||||
export enum NotebookChangeKind {
|
||||
ContentUpdated = 0,
|
||||
MetadataUpdated = 1,
|
||||
Save = 2,
|
||||
CellExecuted = 3
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user