mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-27 17:23:21 -05:00
Fix intellisense for .NET Interactive SQL kernel (#19254)
This commit is contained in:
@@ -371,6 +371,19 @@ export class NotebookService extends Disposable implements INotebookService {
|
||||
return title;
|
||||
}
|
||||
|
||||
public getNotebookURIForCell(cellUri: URI): URI | undefined {
|
||||
for (let editor of this.listNotebookEditors()) {
|
||||
if (editor.cells) {
|
||||
for (let cell of editor.cells) {
|
||||
if (cell.cellUri === cellUri) {
|
||||
return editor.notebookParams.notebookUri;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
|
||||
private updateSQLRegistrationWithConnectionProviders() {
|
||||
// Update the SQL extension
|
||||
let sqlNotebookKernels = this._providerToStandardKernels.get(notebookConstants.SQL);
|
||||
|
||||
Reference in New Issue
Block a user