Set web view title

This commit is contained in:
Rodrigo Pombo 2019-02-14 01:44:38 -03:00
parent 38749e2360
commit 94c91d9ae5

View File

@ -20,14 +20,13 @@ function activate(context) {
const currentPath = getCurrentPath();
if (!currentPath) {
//TODO show message
console.log("no path");
vscode.window.showInformationMessage("No active file");
return;
}
const panel = vscode.window.createWebviewPanel(
"gfh",
"Git History",
`${path.basename(currentPath)} (Git History)`,
vscode.ViewColumn.One,
{
enableScripts: true,