Use dot-shorthand syntax for doubles when possible
Đang mở
analysis-server-change-needed
P3
property editor
- Ngôn ngữ chính
- Dart
- Star
- 1.7k
- Fork
- 404
- Merge trung bình
- 6 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 18
Mô tả
If a user has a double property that could support dot shorthand syntax but isn't, e.g.:
* `double.infinity` -> `.infinity`
* `double.nan` -> `.nan`
We could display the dot-shorthand version to help users discover this new language feature. This would require the analysis server to send the current Dart version to the Property Editor Client so that the Property Editor Client can determine whether dot-shorthand syntax is supported.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.