Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 3.56 KB
/
Copy pathpackage.json
File metadata and controls
111 lines (111 loc) · 3.56 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
{
"name": "vscode-java-sorter",
"displayName": "Java Sorter (Eclipse Style)",
"description": "%extension.description%",
"icon": "icon.png",
"version": "1.0.3",
"publisher": "eoasmxd",
"repository": {
"type": "git",
"url": "https://github.com/eoasmxd/vscode-java-sorter.git"
},
"bugs": {
"url": "https://github.com/eoasmxd/vscode-java-sorter/issues"
},
"homepage": "https://github.com/eoasmxd/vscode-java-sorter#readme",
"keywords": [
"java",
"sorter",
"sort",
"eclipse",
"format"
],
"engines": {
"vscode": "^1.80.0"
},
"categories": [
"Formatters",
"Programming Languages"
],
"activationEvents": [
"onCommand:vscode-java-sorter.sort-members"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "vscode-java-sorter.sort-members",
"title": "%command.title%"
}
],
"configuration": {
"title": "Java Sorter",
"properties": {
"javaSorter.memberOrder": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "string",
"enum": [
"types",
"staticFields",
"staticInitializers",
"staticMethods",
"fields",
"initializers",
"constructors",
"methods"
]
},
"default": [
"types",
"staticFields",
"staticInitializers",
"staticMethods",
"fields",
"initializers",
"constructors",
"methods"
],
"description": "%config.memberOrder%"
},
"javaSorter.visibilityOrder": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "string",
"enum": [
"public",
"protected",
"package",
"private"
]
},
"default": [],
"description": "%config.visibilityOrder%"
},
"javaSorter.sortAllMembers": {
"type": "boolean",
"default": false,
"description": "%config.sortAllMembers%"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"clean": "node -e \"try { require('fs').rmSync('out', {recursive:true,force:true}); require('fs').readdirSync('.').filter(f => f.endsWith('.vsix')).forEach(f => require('fs').unlinkSync(f)) } catch(e) {}\"",
"package": "npx @vscode/vsce package",
"test:unit": "npm run compile && node out/test/run-tests.js"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/vscode": "^1.80.0",
"typescript": "^5.0.0"
},
"dependencies": {
"java-parser": "^2.3.0"
}
}