-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpackage.json
190 lines (190 loc) · 5.65 KB
/
package.json
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
{
"name": "inline-parameters",
"displayName": "Inline Parameters for VSCode",
"description": "Function parameter annotations displaying inline in VSCode",
"publisher": "liamhammett",
"icon": "icon.png",
"version": "0.2.1",
"license": "MIT",
"homepage": "https://github.com/imliam/vscode-inline-parameters",
"bugs": {
"url": "https://github.com/imliam/vscode-inline-parameters/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/imliam/vscode-inline-parameters"
},
"main": "./out/extension.js",
"engines": {
"vscode": "^1.40.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"contributes": {
"commands": [
{
"command": "inline-parameters.toggle",
"title": "Inline Parameters: Hide / Show"
}
],
"configuration": [
{
"title": "Inline Parameters",
"properties": {
"inline-parameters.enabled": {
"type": "boolean",
"description": "Show inline parameters",
"default": true
},
"inline-parameters.leadingCharacters": {
"type": "string",
"description": "Characters to be shown before each parameter annotation",
"default": ""
},
"inline-parameters.trailingCharacters": {
"type": "string",
"description": "Characters to be shown after each parameter annotation",
"default": ":"
},
"inline-parameters.showPhpDollar": {
"type": "boolean",
"description": "Show the $ character before PHP parameter names",
"default": false
},
"inline-parameters.hideSingleParameters": {
"type": "boolean",
"description": "Hide inline parameters if a function only has 1 parameter",
"default": false
},
"inline-parameters.parameterCase": {
"type": "string",
"description": "Forcibly change the case of the inline parameter name",
"enum": [
"normal",
"lowercase",
"uppercase"
],
"default": "normal"
},
"inline-parameters.showVariadicNumbers": {
"type": "boolean",
"description": "Show the number of times a variadic parameter has been called",
"default": true
},
"inline-parameters.hideRedundantAnnotations": {
"type": "boolean",
"description": "If the value given to a parameter is the same as the parameter name, hide it",
"default": true
},
"inline-parameters.fontWeight": {
"type": "string",
"default": "400",
"enum": [
"100",
"200",
"300",
"400",
"500",
"600",
"700",
"800",
"900"
],
"description": "Annotation styling of font-weight CSS property"
},
"inline-parameters.fontStyle": {
"type": "string",
"default": "italic",
"enum": [
"normal",
"italic"
],
"description": "Annotation styling of font-style CSS property"
},
"inline-parameters.fontSize": {
"type": "string",
"default": "0.85em",
"description": "Annotation styling of font size CSS property"
},
"inline-parameters.margin": {
"type": "string",
"default": "0.25em",
"description": "Annotation styling of margin CSS property"
},
"inline-parameters.padding": {
"type": "string",
"default": "0.25em 0.5em",
"description": "Annotation styling of padding CSS property"
},
"inline-parameters.borderRadius": {
"type": "string",
"default": "0.25em",
"description": "Annotation styling of border-radius CSS property"
},
"inline-parameters.border": {
"type": "string",
"default": "none",
"description": "Annotation styling of border CSS property"
}
}
}
],
"colors": [
{
"id": "inlineparameters.annotationForeground",
"description": "Specifies the foreground color for the annotations",
"defaults": {
"dark": "#adbec5",
"light": "#797a79",
"highContrast": "#adbec5"
}
},
{
"id": "inlineparameters.annotationBackground",
"description": "Specifies the background color for the annotations",
"defaults": {
"dark": "#1e2c31",
"light": "#f4f5f4",
"highContrast": "#1e2c31"
}
}
],
"keybindings": [
{
"command": "inline-parameters.toggle",
"key": "ctrl+k a",
"mac": "cmd+k a",
"when": "editorFocus"
}
]
},
"scripts": {
"preinstall": "mkdir -p ./node_modules && touch ./node_modules/.metadata_never_index",
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/glob": "^7.1.2",
"@types/mocha": "^5.0.0",
"@types/node": "^12.12.44",
"@types/vscode": "^1.40.0",
"glob": "^7.1.5",
"mocha": "^6.2.2",
"typescript": "^3.9.5",
"vscode-test": "^1.2.2"
},
"dependencies": {
"babylon": "^7.0.0-beta.47",
"install": "^0.13.0",
"java-ast": "^0.3.0",
"luaparse": "^0.3.0",
"npm": "^6.14.5",
"php-parser": "^3.0.0",
"recast": "^0.16.0"
}
}