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.
[v1.3/1.4] VSCodeConnect 重构:提升 WebSocket 连接稳定性与可维护性
本次 PR 对
src/app/service/offscreen/vscode-connect.ts进行重构,目标是改善旧版在连接管理、重连逻辑与异常处理上的不稳定与难维护问题,使 VS Code 热重载流程在长时间运行与异常场景下表现更可靠。新旧对比一览
总结:旧版痛点 vs 新版价值
旧版主要问题:
新版带来的好处:
影响范围:仅限 VSCode 开发模式连接逻辑,不影响一般 ScriptCat 使用者。
测试建议
.user.js→ ScriptCat 是否即时更新