-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 1.94 KB
/
Copy pathpackage.json
File metadata and controls
88 lines (88 loc) · 1.94 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
{
"name": "code-explainer",
"displayName": "Code Explainer",
"description": "一键解释代码,鼠标悬停查看每行代码的作用。适合编程小白学习阅读源码",
"version": "0.1.0",
"publisher": "code-explainer",
"engines": {
"vscode": "^1.80.0"
},
"categories": [
"Education",
"Other"
],
"keywords": [
"代码解释",
"code explainer",
"编程学习",
"阅读源码",
"逐行解释",
"AI 解释代码",
"DeepSeek"
],
"activationEvents": [
"onLanguage"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "codeExplainer.explain",
"title": "解释当前代码"
},
{
"command": "codeExplainer.toggle",
"title": "切换代码解释开关"
}
],
"menus": {
"editor/title": [
{
"command": "codeExplainer.explain",
"group": "navigation"
}
],
"editor/context": [
{
"command": "codeExplainer.explain",
"group": "1_modification"
}
]
},
"keybindings": [
{
"command": "codeExplainer.explain",
"key": "ctrl+shift+e",
"when": "editorTextFocus"
}
],
"configuration": {
"title": "Code Explainer",
"properties": {
"codeExplainer.apiKey": {
"type": "string",
"default": "",
"description": "DeepSeek API Key"
},
"codeExplainer.enabled": {
"type": "boolean",
"default": true,
"description": "插件总开关"
},
"codeExplainer.model": {
"type": "string",
"default": "deepseek-chat",
"description": "使用的 DeepSeek 模型名称"
}
}
}
},
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/vscode": "^1.80.0",
"typescript": "^5.0.0"
}
}