flutter / flutter/devtools

Property editor refactors do not highlight expected code after wrap

未关闭
#9,222 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
P2 property editor
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

Triggering refactor from code editor (expected behavior):

![Image](https://github.com/user-attachments/assets/8f0c94c4-3564-4a5d-bfa6-c2ff7c1d3d82)

Triggering refactor from property editor:

![Image](https://github.com/user-attachments/assets/e625ae14-2057-4f47-99a1-316406e0db48)

I would expect the refactors to behave in the same way as they do from my code editor. This applies to other refactors that perform a text highlight like Wrap with FutureBuilder, ValueListenableBuilder, etc.

贡献指南

打开贡献指南

调研方向

从属性编辑器重构的入口点开始,并将其行为与相应的代码编辑器重构流程进行比较。检查使用 FutureBuilder 和 ValueListenableBuilder 的 Wrap 的文本高亮行为,然后验证属性编辑器重构是否与代码编辑器重构一致地高亮预期的代码。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart, devtools, flutter
领域
developer-experience, tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。