We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76c70fb commit c3a4c84Copy full SHA for c3a4c84
src/views/tableView.ts
@@ -1,4 +1,3 @@
1
-
2
import {
3
Disposable,
4
ViewColumn,
@@ -10,6 +9,8 @@ import {
10
9
Webview
11
} from 'vscode';
12
+import * as path from 'path';
13
+
14
import { getUri } from '../utils/fileUtils';
15
16
/**
@@ -62,6 +63,11 @@ export class TableView {
62
63
enableCommandUris: true // ???
64
}
65
);
66
67
+ // set custom table view panel icon
68
+ webviewPanel.iconPath = Uri.file(path.join(extensionUri.fsPath, './resources/icons/tabular-data-viewer.svg'));
69
70
+ // set as current table view for now
71
TableView.currentView = new TableView(webviewPanel, extensionUri);
72
73
0 commit comments