flutter / flutter/devtools

Types show differently in VSCode and DevTools

オープン
#5,749 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
console component P2
主要言語
Dart
スター
1.7k
フォーク
404
平均マージ
6日 17時間
マージ済み PR(30日)
18

説明

Platforms: macos, (soon web as well, after https://github.com/dart-lang/webdev/pull/2103)

**VSCode**

image

**DevTools**

image

**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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。