redhat-developer / redhat-developer/vscode-java
Flag machine specific configurations like paths as machine scoped
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
I am developer from VS Code and we introduced Machine Scope for configurations in 1.34 which will help in remote set ups.
I would like to encourage extension authors to adopt to machine scope if you have any settings that you think they are scoped to machine like java.home
For example, If you have settings that allow users to customize an executable path that exists on the machine in which extension is running, then you can tag such settings as machine scoped. This will let VS Code to read this setting from the location where the extension is running.
- When extension is running locally, VS Code reads this setting only from User settings on the same machine.
- When extension is running remotely, VS Code reads this setting only from Remote settings on the remote machine.
If the extension is running remotely in a remote set up, then this will help the extension not to read paths configured in local machine user settings and bail as the paths not exist in the remote machine.
Note that machine scoped settings are overridable only in user or remote settings.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
检查扩展的配置声明,并识别包含特定于机器的可执行文件路径或文件系统路径的设置,例如 java.home。将其当前的 scope 元数据与 VS Code 的 machine-scope 行为进行比较,然后验证本地和远程设置是否会在扩展运行所在的机器上解析路径。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript, vscode
- 领域
- developer-experience, devtools
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100