Types show differently in VSCode and DevTools
- 主要语言
- Dart
- 星标
- 1.7k
- 派生
- 404
- 平均合并
- 6 天 17 小时
- 30 天内合并 PR
- 18
描述
Platforms: macos, (soon web as well, after https://github.com/dart-lang/webdev/pull/2103)
**VSCode**

**DevTools**

**Questions**
- Should we display types similarly in VSCode and DevTools?
- Should we make the representation realistic, i.e. if the field is showing in DevTools/VSCode then the user can access it via expression evaluation, unless it is shown as private?
- Currently `0.runtimeType.name` field is not accessible (does not compile) but shows in DevTools
- Currently `(0,1).runtimeType.$1` is not accessible (does not compile) but shows in VSCode
Related: https://github.com/dart-lang/webdev/pull/2103
贡献指南
调研方向
首先使用 issue 中的示例,比较相同类型在 VSCode 和 DevTools 中的呈现方式,并审阅相关的 webdev pull request。当项目为这些类型确定了一种一致的表示方式,并明确是否必须通过表达式求值访问所显示的成员时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- dart
- 领域
- tooling
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100