Commit 7998f6f
fix(core): address PR review comments on LSP diagnostics fallback
- Clear stale cache entry before refresh (not after) to prevent
wiping fresh publishDiagnostics data that arrives during the delay
- Re-add URI to openedDocuments after successful didOpen to keep
local tracking in sync
- Use continue instead of return to aggregate diagnostics from all
servers in multi-server setups
- Filter workspaceDiagnostics fallback by all workspace root URIs
from WorkspaceContext for multi-root workspace support
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>1 parent a6315cb commit 7998f6f
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1066 | 1066 | | |
1067 | 1067 | | |
1068 | 1068 | | |
| 1069 | + | |
1069 | 1070 | | |
1070 | 1071 | | |
1071 | 1072 | | |
| |||
1092 | 1093 | | |
1093 | 1094 | | |
1094 | 1095 | | |
| 1096 | + | |
1095 | 1097 | | |
1096 | 1098 | | |
1097 | 1099 | | |
| |||
1111 | 1113 | | |
1112 | 1114 | | |
1113 | 1115 | | |
1114 | | - | |
| 1116 | + | |
1115 | 1117 | | |
1116 | 1118 | | |
1117 | 1119 | | |
| |||
1193 | 1195 | | |
1194 | 1196 | | |
1195 | 1197 | | |
1196 | | - | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
1197 | 1201 | | |
1198 | | - | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
1199 | 1205 | | |
1200 | 1206 | | |
1201 | 1207 | | |
| |||
0 commit comments