Skip to content

Commit 23ee6e9

Browse files
authored
Merge pull request fabric8-analytics#2 from invincibleJai/lsp-integration
implements lsp integration with extension
2 parents 9a949a3 + 7b0a640 commit 23ee6e9

18 files changed

+1362
-17
lines changed

package.json

Lines changed: 36 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,25 @@
1414
"theme": "dark"
1515
},
1616
"bugs": {
17-
"url": "https://github.com/invincibleJai/fabric8-analytics-vsc-stackreports/issues",
17+
"url": "https://github.com/invincibleJai/fabric8-analytics-vsc/issues",
1818
"email": "jakumar@redhat.com"
1919
},
2020
"repository": {
2121
"type": "git",
22-
"url": "https://github.com/invincibleJai/fabric8-analytics-vsc-stackreports"
22+
"url": "https://github.com/invincibleJai/fabric8-analytics-vsc"
2323
},
2424
"homepage": "https://github.com/invincibleJai/fabric8-analytics-vsc-stackreports/blob/master/README.md",
2525
"categories": [
2626
"Other"
2727
],
2828
"engines": {
29-
"vscode": "^0.10.7"
29+
"vscode": "^1.8.0"
3030
},
3131
"activationEvents": [
32-
"onCommand:extension.fabric8AnalyticsWidget"
32+
"onCommand:extension.fabric8AnalyticsWidget",
33+
"onLanguage:plaintext",
34+
"onLanguage:xml",
35+
"onLanguage:json"
3336
],
3437
"main": "./out/extension",
3538
"contributes": {
@@ -54,20 +57,42 @@
5457
"when": "resourceLangId == json"
5558
}
5659
]
57-
}
60+
},
61+
"configuration": {
62+
"type": "object",
63+
"title": "Example configuration",
64+
"properties": {
65+
"languageServerExample.maxNumberOfProblems": {
66+
"type": "number",
67+
"default": 100,
68+
"description": "Controls the maximum number of problems produced by the server."
69+
},
70+
"languageServerExample.trace.server": {
71+
"type": "string",
72+
"enum": [
73+
"off",
74+
"messages",
75+
"verbose"
76+
],
77+
"default": "off",
78+
"description": "Traces the communication between VSCode and the languageServerExample service."
79+
}
80+
}
81+
}
5882
},
5983
"scripts": {
6084
"vscode:prepublish": "tsc -p ./",
6185
"compile": "tsc -watch -p ./",
62-
"postinstall": "node ./node_modules/vscode/bin/install",
63-
"tslint": "tslint -c tslint.json src/extension.ts"
86+
"postinstall": "node ./node_modules/vscode/bin/install"
6487
},
6588
"devDependencies": {
66-
"typescript": "^2.1.4",
67-
"vscode": "^1.0.0",
68-
"@types/node": "*"
89+
"@types/mocha": "^2.2.33",
90+
"@types/node": "^6.0.52",
91+
"typescript": "^2.1.5",
92+
"vscode": "^1.0.3"
6993
},
7094
"dependencies": {
71-
"request": "2.79.0"
95+
"request": "2.79.0",
96+
"vscode-languageclient": "^3.3.0"
7297
}
7398
}

server/.DS_Store

6 KB
Binary file not shown.

server/collector.js

Lines changed: 202 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/collector.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)