Skip to content

Commit 874ab24

Browse files
committed
update package.json.
1 parent ee64948 commit 874ab24

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

package.json

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "insert-file",
33
"displayName": "Insert File",
44
"description": "insert a file contents in your active editor.",
5-
"version": "0.0.1",
5+
"version": "0.0.2",
66
"publisher": "crest",
77
"engines": {
88
"vscode": "^1.0.0"
@@ -11,14 +11,30 @@
1111
"Other"
1212
],
1313
"activationEvents": [
14-
"onCommand:extension.insertFile"
14+
"*"
1515
],
1616
"main": "./out/src/extension",
1717
"contributes": {
1818
"commands": [{
1919
"command": "extension.insertFile",
20-
"title": "Insert File"
21-
}]
20+
"title": "Insert File:Insert File"
21+
},
22+
{
23+
"command": "extension.insertAsLink",
24+
"title": "Insert File:Insert As Link"
25+
}],
26+
"configuration": {
27+
"type": "object",
28+
"title": "VSCode InsertFile configuration",
29+
30+
"properties": {
31+
"insert-file.encoding": {
32+
"type": "string",
33+
"default": "utf-8",
34+
"description": "default file encoding"
35+
}
36+
}
37+
}
2238
},
2339
"scripts": {
2440
"vscode:prepublish": "node ./node_modules/vscode/bin/compile",

0 commit comments

Comments
 (0)