Port cell hover fix and new Interactive extension metadata additions to release branch. (#19096)

* Only update hover execution state if cell is not active. (#19073)

* Add .NET Interactive extension info to product.json. (#19069)
This commit is contained in:
Cory Rivera
2022-04-14 13:09:06 -07:00
committed by GitHub
parent 58d6b22263
commit 85983140cc
2 changed files with 8 additions and 2 deletions

View File

@@ -61,6 +61,7 @@
"Microsoft.sql-database-projects",
"Microsoft.sql-migration",
"Microsoft.machine-learning",
"Microsoft.dotnet-interactive-vscode",
"Redgate.sql-prompt",
"Redgate.sql-search",
"SentryOne.plan-explorer"
@@ -76,7 +77,9 @@
"ms-vscode.remotehub",
"ms-vscode.remotehub-insiders",
"GitHub.remotehub",
"GitHub.remotehub-insiders"
"GitHub.remotehub-insiders",
"ms-dotnettools.dotnet-interactive-vscode",
"ms-toolsai.jupyter"
],
"extensionsGallery": {
"version": "0.0.76",

View File

@@ -287,7 +287,10 @@ export class CellModel extends Disposable implements ICellModel {
public set hover(value: boolean) {
this._hover = value;
this.fireExecutionStateChanged();
// The Run button is always visible while the cell is active, so we only need to emit this event for inactive cells
if (!this.active) {
this.fireExecutionStateChanged();
}
}
public get executionCount(): number | undefined {