[Feature Request] Make "Navigate to source code" optional
- 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ả
It can be very annoying when you select a widget in the inspector while also e.g. double-checking some code in your editor and always getting thrown to the source of the widget you selected or worse a miss-click happens, and you end up in a whole other file in another directory tree.
Another case: Emulator/Screen Capture/Browser is above the editor and as soon as a widget is selected the editor is forced into the foreground, hiding the application.
It would be nice to make this behavior optional.
### Current behavior:
DevTools (nearly) always focuses the editor and scrolls to the source for the widget that was selected.
Sometimes it fails to focus somehow, but that seems more like a bug than a defined behavior.
### Desired behavior:
Make this optional, for example, through a small toggle in the DevTools.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách theo dõi hành vi của DevTools, hành vi này đưa tiêu điểm vào trình soạn thảo và điều hướng đến mã nguồn của widget được chọn. Xác nhận vị trí mà một nút bật/tắt hướng tới người dùng có thể điều khiển hành vi đó, sau đó kiểm tra rằng việc bật và tắt nút này phù hợp với điều hướng tùy chọn được yêu cầu mà không thay đổi ngoài dự kiến hành vi mặc định hiện có.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- dart, flutter
- Lĩnh vực
- devtools
- Loại issue
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100