feat: 目的地中文显示名(labels 映射)+ 改名自动同步默认目的地 + 保存校验提示可用目的地

This commit is contained in:
QQ597901027
2026-10-19 14:14:26 +08:00
parent d9cc954f37
commit bde2d48557
3 changed files with 94 additions and 24 deletions
+7
View File
@@ -90,6 +90,13 @@ profile 的 `package.json`:
- 只读/调试下白名单不生效但会保留,切回更改时复用;
- 白名单存在 `<workspace>/.dsh-abap-adt/ui-settings.json`(本插件私有,abap-adt 不会读取)。
### 显示名(中文)
- 每个目的地可设置**显示名**(如「广东开发」),只影响界面展示;工具调用仍使用稳定的「标识」(`name`);
- 显示名存在 `ui-settings.json` 的 `labels` 里,不影响 abap-adt 的 schema;
- 改名(标识)时默认目的地下拉会自动跟随,不会出现 `defaultDestination ... is not a destination name`;
- 会话状态徽章、目的地表格、默认目的地选择都会显示「显示名(标识)」。
### 安全
- 只读 ≠ 无害:仍能读取 SAP 源码与业务数据,建议连开发/测试系统 + 最小权限账号;