forked from soderlind/vscode-phpcbf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 2.91 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
{
"name": "vscode-phpcbf",
"displayName": "phpcbf",
"description": "PHP Code Beautifier and Fixer",
"version": "0.0.8",
"publisher": "persoderlind",
"homepage": "https://github.com/soderlind/vscode-phpcbf",
"icon": "images/logo.png",
"license": "SEE LICENSE IN LICENSE.txt",
"repository": {
"type": "git",
"url": "https://github.com/heply/vscode-phpcbf.git"
},
"engines": {
"vscode": "^1.19.0"
},
"categories": [
"Formatters",
"Linters",
"Other"
],
"keywords": [
"multi-root ready"
],
"activationEvents": [
"onLanguage:php"
],
"main": "./extension",
"contributes": {
"commands": [
{
"command": "phpcbf-heply",
"title": "PHP Code Beautifier and Fixer: Fix this file",
"when": "!inOutput && editorFocus && editorLangId == php"
}
],
"configuration": {
"title": "PHP Code Beautifier and Fixer Configuration options",
"type": "object",
"properties": {
"phpcbf.executablePath": {
"scope": "resource",
"type": "string",
"default": "phpcbf",
"description": "Points to the phpcbf exectuable, eg: win: phpcbf.bat, other: phpcbf"
},
"phpcbf.configSearch": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "Search for phpcs configuration files in the workspace."
},
"phpcbf.standard": {
"scope": "resource",
"type": [
"string",
"null"
],
"default": null,
"description": "null, PSR1, PSR2, Symfony, WordPress etc. You can also point to a phpcs.xml rules file, eg: /file/path/phpcs.xml"
},
"phpcbf.onsave": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "Run PHP Code Beautifier and Fixer on save"
},
"phpcbf.documentFormattingProvider": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Register PHP document formatting provider, right mouse-click context menu, show as 'Format Document', after changing this option you should restart your editor."
},
"phpcbf.enable": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "This setting controls whether phpcbf formatter is enabled."
},
"phpcbf.debug": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "Write phpcbf stdout to the console"
}
}
}
},
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"typescript": "^2.6.1",
"vscode": "^1.1.6",
"eslint": "^4.6.1",
"@types/node": "^7.0.43",
"@types/mocha": "^2.2.42"
}
}