Skip to content

Fix: SQL Server 支持空格确认自动补全 - #5706

Draft
zipg wants to merge 1 commit into
t8y2:mainfrom
zipg:codex/issue-2838-space-completion
Draft

Fix: SQL Server 支持空格确认自动补全#5706
zipg wants to merge 1 commit into
t8y2:mainfrom
zipg:codex/issue-2838-space-completion

Conversation

@zipg

@zipg zipg commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

修改内容

  • SQL Server 补全列表激活时,按空格接受当前关键字、表名或字段名候选
  • 保留用户输入的空格,关闭自动补全空格时也不会吞掉按键
  • 无候选、候选仍在加载、函数/代码片段及其他数据库继续使用原有空格行为

实际验证

  • SQL Server 16.0.4225.2
  • 实表 dbo.codex_issue_2838_orders_0809:输入 ... WHERE FXX 时只显示当前表的 FXXXFXX_STATUS
  • 按空格后编辑器内容为 ... WHERE FXXX ,补全列表关闭且只有一个尾随空格
  • 无补全列表时,SELECT 1 后按空格仍正常输入
  • 实际执行 SELECT TOP 1 id, FXXX, FXX_STATUS FROM dbo.codex_issue_2838_orders_0809 ORDER BY id 成功
  • 测试表已清理,两个 OBJECT_ID 均为 NULL

检查

  • pnpm -s typecheck
  • 相关 Vitest:3 个测试文件,25 项通过
  • oxfmt --check
  • oxlint --vue-plugin

Fixes #2838

@github-actions github-actions Bot added area/desktop Desktop application or Tauri shell bug Something isn't working ui-change Changes user-visible interface, text, or visual assets labels Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/desktop Desktop application or Tauri shell bug Something isn't working ui-change Changes user-visible interface, text, or visual assets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] 自动完成适配SQLServer习惯

1 participant