[v1.4] VSCodeConnect 代码重构#1170
Open
cyfung1031 wants to merge 3 commits intoscriptscat:release/v1.3from
Open
Conversation
c83a2d9 to
a6c016e
Compare
VSCodeConnect 代码重构
d62d2ad to
efc7ed2
Compare
Member
|
能放1.4就1.4了,现在两个版本内容挺多了,时间也挺久了 |
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.
[v1.3/1.4] VSCodeConnect 重构:提升 WebSocket 连接稳定性与可维护性
本次 PR 对
src/app/service/offscreen/vscode-connect.ts进行重构,目标是改善旧版在连接管理、重连逻辑与异常处理上的不稳定与难维护问题,使 VS Code 热重载流程在长时间运行与异常场景下表现更可靠。新旧对比一览
总结:旧版痛点 vs 新版价值
旧版主要问题:
新版带来的好处:
影响范围:仅限 VSCode 开发模式连接逻辑,不影响一般 ScriptCat 使用者。
测试建议
.user.js→ ScriptCat 是否即时更新