Skip to content

Commit 19c5403

Browse files
committed
allow show source refs
1 parent 3684acd commit 19c5403

File tree

6 files changed

+16
-2
lines changed

6 files changed

+16
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
***
66

7+
### [v2.14.0_RC1]
8+
- 新增:支持显示源文件的头文件引用,默认开启,可在插件设置中关闭
9+
***
10+
711
### [v2.13.0]
812
- 优化:切换不同的烧录器时,保留旧的烧录配置
913
- 优化:为 STLink,JLink 烧录器增加**附加命令行**选项,用于为烧录程序附加额外的命令行

eide.code-workspace

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
}
66
],
77
"settings": {
8-
"search.useIgnoreFiles": false
8+
"search.useIgnoreFiles": false,
9+
"typescript.tsdk": "node_modules\\typescript\\lib"
910
}
1011
}

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,12 @@
128128
{
129129
"title": "Embedded IDE",
130130
"properties": {
131+
"EIDE.Option.ShowSourceReferences": {
132+
"type": "boolean",
133+
"scope": "resource",
134+
"markdownDescription": "%settings.option.show.source.references%",
135+
"default": true
136+
},
131137
"EIDE.Option.DisableEditorContextMenu": {
132138
"type": "boolean",
133139
"scope": "resource",
@@ -1132,7 +1138,7 @@
11321138
{
11331139
"command": "_project.copyItemValue",
11341140
"group": "inline",
1135-
"when": "viewItem == EXCFILE_ITEM || viewItem == FILE_ITEM || viewItem == ITEM || viewItem == DEPENDENCE_ITEM || viewItem == INC_ITEM || viewItem == DEFINE_ITEM || viewItem == LIB_ITEM || viewItem == SOURCE_ITEM && view == Project"
1141+
"when": "viewItem == EXCFILE_ITEM || viewItem == FILE_ITEM || viewItem == SRCREF_FILE_ITEM || viewItem == ITEM || viewItem == DEPENDENCE_ITEM || viewItem == INC_ITEM || viewItem == DEFINE_ITEM || viewItem == LIB_ITEM || viewItem == SOURCE_ITEM && view == Project"
11361142
},
11371143
{
11381144
"command": "_project.importDependenceFromPack",

package.nls.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
"settings.option.create.batch.file": "Create batch file after build",
8080
"settings.option.use.task.to.build": "Use Task to build project instead of Terminal",
8181
"settings.option.insert.extcommands.at.begin": "The built-in command lines will insert at the beginning of the `beforeBuildTasks / afterBuildTasks`",
82+
"settings.option.show.source.references": "Show c/c++ header references for source file",
8283

8384
"settings.template.use.proxy": "Use github proxy to improve network speed (experimental function)",
8485
"settings.template.repo.url": "remote public github repository url, format: `<user_name>`/`<repository_name>`/contents/`<directory_path>`",

package.nls.zh-CN.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115

116116
"settings.option.disable.editor_context.menu": "禁用编辑器上下文菜单",
117117
"settings.option.disable.explorer_context.menu": "禁用资源浏览器上下文菜单",
118+
"settings.option.show.source.references": "显示源文件的头文件引用",
118119

119120
"string.eide.startup.walkthroughs": "Embedded IDE 演示",
120121
"string.eide.startup.walkthroughs.detail": "我们将向您展示如何开始使用 Embedded IDE 。",

res/icon/Reference_16x.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)