flutter / flutter/devtools

Filters dialog blocks the logs

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

描述

I am not sure how much of this is under the purview of VScode vs the flutter DevTools specifically. I'm a software development beginner, but based on the fact that I can't find any information on a better way to do this stuff; at the very least my naivete can inform where documentation could be improved.

### DevTools Settings
- "Enable analytics" isn't descriptive enough, and I cannot find anything that describes what and how analysis is happening.
- None of the settings menus in DevTools allow copy, this is an unnecessary barrier to googling. Not beginner friendly.

### The log

**Filtering the log and a bug**
- Transcribing the "Kind" to the filter is tedious
- The bug -> copy paste of a "Kind" field does not work in VScode, but it does work when I open DevTools in the browser
- i can highlight with a cursor in VS code but ^C does nothing
- When the filters dialog is open it blocks the log, so you can't compare spelling to what you are trying to filter out.

**A potential fix**
- If there was a right click menu to select whether you want to exclude, or show only that kind of log; it would make it far less tedious to filter out stuff. Ideally you would be able to specify either filter exact matches or logs from the same class.
- an alternative could be auto fill in the filter menu, or a list of all of the kinds in the log
- the logical extreme would be to take advantage of the fact that log entries are JSON, they naturally lend themselves to a document oriented database and being queried as such.
- if this is already the case behind the scenes, the docs need to say what query language is in use.

**DevTools version**: 2.37.2
**IDE**: VSCode
**Connected Device**:
CPU / OS: x64 (64 bit) android
Connected app type: Flutter native (debug build)
Dart Version: 3.5.1
Flutter Version: 3.24.1 / stable
Framework / Engine: 5874a72aa4 / c9b9d5780d

贡献指南

打开贡献指南

调研方向

从 VS Code 集成中的 DevTools 设置和日志筛选对话框开始,然后在浏览器 DevTools 中比较相同的交互。将报告范围缩小到一个可复现的行为;完成意味着所选交互已得到修正或澄清,并已在相关上下文中验证。

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

评估

技术栈
dart, vscode
领域
documentation, tooling
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

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