-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
99 lines (99 loc) · 3.38 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
{
"name": "docker-vscode-php-cs-fixer",
"displayName": "docker php cs fixer",
"description": "PHP CS Fixer extension for VS Code docker container, php formatter, php code beautify tool",
"version": "0.1.0",
"publisher": "merlindiavova",
"homepage": "https://github.com/merlindiavova/docker-vscode-php-cs-fixer",
"icon": "logo.png",
"repository": {
"type": "git",
"url": "https://github.com/merlindiavova/docker-vscode-php-cs-fixer.git"
},
"engines": {
"vscode": "^1.9.0"
},
"categories": [
"Formatters",
"Linters",
"Other"
],
"activationEvents": [
"onLanguage:php"
],
"main": "./extension",
"contributes": {
"commands": [
{
"command": "docker-vscode-php-cs-fixer.fix",
"title": "docker-vscode-php-cs-fixer: fix this file",
"when": "!inOutput && editorFocus && editorLangId == php"
}
],
"configuration": {
"title": "PHP CS Fixer Configuration options",
"type": "object",
"properties": {
"docker-vscode-php-cs-fixer.executablePath": {
"type": "string",
"default": "docker-vscode-php-cs-fixer",
"description": "Points to the docker-vscode-php-cs-fixer exectuable, eg: win: docker-vscode-php-cs-fixer.bat, other: docker-vscode-php-cs-fixer; or points to docker-vscode-php-cs-fixer.phar path, eg: /full/path/of/docker-vscode-php-cs-fixer.phar"
},
"docker-vscode-php-cs-fixer.executablePathWindows": {
"type": "string",
"description": "Points to the docker-vscode-php-cs-fixer exectuable on Windows environments, eg: docker-vscode-php-cs-fixer.bat. Useful if you are sharing settings among different environments."
},
"docker-vscode-php-cs-fixer.rules": {
"type": [
"string",
"object"
],
"default": "@PSR2",
"description": "PHP CS Fixer level setting (@PSR1, @PSR2, @Symfony). Support json formatted value. @see: https://github.com/FriendsOfPHP/PHP-CS-Fixer"
},
"docker-vscode-php-cs-fixer.config": {
"type": "string",
"default": ".php_cs",
"description": "config file(.php_cs) can place in workspace root folder or .vscode folder or any other folder(full path)"
},
"docker-vscode-php-cs-fixer.onsave": {
"type": "boolean",
"default": false,
"description": "Execute PHP CS Fixer on save"
},
"docker-vscode-php-cs-fixer.autoFixByBracket": {
"type": "boolean",
"default": true,
"description": "when press down the key } auto fix the code in the brackets {}"
},
"docker-vscode-php-cs-fixer.autoFixBySemicolon": {
"type": "boolean",
"default": false,
"description": "when press down the key ; auto fix the code at the current line"
},
"docker-vscode-php-cs-fixer.formatHtml": {
"type": "boolean",
"default": false,
"description": "whether formatting html at the same time"
},
"docker-vscode-php-cs-fixer.documentFormattingProvider": {
"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."
},
"docker-vscode-php-cs-fixer.allowRisky": {
"type": "boolean",
"default": false,
"description": "Are risky fixers allowed"
}
}
}
},
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"vscode": "^0.11.0"
}
}