Skip to content

Commit 14350ee

Browse files
tdusnokiyichoi
authored andcommitted
Added Completion Provider for module names and functions
IoT.js-VSCode-DCO-1.0-Signed-off-by: Tibor Dusnoki [email protected]
1 parent eaf8b80 commit 14350ee

File tree

3 files changed

+1324
-3
lines changed

3 files changed

+1324
-3
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
],
5252
"scripts": {
5353
"vscode:prepublish": "npm run compile",
54-
"compile": "tsc -p ./",
54+
"copy": "cp ./src/IotjsFunctions.json ./out/",
55+
"compile": "tsc -p ./ && npm run copy",
5556
"watch": "tsc -watch -p ./",
5657
"postinstall": "node ./node_modules/vscode/bin/install",
5758
"test": "node ./node_modules/vscode/bin/test"
@@ -75,6 +76,7 @@
7576
"ws": "^5.1.1"
7677
},
7778
"activationEvents": [
79+
"onLanguage:javascript",
7880
"onDebug",
7981
"onCommand:iotjs-debug.initialConfigurations"
8082
],

0 commit comments

Comments
 (0)