Fix LSP client callback issues and enable autocompletion#100
Merged
Conversation
- 扩展重建时旧 client 因 autoClose 触发 onClose 置 off, 盖掉新 client 的 connecting - 加代次令牌, 仅最新一代 client 的回调可更新状态; 索引中可正常显示
- 此前 LSP(6.20.3)与 basicSetup(6.18.6)各用一套补全状态, LSP 补全源不生效, 输入无下拉 - pnpm overrides 强制 @codemirror/autocomplete=6.20.3, basicSetup/lang-python/LSP 共用同一补全系统
- 本编辑器未启用 basicSetup, 没有补全键位与触发, 故 LSP 补全/Ctrl+Space 都无效 - 新增 lspCompletion: 高优先级 autocompletion(LSP 源, 输入即触发) + completionKeymap(Ctrl+Space/Enter/Tab) - 补 @codemirror/autocomplete 直接依赖(6.20.3, 与 override 一致)
- 汇总自 26.0.0 起 173 个提交: 数据可视化(27 图表)/SQL 与数据库/CSV·TSV·Excel 数据源/结构化数据可视化/LSP/Git 源代码管理/终端/深色模式 等 - pageforge 导航与 banner 更新到 26.1.0
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.
No description provided.