PowerShell / PowerShell/PowerShellEditorServices
Add an EditorInfo field to $psEditor
未关闭
还没有人认领这个 Issue。
Area-psEditor
Issue-Discussion
Issue-Enhancement
- 主要语言
- C#
- 星标
- 767
- 派生
- 266
- 平均合并
- 3 天 16 小时
- 30 天内合并 PR
- 1
描述
We should add a simple info object to $psEditor so information like editor name and version can be queried from $psEditor. Since we should theoretically support many editors, we could require a few standard fields or we could just make it an object and let editors decide what information they provide.
I'm not saying we should try to implement ISEOptions here as that would be a lot more work. Just an information field along the lines of $PSVersionTable.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
该 issue 未指定任何文件、测试或入口点。首先定位现有的 $psEditor 实现及其公共属性,然后检查如何公开编辑器特有的信息。当就 EditorInfo 的结构达成一致,并在不实现 ISEOptions 的情况下公开编辑器名称和版本时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- powershell
- 领域
- developer-experience, tooling
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100