Skip to content

Conversation

@lewis-sanchez
Copy link
Contributor

@lewis-sanchez lewis-sanchez commented Dec 15, 2025

Pull Request Template – vscode-mssql

Description

This PR adds support for the following copy and export operations:

  • Copy - Copies the selected grid data
  • Copy with Headers - Copies selected grid data with column headers
  • Copy Headers - Doesn't copy grid data, but only the column headers of selected columns.
  • Export to CSV
  • Export to Excel
  • Export to JSON

Here's a demo of copying with these 3 copy options:
Copying Demo

This PR also adds support for exporting to CSV, Excel, and JSON.
Here's a demo of exporting to CSV
Export to CSV

Here's a demo of exporting to Excel
Export to Excel

Here's a demo of exporting to JSON
Export to JSON

Provide a clear, concise summary of the changes in this PR. What problem does it solve? Why is it needed? Link any related issues using issue closing keywords.

Code Changes Checklist

  • New or updated unit tests added
  • All existing tests pass (npm run test)
  • Code follows contributing guidelines
  • Telemetry/logging updated if relevant
  • No regressions or UX breakage

Reviewers: Please read our reviewer guidelines

@github-actions
Copy link

github-actions bot commented Dec 15, 2025

PR Changes

Category Target Branch PR Branch Difference
vscode-mssql VSIX 5285 KB 5300 KB ⚪ 15 KB ( 0% )
sql-database-projects VSIX 5668 KB 5668 KB ⚪ 0 KB ( 0% )

@codecov-commenter
Copy link

codecov-commenter commented Dec 15, 2025

Codecov Report

❌ Patch coverage is 98.38710% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 66.00%. Comparing base (eb6daf1) to head (d422e8a).
⚠️ Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
...rc/tableExplorer/tableExplorerWebViewController.ts 98.27% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #20812      +/-   ##
==========================================
+ Coverage   65.90%   66.00%   +0.09%     
==========================================
  Files         210      210              
  Lines       19989    20051      +62     
  Branches     2596     2600       +4     
==========================================
+ Hits        13174    13234      +60     
- Misses       6718     6719       +1     
- Partials       97       98       +1     
Files with missing lines Coverage Δ
extensions/mssql/src/constants/locConstants.ts 87.10% <100.00%> (+0.05%) ⬆️
...nsions/mssql/src/sharedInterfaces/tableExplorer.ts 100.00% <ø> (ø)
...rc/tableExplorer/tableExplorerWebViewController.ts 91.21% <98.27%> (+1.06%) ⬆️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

3 participants