forked from slackhq/vscode-hack
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·131 lines (131 loc) · 3.42 KB
/
Copy pathpackage.json
File metadata and controls
executable file
·131 lines (131 loc) · 3.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "vscode-hack",
"version": "1.0.2",
"publisher": "Codeneric",
"engines": {
"vscode": "^1.15.0"
},
"license": "MIT",
"displayName": "Codeneric Hack",
"description": "Hack/HHVM support for Visual Studio Code.",
"icon": "images/logo.png",
"categories": [
"Languages",
"Linters",
"Snippets",
"Other"
],
"keywords": [
"hack",
"hacklang",
"hhvm"
],
"galleryBanner": {
"color": "#5d5d5d",
"theme": "dark"
},
"author": {
"name": "Codeneric"
},
"repository": {
"type": "git",
"url": "https://github.com/codeneric/vscode-hack.git"
},
"bugs": {
"url": "https://github.com/codeneric/vscode-hack/issues"
},
"main": "./out/main",
"contributes": {
"languages": [
{
"id": "hack",
"aliases": [
"Hack",
"hacklang"
],
"configuration": "./hack.configuration.json",
"extensions": [
".php",
".hh"
],
"firstLine": "^<\\?hh\\b.*$"
}
],
"grammars": [
{
"language": "hack",
"scopeName": "text.html.hack",
"path": "./syntaxes/hack.json"
}
],
"snippets": [
{
"language": "hack",
"path": "./snippets/hack.json"
}
],
"configuration": {
"type": "object",
"title": "Hack configuration",
"properties": {
"hack.clientPath": {
"type": "string",
"default": null,
"description": "Absolute path to the hh_client executable. This can be left empty if hh_client is already in your environment $PATH. A `docker exec` command is supported as well."
},
"hack.workspaceRootPath": {
"type": "string",
"default": null,
"description": "Absolute path to the workspace root directory. This will be the VS Code workspace root by default, but can be changed if the project is in a subdirectory or mounted in a Docker container."
},
"hack.enableCoverageCheck": {
"type": "boolean",
"default": false,
"description": "Enable calculation of Hack type coverage percentage for every file and display in status bar."
},
"hack.useLanguageServer": {
"type": "boolean",
"default": false,
"description": "[Experimental] Start hh_client in Language Server mode. Only works for HHVM version 3.23 and above."
}
}
},
"commands": [
{
"command": "hack.toggleCoverageHighlight",
"title": "Hack: Toggle Coverage Highlight"
},
{
"command": "hack.openBuild",
"title": "Open build"
}
]
},
"activationEvents": [
"workspaceContains:.hhconfig"
],
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"lint": "tslint --force -p .",
"build": "vsce package"
},
"dependencies": {
"vscode-jsonrpc": "3.5.0",
"vscode-languageclient": "3.5.0",
"vscode-languageserver-protocol": "3.5.0",
"vscode-languageserver-types": "3.5.0"
},
"devDependencies": {
"@types/mocha": "^2.2.44",
"@types/node": "^8.0.53",
"cson": "^4.1.0",
"tslint": "^5.8.0",
"tslint-microsoft-contrib": "^5.0.1",
"typescript": "^2.6.1",
"vscode": "^1.1.7"
}
}