File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 44 NotebookCell ,
55 NotebookCellStatusBarItem ,
66 NotebookCellStatusBarItemProvider ,
7+ NotebookDocumentChangeEvent ,
78 NotebookEdit ,
89 ProviderResult ,
910 QuickPickItem ,
@@ -55,6 +56,15 @@ export class SqlCellStatusBarProvider implements NotebookCellStatusBarItemProvid
5556 } )
5657 ) ;
5758
59+ // Refresh when any Deepnote notebook changes (e.g., metadata updated externally)
60+ this . disposables . push (
61+ workspace . onDidChangeNotebookDocument ( ( e : NotebookDocumentChangeEvent ) => {
62+ if ( e . notebook . notebookType === 'deepnote' ) {
63+ this . _onDidChangeCellStatusBarItems . fire ( ) ;
64+ }
65+ } )
66+ ) ;
67+
5868 // Register command to update SQL variable name
5969 this . disposables . push (
6070 commands . registerCommand ( 'deepnote.updateSqlVariableName' , async ( cell ?: NotebookCell ) => {
You can’t perform that action at this time.
0 commit comments