microsoft / microsoft/vscode-mssql

[Task]: Replace tokenization approach from moveSchema with ScriptDom

Open
#22,709 0 comments 0 reactions 1 assignee View on GitHub

@ssreerama is already working on this.

Since Aug 11, 2026.

Task Team-filed (internal)
Dominant language
TypeScript
Stars
1.9k
Forks
610
Avg merge
2d 3h
Merged PRs (30d)
97

Description

Description

We need to use the scriptDom parser to get the sql object that we are using for 'MoveToSchema' context menu option, currenlty we have a inline tokenization approach that parses the file and outs the sql objects.

Steps to Reproduce
  1. MoveToschema provider has the usage of regex that can be completely replaceable with the scriptDom parser work
Affected Area
  • Connection dialog (SQL Server | Azure browse/Fabric browse)
  • Query editor
  • Query results panel
  • Object Explorer
  • GitHub Copilot integration
  • Preview/Edit data
  • Table Designer
  • Schema Designer
  • Schema Compare
  • Local SQL Server Container provisioning
  • SQL database in Fabric provisioning
  • DACPAC/BACPAC export/import
  • SQL Database projects
  • Query Plan Visualizer
  • Other (please describe below)
If you selected "Other", please describe the affected area

No response

Environment Information
  • Any
Confirmation
  • I have searched existing issues and couldn't find a match
  • I want to work on this issue

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.