Repository navigation
feat(web): 用 Problems 面板替换诊断告警并接入自动校验 - #17
Merged
Merged
Conversation
- 底部 Problems 工具组复用 Astrea ResourceTable 展示严重级、行号、代码与消息 - 打开/保存及停止输入后自动校验,编辑器工具栏 Check、命令面板与 Ctrl+Enter 可显式重跑 - 状态栏错误/警告计数可点击聚焦 Problems,问题行可跳转源码 - 修复持久化弹窗 Error 参数被当作字符串字面量的问题
- 命令面板仅在查询达到 3 个字符时匹配命令,避免 C 等信号查询被 Check 命令顶掉 - 状态栏诊断计数先算局部值再赋值,避免并发更新时把 1 条警告累加成 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Astrea.Components0.8.0 的ResourceTable展示严重级、行号、代码与消息,替换编辑器内占用空间的黄色诊断告警;打开/保存以及停止输入约 400ms 后自动校验,编辑器工具栏Check、命令面板Check current document与Ctrl+Enter可显式重跑;状态栏错误/警告计数可点击聚焦面板,问题行可跳转源码。Error参数缺少@导致被编译为字符串字面量、错误告警常显的问题。Validation
dotnet build DbcView.sln -c Release— 全部项目构建通过(本机 VS 占用 Debug 输出,使用 Release 验证)dotnet test DbcView.sln -c Release --no-build— 252 个 xUnit 测试通过dotnet format DbcView.sln --verify-no-changes— 无格式违规ProblemsBrowserTests通过;人工检查浅色/深色/紧凑布局,控制台无错误Impact
Directory.Packages.props(Astrea.Components0.8.0 已在依赖中)AI Assistance