Repository navigation
Expand file tree
/
Copy pathpackage-complex.json
More file actions
126 lines (126 loc) · 4.14 KB
/
Copy pathpackage-complex.json
File metadata and controls
126 lines (126 loc) · 4.14 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "admin-method-duplicate-check",
"displayName": "Admin Method Duplicate Check",
"description": "检测文件中的重复方法名并在重复方法名下显示波浪线和警告 | Detect duplicate method names in files and show wavy lines and warnings",
"version": "0.0.5",
"publisher": "superadmini",
"icon": "images/app_line.png",
"repository": {
"type": "git",
"url": "https://github.com/superadmini/admin-method-duplicate-check.git"
},
"homepage": "https://github.com/superadmini/admin-method-duplicate-check#readme",
"bugs": {
"url": "https://github.com/superadmini/admin-method-duplicate-check/issues"
},
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other",
"Linters"
],
"keywords": [
"duplicate method",
"duplicate function",
"code quality",
"lint",
"checker",
"wavy line",
"warning",
"scroll bar",
"multi language"
],
"activationEvents": [
"onLanguage:python",
"onLanguage:javascript",
"onLanguage:typescript",
"onLanguage:java",
"onLanguage:cpp",
"onLanguage:c",
"onLanguage:csharp",
"onLanguage:php",
"onLanguage:ruby",
"onLanguage:go",
"onLanguage:rust",
"onLanguage:swift",
"onLanguage:kotlin",
"onLanguage:scala",
"onLanguage:dart",
"onLanguage:vb",
"onLanguage:lua",
"onLanguage:perl",
"onLanguage:r",
"onLanguage:shellscript"
],
"main": "./extension.js",
"contributes": {
"configuration": {
"title": "Admin Method Duplicate Check",
"properties": {
"adminMethodDuplicateCheck.enabled": {
"type": "boolean",
"default": true,
"description": "启用/禁用方法重复检测 | Enable/disable duplicate method detection"
},
"adminMethodDuplicateCheck.fileExtensions": {
"type": "array",
"default": [
".py", ".js", ".ts", ".jsx", ".tsx", ".java", ".cpp", ".c", ".cs", ".php",
".rb", ".go", ".rs", ".swift", ".kt", ".scala", ".clj", ".hs", ".ml", ".fs",
".dart", ".lua", ".pl", ".r", ".m", ".sh", ".bash", ".zsh", ".fish",
".vb", ".pas", ".delphi", ".ada", ".fortran", ".f90", ".cob", ".asm",
".s", ".nim", ".zig", ".v", ".crystal", ".elm", ".purescript", ".idris",
".agda", ".coq", ".lean", ".f#", ".ocaml", ".reason", ".rescript"
],
"description": "要检测的文件后缀名 | File extensions to check for duplicate methods",
"items": {
"type": "string"
}
},
"adminMethodDuplicateCheck.enableWavyLine": {
"type": "boolean",
"default": true,
"description": "启用波浪线提示 | Enable wavy line underline for duplicate methods"
},
"adminMethodDuplicateCheck.enablePopup": {
"type": "boolean",
"default": true,
"description": "启用右下角弹窗提示 | Enable popup notification in bottom right corner"
},
"adminMethodDuplicateCheck.wavyLineColor": {
"type": "string",
"default": "#ff0000",
"description": "波浪线颜色 | Wavy line color for duplicate methods"
},
"adminMethodDuplicateCheck.warningColor": {
"type": "string",
"default": "#ff8800",
"description": "右侧滚动条警告颜色 | Warning color in scroll bar"
},
"adminMethodDuplicateCheck.markAllOccurrences": {
"type": "boolean",
"default": true,
"description": "标记所有重复的方法出现 | Mark all duplicate method occurrences (true) or only the first occurrence of each duplicate method name (false)"
}
}
}
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "node ./test/runTest.js"
},
"devDependencies": {
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.74.0",
"@typescript-eslint/eslint-plugin": "^8.47.0",
"@typescript-eslint/parser": "^8.47.0",
"@vscode/test-electron": "^2.3.0",
"eslint": "^8.36.0",
"mocha": "^10.2.0",
"typescript": "^4.9.5",
"vsce": "^1.55.0"
}
}