In-Viewlet Notebooks Search (#12455) (#12514)

* fix search

* Add sql carbon tags to vs files

Co-authored-by: chlafreniere <hichise@gmail.com>
Co-authored-by: abist <adbist@microsoft.com>

Co-authored-by: chlafreniere <hichise@gmail.com>
Co-authored-by: abist <adbist@microsoft.com>
This commit is contained in:
Barbara Valdez
2020-09-19 18:13:10 -07:00
committed by GitHub
parent 5a2fdc4034
commit 571fca6de5
4 changed files with 24 additions and 16 deletions

View File

@@ -73,7 +73,7 @@ export class BookTreeItem extends vscode.TreeItem {
this.tooltip = `${this._uri}`;
}
else {
this.tooltip = this.book.type === BookTreeItemType.Book ? this.book.root : this.book.contentPath;
this.tooltip = this.book.type === BookTreeItemType.Book ? (this.book.version === BookVersion.v1 ? path.join(this.book.root, content) : this.book.root) : this.book.contentPath;
}
}