Skip to content

Commit 136d655

Browse files
add data.table.notebook.examples command and ext. activation for built-in examples (#75)
1 parent 45ef7a2 commit 136d655

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

package.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,24 @@
4848
"cell",
4949
"text",
5050
"output",
51-
"renderer"
51+
"renderer",
52+
"examples"
5253
],
5354
"activationEvents": [
55+
"onCommand:data.table.notebook.examples",
5456
"onRenderer:vscode-data-table",
5557
"onRenderer:vscode-data-summary"
5658
],
5759
"main": "./out/extension/extension.js",
5860
"contributes": {
61+
"commands": [
62+
{
63+
"command": "data.table.notebook.examples",
64+
"title": "Notebook Examples",
65+
"category": "Data Table",
66+
"icon": "$(notebook)"
67+
}
68+
],
5969
"notebookRenderer": [
6070
{
6171
"id": "vscode-data-table",

0 commit comments

Comments
 (0)