-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathide.json
49 lines (49 loc) · 1.58 KB
/
ide.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
{
"$schema": "https://laravel-ide.com/schema/laravel-ide-v2.json",
"codeGenerations": [
{
"id": "dragon-code.create-deploy-operation",
"name": "Create Deploy Operation",
"inputFilter": "deploy-operations",
"regex": ".+",
"files": [
{
"directory": "/operations",
"name": "${CURRENT_TIME|format:yyyy_MM_dd_HHmmss}_${INPUT_CLASS|className|replace: ,_|upperCamelCase|snakeCase}.php",
"template": {
"type": "stub",
"path": "/stubs/deploy-operation.stub",
"fallbackPath": "resources/stubs/deploy-operation.stub"
}
}
]
}
],
"completions": [
{
"complete": "directoryFiles",
"condition": [
{
"classFqn": [
"DragonCode\\LaravelDeployOperations\\Helpers\\OperationHelper"
],
"methodNames": [
"run"
],
"functionFqn": [
"DragonCode\\LaravelDeployOperations\\operation"
],
"place": "parameter",
"parameters": [
1
]
}
],
"options": {
"directory": "/operations",
"suffixToClear": ".php",
"recursive": true
}
}
]
}