minor cleanups to hide extra tree items and command that are not required (#12038)

This commit is contained in:
Udeesha Gautam
2020-09-01 09:38:21 -07:00
committed by GitHub
parent 53081cfca9
commit 3c6796938d
2 changed files with 6 additions and 1 deletions

View File

@@ -225,6 +225,10 @@
{
"command": "sqlDatabaseProjects.openContainingFolder",
"when": "false"
},
{
"command": "sqlDatabaseProjects.exclude",
"when": "false"
}
],
"view/item/context": [

View File

@@ -37,7 +37,8 @@ export class ProjectRootTreeItem extends BaseProjectTreeItem {
public get children(): BaseProjectTreeItem[] {
const output: BaseProjectTreeItem[] = [];
output.push(this.dataSourceNode);
// [8/31/2020] Hiding Data source for Preview since we do not have a way to add or update those.
// output.push(this.dataSourceNode);
output.push(this.databaseReferencesNode);
return output.concat(Object.values(this.fileChildren).sort(fileTree.sortFileFolderNodes));