From 164ba4def6a633f1d18b907c7268a1fe13db10b6 Mon Sep 17 00:00:00 2001 From: Benjin Dubishar Date: Mon, 10 Aug 2026 11:46:05 -0700 Subject: [PATCH 1/5] Proposed changelog update for 1.45.0 release --- CHANGELOG.md | 17 +++++++++++++++++ extensions/mssql/CHANGELOG.md | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2231fbc390..86ef8e6248 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Change Log +## Version 1.45.0 + +- Release date: August 19, 2026 +- Release status: GA + +### What's new in 1.45.0 + +- Introduced a new SQL formatter (Preview), enabled by default with `mssql.format.enablePreviewFormatter` and an option to temporarily use the existing formatter. +- Added a new React Flow execution plan renderer (Preview). Enable it with `mssql.preview.betaExecutionPlan` in settings. +- Enhanced Azure SQL and Fabric provisioning with favorite resources and post-deployment actions to connect to the database, download deployment scripts, and discover next steps. +- Added selection aggregates (Average, Count, and Sum) to the SQL Notebooks results status bar. +- Added a Restore command to the SQL Database Projects tree and support for custom code analysis rules from NuGet analyzer packages. +- Improved SQL Database Projects schema operations so new objects use the selected folder's schema and moved objects relocate to the corresponding schema folder. +- Improved streaming performance in the Query Results Grid preview. +- Improved Table Designer validation for default values and vector columns. +- Fixed reliability issues that could cancel queries unexpectedly or cause Object Explorer filtering to hang. + ## Version 1.44.1 - Release date: July 29, 2026 diff --git a/extensions/mssql/CHANGELOG.md b/extensions/mssql/CHANGELOG.md index 2231fbc390..86ef8e6248 100644 --- a/extensions/mssql/CHANGELOG.md +++ b/extensions/mssql/CHANGELOG.md @@ -1,5 +1,22 @@ # Change Log +## Version 1.45.0 + +- Release date: August 19, 2026 +- Release status: GA + +### What's new in 1.45.0 + +- Introduced a new SQL formatter (Preview), enabled by default with `mssql.format.enablePreviewFormatter` and an option to temporarily use the existing formatter. +- Added a new React Flow execution plan renderer (Preview). Enable it with `mssql.preview.betaExecutionPlan` in settings. +- Enhanced Azure SQL and Fabric provisioning with favorite resources and post-deployment actions to connect to the database, download deployment scripts, and discover next steps. +- Added selection aggregates (Average, Count, and Sum) to the SQL Notebooks results status bar. +- Added a Restore command to the SQL Database Projects tree and support for custom code analysis rules from NuGet analyzer packages. +- Improved SQL Database Projects schema operations so new objects use the selected folder's schema and moved objects relocate to the corresponding schema folder. +- Improved streaming performance in the Query Results Grid preview. +- Improved Table Designer validation for default values and vector columns. +- Fixed reliability issues that could cancel queries unexpectedly or cause Object Explorer filtering to hang. + ## Version 1.44.1 - Release date: July 29, 2026 From 0a3460e8d1de9a4e7040550ce5e8529658146b55 Mon Sep 17 00:00:00 2001 From: Benjin Dubishar Date: Mon, 10 Aug 2026 12:09:19 -0700 Subject: [PATCH 2/5] Align SQL Database Projects changelog format --- extensions/sql-database-projects/CHANGELOG.md | 116 ++++++++++++++---- 1 file changed, 95 insertions(+), 21 deletions(-) diff --git a/extensions/sql-database-projects/CHANGELOG.md b/extensions/sql-database-projects/CHANGELOG.md index 1673c9275b..f695f8c2f1 100644 --- a/extensions/sql-database-projects/CHANGELOG.md +++ b/extensions/sql-database-projects/CHANGELOG.md @@ -1,12 +1,11 @@ -# Changelog +# Change Log -All notable changes to the SQL Database Projects extension will be documented in this file. +## Version 1.7.0 -_The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)._ +- Release date: August 19, 2026 +- Release status: GA -## [Unreleased] - -## [1.7.0] - 2026-08-19 +### What's new in 1.7.0 - Added support for using **Move to Schema** on sequences and DML triggers - Added a **Restore Packages** command to the SQL project context menu for restoring the project's NuGet packages. @@ -15,7 +14,12 @@ _The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Added support for custom code analysis rules. Rules contributed by referenced NuGet analyzer packages now appear in the **Code Analysis Settings** dialog alongside the built-in rules. - Fixed an issue where the **Rename Symbol** feature was incorrectly enabled on SQL alias identifiers (column aliases, table aliases, subquery aliases, and CTE names), which could generate an invalid `.refactorlog` entry. -## [1.6.2] - 2026-07-15 +## Version 1.6.2 + +- Release date: July 15, 2026 +- Release status: GA + +### What's new in 1.6.2 - Added **Rename Symbol** refactoring support for SQL project files. - Added **Move to Schema** refactoring support for SQL project files. @@ -23,11 +27,21 @@ _The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Removed the preview feature **"Generate SQL Projects from OpenAPI/Swagger spec"**. - Fixed an issue where database projects created objects with wrong path delimiter on Linux/macOS. -## [1.6.1] - 2026-06-03 +## Version 1.6.1 + +- Release date: June 3, 2026 +- Release status: GA + +### What's new in 1.6.1 - Fixed an issue where SQL Database projects would fail when being built into a dacpac -## [1.6.0] - 2026-06-02 +## Version 1.6.0 + +- Release date: June 2, 2026 +- Release status: GA + +### What's new in 1.6.0 - Improved Publish Project dialog performance for faster initial loading, and improved port number validation in Publish Project dialog to correctly show available port. - Improved SQL project loading performance. @@ -38,20 +52,35 @@ _The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Diagnostics (red squiggles) for SQL errors and warnings - Cross-file duplicate naming detection -## [1.5.9] - 2026-04-22 +## Version 1.5.9 + +- Release date: April 22, 2026 +- Release status: GA + +### What's new in 1.5.9 - Added automatic folder creation (e.g. `dbo/Tables/`) when adding SQL objects to a project. Can be disabled via the `sqlDatabaseProjects.autoCreateFolders` setting. - Added quick access to the [SQL Database Projects documentation](https://aka.ms/sqlprojects) from the project context menu and panel toolbar. - Fixed an issue where SQL object templates (table, view, stored procedure) did not reflect the schema specified in the object name. - Fixed an issue where SQL projects with a missing `ProjectGuid` were silently modified on load with an invalid all-zeros GUID, causing unexpected git dirty state. The extension now prompts the user and generates a valid unique GUID only upon acceptance. -## [1.5.8] - 2026-03-18 +## Version 1.5.8 + +- Release date: March 18, 2026 +- Release status: GA + +### What's new in 1.5.8 - Adds support for Microsoft.Build.Sql 2.1.0 - Code Analysis settings dialog is now generally available (GA). - Added HTTP(S) proxy support for downloading build DLLs, enabling the extension to work in environments behind a corporate proxy -## [1.5.7] - 2026-02-27 +## Version 1.5.7 + +- Release date: February 27, 2026 +- Release status: GA + +### What's new in 1.5.7 - Publish dialog is now generally available (GA). - Added five new SQL object templates: Schema, Table-Valued Function, Trigger, Database Trigger, and Sequence. @@ -60,7 +89,12 @@ _The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Fixed an issue where adding a DbFabric/FabricDw NuGet package reference through the database reference incorrectly displayed the master system database as msdb. - Fixed an issue where deleting DbFabric/FabricDw master NuGet package references from the SQL project database references failed. -## [1.5.6] - 2026-01-28 +## Version 1.5.6 + +- Release date: January 28, 2026 +- Release status: GA + +### What's new in 1.5.6 - Added a new 'Target platform' selector when creating an Azure SQL database project. - Added an icon and 'Publish Project' header to the Publish (preview) dialog. @@ -70,31 +104,61 @@ _The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Fixed a problem where selecting 'View changes in schema compare' from 'Update project from database' did not automatically launch Schema Compare. - Resolved a build failure that occurred when the Windows terminal default profile was set to Git Bash. -## [1.5.5] - 2025-11-18 +## Version 1.5.5 + +- Release date: November 18, 2025 +- Release status: GA + +### What's new in 1.5.5 - Adds support for targeting SQL Server 2025 in SQL projects. - Adds support for Microsoft.Build.Sql 2.0.0 - Adds preview support for publishing SQL projects in VS Code with an enhanced publish dialog. - Fixed excessive build output by removing the verbosity parameter from the dotnet build command, preventing output from exceeding terminal scroll limits. -## [1.5.4] - 2025-09-11 +## Version 1.5.4 + +- Release date: September 11, 2025 +- Release status: GA + +### What's new in 1.5.4 - Adds support for updating a SQL project from an existing database with 'Update project from database' option. -## [1.5.3] - 2025-06-18 +## Version 1.5.3 + +- Release date: June 18, 2025 +- Release status: GA + +### What's new in 1.5.3 - Adds support for SQL project build as a VS Code task. -## [1.5.2] - 2025-05-19 +## Version 1.5.2 + +- Release date: May 19, 2025 +- Release status: GA + +### What's new in 1.5.2 - Fixed an issue where the menu item for creating a project from an OpenAPI definition was appearing in multiple places. -## [1.5.1] - 2025-04-30 +## Version 1.5.1 + +- Release date: April 30, 2025 +- Release status: GA + +### What's new in 1.5.1 - Fixed an issue where the license for the extension was not being displayed correctly in the marketplace. - Fixed an issue where projects created from SQL database in Fabric had the target platform incorrectly configured. -## [1.5.0] - 2025-03-31 +## Version 1.5.0 + +- Release date: March 31, 2025 +- Release status: GA + +### What's new in 1.5.0 - Bumped the minimum required version of the .NET SDK to 8.0.0. - Bumped the axios and @babel/runtime dependencies. @@ -104,11 +168,21 @@ _The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Updated the label on the `SqlDbFabric` target platform to match the product name "SQL database in Fabric". - Updated the default Microsoft.Build.Sql version to 1.0.0 for new projects and building original-style projects. -## [1.4.6] - 2025-02-21 +## Version 1.4.6 + +- Release date: February 21, 2025 +- Release status: GA + +### What's new in 1.4.6 - Fixed an issue where the SQL Database Projects extension was not correctly uninstalling in VS Code. [#26215](https://github.com/microsoft/vscode-mssql/issues/18822) -## [1.4.5] - 2024-12-18 +## Version 1.4.5 + +- Release date: December 18, 2024 +- Release status: GA + +### What's new in 1.4.5 - Fixed an issue where the extension in VS Code was not correctly setting the target platform for SQL projects created from existing databases and defaulted to SQL Server 2022 for all projects. - Updated the default Microsoft.Build.Sql version to 0.2.5-preview for new projects and building original-style projects. From f06fb91378b4afef02e20174af9b2e9eee8aa84e Mon Sep 17 00:00:00 2001 From: Benjin Dubishar Date: Tue, 11 Aug 2026 14:01:14 -0700 Subject: [PATCH 3/5] Credit Entra account performance contribution --- CHANGELOG.md | 2 ++ extensions/mssql/CHANGELOG.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 86ef8e6248..23e64ffbb9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,8 @@ - Improved Table Designer validation for default values and vector columns. - Fixed reliability issues that could cancel queries unexpectedly or cause Object Explorer filtering to hang. +Thank you to @cjohnsto-nz for contributing Microsoft Entra account and token resolution performance improvements! + ## Version 1.44.1 - Release date: July 29, 2026 diff --git a/extensions/mssql/CHANGELOG.md b/extensions/mssql/CHANGELOG.md index 86ef8e6248..23e64ffbb9 100644 --- a/extensions/mssql/CHANGELOG.md +++ b/extensions/mssql/CHANGELOG.md @@ -17,6 +17,8 @@ - Improved Table Designer validation for default values and vector columns. - Fixed reliability issues that could cancel queries unexpectedly or cause Object Explorer filtering to hang. +Thank you to @cjohnsto-nz for contributing Microsoft Entra account and token resolution performance improvements! + ## Version 1.44.1 - Release date: July 29, 2026 From e26671b9a2b6301bf5c914fe9b9c6ca0b31151ce Mon Sep 17 00:00:00 2001 From: Benjin Dubishar Date: Tue, 11 Aug 2026 15:41:44 -0700 Subject: [PATCH 4/5] Update 1.45.0 changelog readiness --- CHANGELOG.md | 11 ++++++----- extensions/mssql/CHANGELOG.md | 11 ++++++----- extensions/mssql/l10n/bundle.l10n.json | 5 ++--- extensions/mssql/src/configurations/changelog.ts | 2 -- extensions/mssql/src/constants/locConstants.ts | 2 +- extensions/mssql/src/webviews/common/locConstants.ts | 4 ++-- localization/xliff/vscode-mssql.xlf | 7 ++----- 7 files changed, 19 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 23e64ffbb9..3c401b778e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,15 +7,16 @@ ### What's new in 1.45.0 +- Released Azure SQL and Fabric provisioning as generally available (GA), with favorite resources and post-deployment actions to connect to the database, download deployment scripts, and discover next steps. +- Released Shortcuts Configuration as generally available (GA), allowing you to create and manage keyboard shortcuts for Quick Queries, the Query Editor, and the Results Grid. - Introduced a new SQL formatter (Preview), enabled by default with `mssql.format.enablePreviewFormatter` and an option to temporarily use the existing formatter. - Added a new React Flow execution plan renderer (Preview). Enable it with `mssql.preview.betaExecutionPlan` in settings. -- Enhanced Azure SQL and Fabric provisioning with favorite resources and post-deployment actions to connect to the database, download deployment scripts, and discover next steps. -- Added selection aggregates (Average, Count, and Sum) to the SQL Notebooks results status bar. -- Added a Restore command to the SQL Database Projects tree and support for custom code analysis rules from NuGet analyzer packages. -- Improved SQL Database Projects schema operations so new objects use the selected folder's schema and moved objects relocate to the corresponding schema folder. +- Fixed an issue that could cause Object Explorer filtering to hang. +- Fixed an issue that could cancel queries unexpectedly. - Improved streaming performance in the Query Results Grid preview. +- Added a Restore command and custom NuGet analyzer support to SQL Database Projects, and improved schema operations for new and moved objects. +- Added selection aggregates (Average, Count, and Sum) to the SQL Notebooks results status bar. - Improved Table Designer validation for default values and vector columns. -- Fixed reliability issues that could cancel queries unexpectedly or cause Object Explorer filtering to hang. Thank you to @cjohnsto-nz for contributing Microsoft Entra account and token resolution performance improvements! diff --git a/extensions/mssql/CHANGELOG.md b/extensions/mssql/CHANGELOG.md index 23e64ffbb9..3c401b778e 100644 --- a/extensions/mssql/CHANGELOG.md +++ b/extensions/mssql/CHANGELOG.md @@ -7,15 +7,16 @@ ### What's new in 1.45.0 +- Released Azure SQL and Fabric provisioning as generally available (GA), with favorite resources and post-deployment actions to connect to the database, download deployment scripts, and discover next steps. +- Released Shortcuts Configuration as generally available (GA), allowing you to create and manage keyboard shortcuts for Quick Queries, the Query Editor, and the Results Grid. - Introduced a new SQL formatter (Preview), enabled by default with `mssql.format.enablePreviewFormatter` and an option to temporarily use the existing formatter. - Added a new React Flow execution plan renderer (Preview). Enable it with `mssql.preview.betaExecutionPlan` in settings. -- Enhanced Azure SQL and Fabric provisioning with favorite resources and post-deployment actions to connect to the database, download deployment scripts, and discover next steps. -- Added selection aggregates (Average, Count, and Sum) to the SQL Notebooks results status bar. -- Added a Restore command to the SQL Database Projects tree and support for custom code analysis rules from NuGet analyzer packages. -- Improved SQL Database Projects schema operations so new objects use the selected folder's schema and moved objects relocate to the corresponding schema folder. +- Fixed an issue that could cause Object Explorer filtering to hang. +- Fixed an issue that could cancel queries unexpectedly. - Improved streaming performance in the Query Results Grid preview. +- Added a Restore command and custom NuGet analyzer support to SQL Database Projects, and improved schema operations for new and moved objects. +- Added selection aggregates (Average, Count, and Sum) to the SQL Notebooks results status bar. - Improved Table Designer validation for default values and vector columns. -- Fixed reliability issues that could cancel queries unexpectedly or cause Object Explorer filtering to hang. Thank you to @cjohnsto-nz for contributing Microsoft Entra account and token resolution performance improvements! diff --git a/extensions/mssql/l10n/bundle.l10n.json b/extensions/mssql/l10n/bundle.l10n.json index c2ca543ba2..0e2000c8c1 100644 --- a/extensions/mssql/l10n/bundle.l10n.json +++ b/extensions/mssql/l10n/bundle.l10n.json @@ -23,7 +23,7 @@ "Create Database": "Create Database", "Drop Database": "Drop Database", "Rename Database": "Rename Database", - "Shortcuts Configuration (Preview)": "Shortcuts Configuration (Preview)", + "Shortcuts Configuration": "Shortcuts Configuration", "Configuration saved.": "Configuration saved.", "Quick Query slot must be between 1 and {0}./{0} is the maximum Quick Query slot number": { "message": "Quick Query slot must be between 1 and {0}.", @@ -1867,7 +1867,6 @@ "Highlights": "Highlights", "Schema Designer with GitHub Copilot": "Schema Designer with GitHub Copilot", "Use natural language to design database schemas directly within the visual Schema Designer. Create schemas from scratch, evolve existing designs, review changes through a diff view, and import external artifacts - all reflected live in the visual diagram and T-SQL script.": "Use natural language to design database schemas directly within the visual Schema Designer. Create schemas from scratch, evolve existing designs, review changes through a diff view, and import external artifacts - all reflected live in the visual diagram and T-SQL script.", - "Shortcuts Configuration": "Shortcuts Configuration", "Create and manage keyboard shortcuts for frequently used queries, as well as query editor and results grid actions, to discover available commands and execute them more efficiently.": "Create and manage keyboard shortcuts for frequently used queries, as well as query editor and results grid actions, to discover available commands and execute them more efficiently.", "Azure SQL databases provisioning": "Azure SQL databases provisioning", "Easily start with the Azure SQL database free tier to create and connect to a database directly from your editor at no cost.": "Easily start with the Azure SQL database free tier to create and connect to a database directly from your editor at no cost.", @@ -3709,7 +3708,7 @@ "Smart performance": "Smart performance", "Automatic tuning features like automatic index creation enabled by default.": "Automatic tuning features like automatic index creation enabled by default.", "Loading Azure SQL Database...": "Loading Azure SQL Database...", - "Create an Azure SQL Database (Preview)": "Create an Azure SQL Database (Preview)", + "Create an Azure SQL Database": "Create an Azure SQL Database", "Try Azure SQL Database at no cost with our free tier offer! Provision a fully managed cloud database directly from VS Code.": "Try Azure SQL Database at no cost with our free tier offer! Provision a fully managed cloud database directly from VS Code.", "Developer-friendly transactional database using the Azure SQL Database Engine — at no cost for prototyping and learning.": "Developer-friendly transactional database using the Azure SQL Database Engine — at no cost for prototyping and learning.", "Free compute & storage": "Free compute & storage", diff --git a/extensions/mssql/src/configurations/changelog.ts b/extensions/mssql/src/configurations/changelog.ts index 2f357e2353..6f980b347c 100644 --- a/extensions/mssql/src/configurations/changelog.ts +++ b/extensions/mssql/src/configurations/changelog.ts @@ -15,7 +15,6 @@ export const changelogConfig: ChangelogWebviewState = { { title: locConstants.Changelog.shortcutsConfigurationTitle, description: locConstants.Changelog.shortcutsConfigurationDescription, - isPreview: true, actions: [ { label: locConstants.Changelog.tryIt, @@ -32,7 +31,6 @@ export const changelogConfig: ChangelogWebviewState = { { title: locConstants.Changelog.azureSqlProvisioningTitle, description: locConstants.Changelog.azureSqlProvisioningDescription, - isPreview: true, actions: [ { label: locConstants.Changelog.tryIt, diff --git a/extensions/mssql/src/constants/locConstants.ts b/extensions/mssql/src/constants/locConstants.ts index eb378317d5..7de0b4f810 100644 --- a/extensions/mssql/src/constants/locConstants.ts +++ b/extensions/mssql/src/constants/locConstants.ts @@ -41,7 +41,7 @@ export let renameDatabaseDialogTitle = l10n.t("Rename Database"); export let createDatabaseWebviewTitle = l10n.t("Create Database"); export let dropDatabaseWebviewTitle = l10n.t("Drop Database"); export let renameDatabaseWebviewTitle = l10n.t("Rename Database"); -export let shortcutsConfigurationTitle = l10n.t("Shortcuts Configuration (Preview)"); +export let shortcutsConfigurationTitle = l10n.t("Shortcuts Configuration"); export let shortcutsConfigurationSaved = l10n.t("Configuration saved."); export let quickQuerySlotOutOfRange = (maxSlot: number) => l10n.t({ diff --git a/extensions/mssql/src/webviews/common/locConstants.ts b/extensions/mssql/src/webviews/common/locConstants.ts index dea112368c..db5a0d462c 100644 --- a/extensions/mssql/src/webviews/common/locConstants.ts +++ b/extensions/mssql/src/webviews/common/locConstants.ts @@ -443,7 +443,7 @@ export class LocConstants { public get shortcutsConfiguration() { return { - title: l10n.t("Shortcuts Configuration (Preview)"), + title: l10n.t("Shortcuts Configuration"), pageAriaLabel: l10n.t("Shortcuts configuration page"), configurationSections: l10n.t("Configuration sections"), subtitle: l10n.t("Configure Quick Query and Extension shortcuts."), @@ -2550,7 +2550,7 @@ export class LocConstants { public get azureSqlDatabase() { return { loadingAzureSqlDatabase: l10n.t("Loading Azure SQL Database..."), - azureSqlDatabaseHeader: l10n.t("Create an Azure SQL Database (Preview)"), + azureSqlDatabaseHeader: l10n.t("Create an Azure SQL Database"), azureSqlDatabaseDescription: l10n.t( "Try Azure SQL Database at no cost with our free tier offer! Provision a fully managed cloud database directly from VS Code.", ), diff --git a/localization/xliff/vscode-mssql.xlf b/localization/xliff/vscode-mssql.xlf index 7c848daea1..2243c93009 100644 --- a/localization/xliff/vscode-mssql.xlf +++ b/localization/xliff/vscode-mssql.xlf @@ -1983,8 +1983,8 @@ Create a new profiling session - - Create an Azure SQL Database (Preview) + + Create an Azure SQL Database Create and manage keyboard shortcuts for frequently used queries, as well as query editor and results grid actions, to discover available commands and execute them more efficiently. @@ -7073,9 +7073,6 @@ Shortcuts Configuration - - Shortcuts Configuration (Preview) - Shortcuts configuration page From cdad9d951a3794ce2c88a9f48ec50ac6ce2610da Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 12 Aug 2026 19:58:28 +0000 Subject: [PATCH 5/5] Refine 1.45.0 changelog wording and document preview flags in READMEs Co-authored-by: Benjin <1609827+Benjin@users.noreply.github.com> --- CHANGELOG.md | 6 +-- README.md | 70 ++++++++++++++++++----------------- extensions/mssql/CHANGELOG.md | 6 +-- extensions/mssql/README.md | 70 ++++++++++++++++++----------------- 4 files changed, 80 insertions(+), 72 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c401b778e..632f882c8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,10 +7,10 @@ ### What's new in 1.45.0 -- Released Azure SQL and Fabric provisioning as generally available (GA), with favorite resources and post-deployment actions to connect to the database, download deployment scripts, and discover next steps. +- Released Azure SQL Database provisioning as generally available (GA) for easily creating new free tier Azure SQL databases, with post-deployment actions to connect to the database, download deployment scripts (ARM template, Bicep, and Terraform), and discover next steps. - Released Shortcuts Configuration as generally available (GA), allowing you to create and manage keyboard shortcuts for Quick Queries, the Query Editor, and the Results Grid. -- Introduced a new SQL formatter (Preview), enabled by default with `mssql.format.enablePreviewFormatter` and an option to temporarily use the existing formatter. -- Added a new React Flow execution plan renderer (Preview). Enable it with `mssql.preview.betaExecutionPlan` in settings. +- Introduced a new SQL formatter (Preview), enabled by default with `mssql.format.enablePreviewFormatter`, that produces more consistent T-SQL formatting with options for keyword casing, clause and column alignment, indentation, and comment preservation. +- Added a new execution plan viewer (Preview) with improved performance. Enable it with `mssql.preview.betaExecutionPlan` in settings. - Fixed an issue that could cause Object Explorer filtering to hang. - Fixed an issue that could cancel queries unexpectedly. - Improved streaming performance in the Query Results Grid preview. diff --git a/README.md b/README.md index d3a97971b5..13c1119517 100644 --- a/README.md +++ b/README.md @@ -25,42 +25,44 @@ The MSSQL extension provides a rich set of capabilities for SQL development. Eac ### General Availability -| Capability | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | -| [Connection Dialog](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#connection-dialog) | Connect using parameters, connection strings, or Azure/Fabric browse. Organize connections with color-coded groups | -| [Object Explorer](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#object-explorer-filtering) | Browse and filter database objects with type-aware search | -| [Database Object Search](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-database-operations#database-object-search) | Search for tables, views, stored procedures, and other objects across a database | -| [Fabric integration](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-fabric-integration) | Browse Fabric workspaces and provision SQL databases | -| [Query Results](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#query-results-pane) | View, sort, copy, and export query results | -| [Query Plan Visualizer](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#query-plan-visualizer) | Analyze execution plans with interactive node navigation | -| [Query Profiler](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-query-profiler) | Real-time database activity monitoring with Extended Events | -| [Table Designer](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#table-designer) | Create and manage tables with a visual interface | -| [Schema Designer](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-schema-designer) | Visual schema modeling with drag-and-drop, auto-layout, and T-SQL script generation | -| [GitHub Copilot in Schema Designer](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-schema-designer-copilot) | Natural language schema design within the visual Schema Designer | -| [Schema Compare](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-schema-compare) | Compare and synchronize schemas between databases or DACPACs | -| [GitHub Copilot integration](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/github-copilot/overview) | AI-assisted SQL development with natural language chat and agent mode | -| [Local SQL Server containers](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-local-container) | Create and manage SQL Server containers locally | -| [View & Edit Data](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#view--edit-data) | Browse and modify table data inline without writing T-SQL | -| [Database Operations](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-database-operations) | Rename, back up, restore, import data from flat files, and drop databases from Object Explorer | -| [Data-tier Application (DACPAC and BACPAC)](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-data-tier-application) | Deploy, extract, import, and export DACPAC and BACPAC files | -| [Fabric integration](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-fabric-integration) | Browse Fabric workspaces and provision SQL databases | -| [SQL Database Projects](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code) | Build, publish with the visual Publish Dialog, and analyze SQL projects with Code Analysis | -| [Query Profiler](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-query-profiler) | Real-time database activity monitoring with Extended Events | -| [Backup and Restore](https://aka.ms/vscode-mssql-backup-and-restore) | Back up and restore SQL Server databases | -| [Flat File Import](https://aka.ms/vscode-mssql-import-data) | Import flat files (CSV, TXT) as new database tables using a guided wizard | -| [Object Search](https://aka.ms/vscode-mssql-object-search) | Search for database objects by name across a server or database | -| [Database Management](https://aka.ms/vscode-mssql-database-management-ops) | Create, rename, and drop databases | -| [SQL Notebooks](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-sql-notebooks) | Jupyter-based SQL notebooks with rich results and multi-kernel support | -| [Data API builder](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-data-api-builder) | Create REST, GraphQL, and MCP endpoints for SQL databases | -| [GitHub Copilot in Data API builder](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-data-api-builder) | Generate Data API builder configs using natural language | +| Capability | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | +| [Connection Dialog](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#connection-dialog) | Connect using parameters, connection strings, or Azure/Fabric browse. Organize connections with color-coded groups | +| [Object Explorer](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#object-explorer-filtering) | Browse and filter database objects with type-aware search | +| [Database Object Search](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-database-operations#database-object-search) | Search for tables, views, stored procedures, and other objects across a database | +| [Fabric integration](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-fabric-integration) | Browse Fabric workspaces and provision SQL databases | +| [Query Results](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#query-results-pane) | View, sort, copy, and export query results | +| [Query Plan Visualizer](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#query-plan-visualizer) | Analyze execution plans with interactive node navigation | +| [Query Profiler](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-query-profiler) | Real-time database activity monitoring with Extended Events | +| [Table Designer](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#table-designer) | Create and manage tables with a visual interface | +| [Schema Designer](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-schema-designer) | Visual schema modeling with drag-and-drop, auto-layout, and T-SQL script generation | +| [GitHub Copilot in Schema Designer](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-schema-designer-copilot) | Natural language schema design within the visual Schema Designer | +| [Schema Compare](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-schema-compare) | Compare and synchronize schemas between databases or DACPACs | +| [GitHub Copilot integration](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/github-copilot/overview) | AI-assisted SQL development with natural language chat and agent mode | +| [Local SQL Server containers](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-local-container) | Create and manage SQL Server containers locally | +| [View & Edit Data](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#view--edit-data) | Browse and modify table data inline without writing T-SQL | +| [Database Operations](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-database-operations) | Rename, back up, restore, import data from flat files, and drop databases from Object Explorer | +| [Data-tier Application (DACPAC and BACPAC)](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-data-tier-application) | Deploy, extract, import, and export DACPAC and BACPAC files | +| [Fabric integration](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-fabric-integration) | Browse Fabric workspaces and provision SQL databases | +| [SQL Database Projects](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code) | Build, publish with the visual Publish Dialog, and analyze SQL projects with Code Analysis | +| [Query Profiler](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-query-profiler) | Real-time database activity monitoring with Extended Events | +| [Backup and Restore](https://aka.ms/vscode-mssql-backup-and-restore) | Back up and restore SQL Server databases | +| [Flat File Import](https://aka.ms/vscode-mssql-import-data) | Import flat files (CSV, TXT) as new database tables using a guided wizard | +| [Object Search](https://aka.ms/vscode-mssql-object-search) | Search for database objects by name across a server or database | +| [Database Management](https://aka.ms/vscode-mssql-database-management-ops) | Create, rename, and drop databases | +| [SQL Notebooks](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-sql-notebooks) | Jupyter-based SQL notebooks with rich results and multi-kernel support | +| [Data API builder](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-data-api-builder) | Create REST, GraphQL, and MCP endpoints for SQL databases | +| [GitHub Copilot in Data API builder](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-data-api-builder) | Generate Data API builder configs using natural language | +| [Azure SQL database provisioning](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-azure-integration) | Create and connect to free tier Azure SQL database | +| [Shortcuts Configuration](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#shortcuts-configuration) | Create and manage keyboard shortcuts for Quick Queries, Query Editor, and Results Grid | ### Public Preview -| Capability | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| [Azure SQL database provisioning](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-azure-integration) | Create and connect to free tier Azure SQL database | -| [Shortcuts Configuration](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code?view=sql-server-ver17#shortcuts-configuration) | Create and manage keyboard shortcuts for Quick Queries, Query Editor, and Results Grid | -| [New Query Results Grid](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code?view=sql-server-ver17#query-results-pane) | New results grid experience with more column customizations (freeze, show, hide) | +| Capability | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| [New Query Results Grid](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code?view=sql-server-ver17#query-results-pane) | New results grid experience with more column customizations (freeze, show, hide) | +| New SQL formatter (`mssql.format.enablePreviewFormatter`) | New T-SQL formatter, enabled by default, with more formatting options | +| New execution plan viewer (`mssql.preview.betaExecutionPlan`) | New execution plan viewer with improved performance | ## Using the MSSQL Extension @@ -162,6 +164,7 @@ Configure the MSSQL extension in user preferences (`Cmd+,`) or workspace setting // Query Formatting { + "mssql.format.enablePreviewFormatter": true, // (Preview) Use the new SQL formatter with additional formatting options "mssql.format.alignColumnDefinitionsInColumns": false, // Align column definitions in CREATE TABLE statements "mssql.format.datatypeCasing": "none", // Datatype casing: "none" | "uppercase" | "lowercase" "mssql.format.keywordCasing": "none", // SQL keyword casing: "none" | "uppercase" | "lowercase" @@ -217,6 +220,7 @@ Configure the MSSQL extension in user preferences (`Cmd+,`) or workspace setting { "mssql.openQueryResultsInTabByDefault": false, // Open query results in a tab instead of side panel "mssql.preview.betaResultsGrid": false, // (Preview) Enable the new query results grid with improved state management and column show/hide/freeze options + "mssql.preview.betaExecutionPlan": false, // (Preview) Enable the new execution plan viewer with improved performance "mssql.resultsFontFamily": null, // Font family for results grid (null = VS Code default) "mssql.resultsFontSize": null, // Font size for results grid in pixels (null = VS Code default) "mssql.defaultQueryResultsViewMode": "Grid", // Default results view: "Grid" or "Text" diff --git a/extensions/mssql/CHANGELOG.md b/extensions/mssql/CHANGELOG.md index 3c401b778e..632f882c8f 100644 --- a/extensions/mssql/CHANGELOG.md +++ b/extensions/mssql/CHANGELOG.md @@ -7,10 +7,10 @@ ### What's new in 1.45.0 -- Released Azure SQL and Fabric provisioning as generally available (GA), with favorite resources and post-deployment actions to connect to the database, download deployment scripts, and discover next steps. +- Released Azure SQL Database provisioning as generally available (GA) for easily creating new free tier Azure SQL databases, with post-deployment actions to connect to the database, download deployment scripts (ARM template, Bicep, and Terraform), and discover next steps. - Released Shortcuts Configuration as generally available (GA), allowing you to create and manage keyboard shortcuts for Quick Queries, the Query Editor, and the Results Grid. -- Introduced a new SQL formatter (Preview), enabled by default with `mssql.format.enablePreviewFormatter` and an option to temporarily use the existing formatter. -- Added a new React Flow execution plan renderer (Preview). Enable it with `mssql.preview.betaExecutionPlan` in settings. +- Introduced a new SQL formatter (Preview), enabled by default with `mssql.format.enablePreviewFormatter`, that produces more consistent T-SQL formatting with options for keyword casing, clause and column alignment, indentation, and comment preservation. +- Added a new execution plan viewer (Preview) with improved performance. Enable it with `mssql.preview.betaExecutionPlan` in settings. - Fixed an issue that could cause Object Explorer filtering to hang. - Fixed an issue that could cancel queries unexpectedly. - Improved streaming performance in the Query Results Grid preview. diff --git a/extensions/mssql/README.md b/extensions/mssql/README.md index f17388e712..760b477d49 100644 --- a/extensions/mssql/README.md +++ b/extensions/mssql/README.md @@ -25,42 +25,44 @@ The MSSQL extension provides a rich set of capabilities for SQL development. Eac ### General Availability -| Capability | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | -| [Connection Dialog](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#connection-dialog) | Connect using parameters, connection strings, or Azure/Fabric browse. Organize connections with color-coded groups | -| [Object Explorer](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#object-explorer-filtering) | Browse and filter database objects with type-aware search | -| [Database Object Search](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-database-operations#database-object-search) | Search for tables, views, stored procedures, and other objects across a database | -| [Fabric integration](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-fabric-integration) | Browse Fabric workspaces and provision SQL databases | -| [Query Results](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#query-results-pane) | View, sort, copy, and export query results | -| [Query Plan Visualizer](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#query-plan-visualizer) | Analyze execution plans with interactive node navigation | -| [Query Profiler](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-query-profiler) | Real-time database activity monitoring with Extended Events | -| [Table Designer](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#table-designer) | Create and manage tables with a visual interface | -| [Schema Designer](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-schema-designer) | Visual schema modeling with drag-and-drop, auto-layout, and T-SQL script generation | -| [GitHub Copilot in Schema Designer](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-schema-designer-copilot) | Natural language schema design within the visual Schema Designer | -| [Schema Compare](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-schema-compare) | Compare and synchronize schemas between databases or DACPACs | -| [GitHub Copilot integration](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/github-copilot/overview) | AI-assisted SQL development with natural language chat and agent mode | -| [Local SQL Server containers](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-local-container) | Create and manage SQL Server containers locally | -| [View & Edit Data](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#view--edit-data) | Browse and modify table data inline without writing T-SQL | -| [Database Operations](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-database-operations) | Rename, back up, restore, import data from flat files, and drop databases from Object Explorer | -| [Data-tier Application (DACPAC and BACPAC)](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-data-tier-application) | Deploy, extract, import, and export DACPAC and BACPAC files | -| [Fabric integration](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-fabric-integration) | Browse Fabric workspaces and provision SQL databases | -| [SQL Database Projects](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code) | Build, publish with the visual Publish Dialog, and analyze SQL projects with Code Analysis | -| [Query Profiler](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-query-profiler) | Real-time database activity monitoring with Extended Events | -| [Backup and Restore](https://aka.ms/vscode-mssql-backup-and-restore) | Back up and restore SQL Server databases | -| [Flat File Import](https://aka.ms/vscode-mssql-import-data) | Import flat files (CSV, TXT) as new database tables using a guided wizard | -| [Object Search](https://aka.ms/vscode-mssql-object-search) | Search for database objects by name across a server or database | -| [Database Management](https://aka.ms/vscode-mssql-database-management-ops) | Create, rename, and drop databases | -| [SQL Notebooks](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-sql-notebooks) | Jupyter-based SQL notebooks with rich results and multi-kernel support | -| [Data API builder](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-data-api-builder) | Create REST, GraphQL, and MCP endpoints for SQL databases | -| [GitHub Copilot in Data API builder](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-data-api-builder) | Generate Data API builder configs using natural language | +| Capability | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | +| [Connection Dialog](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#connection-dialog) | Connect using parameters, connection strings, or Azure/Fabric browse. Organize connections with color-coded groups | +| [Object Explorer](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#object-explorer-filtering) | Browse and filter database objects with type-aware search | +| [Database Object Search](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-database-operations#database-object-search) | Search for tables, views, stored procedures, and other objects across a database | +| [Fabric integration](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-fabric-integration) | Browse Fabric workspaces and provision SQL databases | +| [Query Results](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#query-results-pane) | View, sort, copy, and export query results | +| [Query Plan Visualizer](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#query-plan-visualizer) | Analyze execution plans with interactive node navigation | +| [Query Profiler](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-query-profiler) | Real-time database activity monitoring with Extended Events | +| [Table Designer](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#table-designer) | Create and manage tables with a visual interface | +| [Schema Designer](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-schema-designer) | Visual schema modeling with drag-and-drop, auto-layout, and T-SQL script generation | +| [GitHub Copilot in Schema Designer](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-schema-designer-copilot) | Natural language schema design within the visual Schema Designer | +| [Schema Compare](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-schema-compare) | Compare and synchronize schemas between databases or DACPACs | +| [GitHub Copilot integration](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/github-copilot/overview) | AI-assisted SQL development with natural language chat and agent mode | +| [Local SQL Server containers](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-local-container) | Create and manage SQL Server containers locally | +| [View & Edit Data](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#view--edit-data) | Browse and modify table data inline without writing T-SQL | +| [Database Operations](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-database-operations) | Rename, back up, restore, import data from flat files, and drop databases from Object Explorer | +| [Data-tier Application (DACPAC and BACPAC)](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-data-tier-application) | Deploy, extract, import, and export DACPAC and BACPAC files | +| [Fabric integration](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-fabric-integration) | Browse Fabric workspaces and provision SQL databases | +| [SQL Database Projects](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code) | Build, publish with the visual Publish Dialog, and analyze SQL projects with Code Analysis | +| [Query Profiler](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-query-profiler) | Real-time database activity monitoring with Extended Events | +| [Backup and Restore](https://aka.ms/vscode-mssql-backup-and-restore) | Back up and restore SQL Server databases | +| [Flat File Import](https://aka.ms/vscode-mssql-import-data) | Import flat files (CSV, TXT) as new database tables using a guided wizard | +| [Object Search](https://aka.ms/vscode-mssql-object-search) | Search for database objects by name across a server or database | +| [Database Management](https://aka.ms/vscode-mssql-database-management-ops) | Create, rename, and drop databases | +| [SQL Notebooks](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-sql-notebooks) | Jupyter-based SQL notebooks with rich results and multi-kernel support | +| [Data API builder](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-data-api-builder) | Create REST, GraphQL, and MCP endpoints for SQL databases | +| [GitHub Copilot in Data API builder](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-data-api-builder) | Generate Data API builder configs using natural language | +| [Azure SQL database provisioning](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-azure-integration) | Create and connect to free tier Azure SQL database | +| [Shortcuts Configuration](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code#shortcuts-configuration) | Create and manage keyboard shortcuts for Quick Queries, Query Editor, and Results Grid | ### Public Preview -| Capability | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| [Azure SQL database provisioning](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-azure-integration) | Create and connect to free tier Azure SQL database | -| [Shortcuts Configuration](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code?view=sql-server-ver17#shortcuts-configuration) | Create and manage keyboard shortcuts for Quick Queries, Query Editor, and Results Grid | -| [New Query Results Grid](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code?view=sql-server-ver17#query-results-pane) | New results grid experience with more column customizations (freeze, show, hide) | +| Capability | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| [New Query Results Grid](https://learn.microsoft.com/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code?view=sql-server-ver17#query-results-pane) | New results grid experience with more column customizations (freeze, show, hide) | +| New SQL formatter (`mssql.format.enablePreviewFormatter`) | New T-SQL formatter, enabled by default, with more formatting options | +| New execution plan viewer (`mssql.preview.betaExecutionPlan`) | New execution plan viewer with improved performance | ## Using the MSSQL Extension @@ -162,6 +164,7 @@ Configure the MSSQL extension in user preferences (`Cmd+,`) or workspace setting // Query Formatting { + "mssql.format.enablePreviewFormatter": true, // (Preview) Use the new SQL formatter with additional formatting options "mssql.format.alignColumnDefinitionsInColumns": false, // Align column definitions in CREATE TABLE statements "mssql.format.datatypeCasing": "none", // Datatype casing: "none" | "uppercase" | "lowercase" "mssql.format.keywordCasing": "none", // SQL keyword casing: "none" | "uppercase" | "lowercase" @@ -217,6 +220,7 @@ Configure the MSSQL extension in user preferences (`Cmd+,`) or workspace setting { "mssql.openQueryResultsInTabByDefault": false, // Open query results in a tab instead of side panel "mssql.preview.betaResultsGrid": false, // (Preview) Enable the new query results grid with improved state management and column show/hide/freeze options + "mssql.preview.betaExecutionPlan": false, // (Preview) Enable the new execution plan viewer with improved performance "mssql.resultsFontFamily": null, // Font family for results grid (null = VS Code default) "mssql.resultsFontSize": null, // Font size for results grid in pixels (null = VS Code default) "mssql.defaultQueryResultsViewMode": "Grid", // Default results view: "Grid" or "Text"