Skip to content

Fix:补全 SQL Server IDENTITY_INSERT 关键字#2093

Merged
t8y2 merged 1 commit into
t8y2:mainfrom
zipg:codex/fix-sqlserver-identity-insert-completion
Jun 29, 2026
Merged

Fix:补全 SQL Server IDENTITY_INSERT 关键字#2093
t8y2 merged 1 commit into
t8y2:mainfrom
zipg:codex/fix-sqlserver-identity-insert-completion

Conversation

@zipg

@zipg zipg commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

修复内容

  • 在 SQL Server 专属补全关键字中加入 IDENTITY_INSERT
  • 补充常用 SQL Server SET 选项补全,包括 NOCOUNTXACT_ABORTANSI_*QUOTED_IDENTIFIERSTATISTICS IO/TIME/XML
  • 增加 set iden 以及常用 SET 选项输入场景的回归测试

验证

  • pnpm vitest run packages/app-tests/sqlCompletion.test.ts -t "suggests SQL Server IDENTITY_INSERT after SET"
  • pnpm vitest run packages/app-tests/sqlCompletion.test.ts
  • pnpm fmt

@zipg zipg force-pushed the codex/fix-sqlserver-identity-insert-completion branch from 8ffbbe1 to b600675 Compare June 29, 2026 06:23
@t8y2 t8y2 merged commit 3e9c6c4 into t8y2:main Jun 29, 2026
7 checks passed
@t8y2

t8y2 commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Thanks for the contribution! Merged in 3e9c6c4, will be released in the next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants