Skip to content

Commit a65a6c1

Browse files
committed
Some basic completion provider. Need to go through all the options and tweak them
1 parent 63151ea commit a65a6c1

File tree

9 files changed

+399
-41
lines changed

9 files changed

+399
-41
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22
node_modules
33
.vscode-test/
44
*.vsix
5+
client/server
6+
*.txt
7+
*.out

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"outFiles": [
1313
"${workspaceRoot}/client/out/**/*.js"
1414
],
15-
"preLaunchTask": "compile"
15+
"preLaunchTask": "compile:client"
1616
},
1717
{
1818
"name": "Attach to Server",
@@ -22,7 +22,7 @@
2222
"sourceMaps": true,
2323
"outFiles": [
2424
"${workspaceRoot}/client/server/**/*.js"
25-
],
25+
],
2626
"protocol": "legacy",
2727
"preLaunchTask": "watch:server"
2828
}

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
},
66
"search.exclude": {
77
"out": true // set this to false to include "out" folder in search results
8-
}
8+
},
9+
"python.pythonPath": "/usr/bin/python3"
910
}

client/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"rootDir": "src",
1111
"strict": true,
1212
"noUnusedLocals": true,
13-
"noImplicitReturns": true,
13+
"noImplicitReturns": true
1414
},
1515
"exclude": [
1616
"node_modules",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
},
1212
"scripts": {
1313
"postinstall": "cd server && npm install && cd ../client && npm install && cd ..",
14-
"compile": "tsc -p client/tsconfig.json && cd server && npm run installServer && cd .. && tsc -p server/tsconfig.json",
14+
"compile": "npm run compile:client && npm run compile:server",
1515
"run": "concurrently \"npm run watch:client\" \"npm run watch:server\"",
1616
"compile:client": "tsc -p client/tsconfig.json",
17-
"watch:client": "tsc -w -p client/tsconfig.json",
1817
"compile:server": "cd server && npm run installServer && cd .. && tsc -p server/tsconfig.json",
18+
"watch:client": "tsc -w -p client/tsconfig.json",
1919
"watch:server": "cd server && npm run installServer && cd .. && tsc -w -p server/tsconfig.json",
2020
"lint": "cd server && npm run lint && cd ../client && npm run lint"
2121
},

server/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"scripts": {
2323
"installServer": "installServerIntoExtension ../client ./package.json ./tsconfig.json",
2424
"compile": "installServerIntoExtension ../client ./package.json ./tsconfig.json && tsc -p .",
25-
"watch": "installServerIntoExtension ../client ./package.json ./tsconfig.json && tsc -w -p .",
26-
"lint": "tslint -c tslint.json 'src/**/*.ts'"
25+
"watch": "installServerIntoExtension ../client ./package.json ./tsconfig.json && tsc -w -p .",
26+
"lint": "tslint -c tslint.json 'src/**/*.ts'"
2727
}
2828
}

0 commit comments

Comments
 (0)