the fix open in designer menu item is not available after script is updated with newly added create table statements (#20522)

* make open in designer available after a script is updated with a new create table statement

* uppercase
This commit is contained in:
Kim Santiago
2022-08-31 15:39:53 -07:00
committed by GitHub
parent c738f9dfe9
commit fda2c37531
3 changed files with 47 additions and 5 deletions

View File

@@ -60,9 +60,9 @@ export class FileNode extends BaseProjectTreeItem {
const treeItem = new vscode.TreeItem(this.fileSystemUri, vscode.TreeItemCollapsibleState.None);
treeItem.command = {
title: 'Open file',
command: 'vscode.open',
arguments: [this.fileSystemUri]
title: 'Open file with file watcher',
command: 'sqlDatabaseProjects.openFileWithWatcher',
arguments: [this.fileSystemUri, this]
};
treeItem.contextValue = DatabaseProjectItemType.file;