Skip to content

feat(mssql): expose completion context scope#120

Merged
rebelice merged 2 commits intomainfrom
codex/mssql-collect-completion-context
Apr 30, 2026
Merged

feat(mssql): expose completion context scope#120
rebelice merged 2 commits intomainfrom
codex/mssql-collect-completion-context

Conversation

@rebelice
Copy link
Copy Markdown
Collaborator

Summary

  • Add MSSQL parser-native CollectCompletion context with prefix, intent, CTEs, and visible scope snapshots.
  • Track DML target, MERGE target/source, CTE refs, outer refs, set-op current arm scope, and VALUES derived table alias columns.
  • Route MSSQL completion table-ref extraction through the parser completion scope to avoid set-op reference leakage.

Test Plan

  • go test ./mssql/... -count=1

@rebelice rebelice merged commit 5281fa9 into main Apr 30, 2026
2 checks passed
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.

1 participant