Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e08d138
Add cancel connection feature with UI support and command registration
Feb 26, 2026
45a4231
Add translation for "Cancel Connection" in localization file
Feb 26, 2026
87305ca
Refactor query execution handling and update UI components for improv…
Feb 26, 2026
8d3ae9c
Add localization entries for execution status and results in l10n files
Feb 26, 2026
1531eab
Redesign selection metrics tooltip for improved layout and styling
Mar 5, 2026
b65c816
Adding settings and number column styling
Mar 5, 2026
e2d9b43
Add localization entries for results settings and query results display
Mar 5, 2026
ad86433
Redesign slickgrid row borders and improve alternating row colors for…
Mar 5, 2026
4e0d823
Merge remote-tracking branch 'origin/main' into aasim/fix/redesignedS…
Mar 5, 2026
0ca080e
Fix localization entry for "Time" in vscode-mssql.xlf
Mar 5, 2026
2d3e3d4
Implement functionality to move query results to document tab based o…
Mar 5, 2026
7c56e29
Merge remote-tracking branch 'origin/main' into aasim/fix/redesignedS…
Mar 9, 2026
4ae2fda
Refactor selection summary handling and improve localization for metrics
Mar 10, 2026
652582e
Update localization for aggregate functions and adjust SQL Tools Serv…
Mar 10, 2026
322d45c
Remove unused SVG files and update color styles in query result summa…
Mar 10, 2026
c67cc89
Merge remote-tracking branch 'origin/main' into aasim/fix/redesignedS…
Apr 11, 2026
29b672a
Remove unused status bar items from StatusView
Apr 11, 2026
56e4f8d
Refactor query execution status handling and improve background tasks…
aasimkhan30 Apr 13, 2026
169d0af
Update localization strings for aggregate functions to use proper casing
aasimkhan30 Apr 13, 2026
7a13fc0
Implement copy success notifications and update copy methods to retur…
aasimkhan30 Apr 13, 2026
343e370
Add localization strings for copy notifications and remove duplicates
aasimkhan30 Apr 13, 2026
2752a59
Remove StatusView dependency from QueryRunner and related tests
aasimkhan30 Apr 13, 2026
8e53ab6
Merge remote-tracking branch 'origin/main' into aasim/fix/redesignedS…
May 13, 2026
07ca612
Refactor Query Result Settings Control styles and update icons for im…
May 13, 2026
ae12763
Update setSelectedRanges method to conditionally update summary text …
May 13, 2026
0433605
Enhance query result handling and localization
May 13, 2026
95bef52
Implement selection state updates and enhance grid selection handling
May 13, 2026
5733d57
Merge remote-tracking branch 'origin/main' into aasim/fix/redesignedS…
aasimkhan30 Jun 1, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 59 additions & 36 deletions extensions/mssql/l10n/bundle.l10n.json
Original file line number Diff line number Diff line change
Expand Up @@ -893,42 +893,6 @@
"Enter Database Description": "Enter Database Description",
"Please select a workspace where you have sufficient permissions (Contributor or higher)": "Please select a workspace where you have sufficient permissions (Contributor or higher)",
"This database name is already in use. Please choose a different name.": "This database name is already in use. Please choose a different name.",
"Count: {0} Distinct Count: {1} Null Count: {2}/{0} is the count, {1} is the distinct count, and {2} is the null count": {
"message": "Count: {0} Distinct Count: {1} Null Count: {2}",
"comment": ["{0} is the count, {1} is the distinct count, and {2} is the null count"]
},
"Average: {0} Count: {1} Sum: {2}/{0} is the average, {1} is the count, {2} is the sum": {
"message": "Average: {0} Count: {1} Sum: {2}",
"comment": ["{0} is the average, {1} is the count, {2} is the sum"]
},
"Average: {0}/{0} is the average": {
"message": "Average: {0}",
"comment": ["{0} is the average"]
},
"Count: {0}/{0} is the count": {
"message": "Count: {0}",
"comment": ["{0} is the count"]
},
"Distinct Count: {0}/{0} is the distinct count": {
"message": "Distinct Count: {0}",
"comment": ["{0} is the distinct count"]
},
"Max: {0}/{0} is the max": {
"message": "Max: {0}",
"comment": ["{0} is the max"]
},
"Min: {0}/{0} is the min": {
"message": "Min: {0}",
"comment": ["{0} is the min"]
},
"Null Count: {0}/{0} is the null count": {
"message": "Null Count: {0}",
"comment": ["{0} is the null count"]
},
"Sum: {0}/{0} is the sum": {
"message": "Sum: {0}",
"comment": ["{0} is the sum"]
},
"An error occurred while copying results: {0}/{0} is the error message": {
"message": "An error occurred while copying results: {0}",
"comment": ["{0} is the error message"]
Expand All @@ -955,6 +919,7 @@
"comment": ["{0} is the error message"]
},
"The query results panel failed to load. Please try running the query again.": "The query results panel failed to load. Please try running the query again.",
"Copying results cancelled": "Copying results cancelled",
"{0} stopped successfully./{0} stopped successfully.": {
"message": "{0} stopped successfully.",
"comment": ["{0} stopped successfully."]
Expand Down Expand Up @@ -2604,6 +2569,10 @@
"comment": ["{0} is the keyboard shortcut for the messages tab"]
},
"Open in New Tab": "Open in New Tab",
"Results Settings": "Results Settings",
"Open results in new tab": "Open results in new tab",
"Show query results in a new editor tab instead of the query pane.": "Show query results in a new editor tab instead of the query pane.",
"Close results settings": "Close results settings",
"Showplan XML": "Showplan XML",
"Show Menu ({0})/{0} is the keyboard shortcut for showing the menu": {
"message": "Show Menu ({0})",
Expand Down Expand Up @@ -2685,6 +2654,60 @@
"message": "({0} rows affected)",
"comment": ["{0} is the number of rows affected"]
},
"0 rows returned": "0 rows returned",
"1 row returned": "1 row returned",
"{0} rows returned/{0} is the number of rows returned": {
"message": "{0} rows returned",
"comment": ["{0} is the number of rows returned"]
},
"0 rows": "0 rows",
"1 row": "1 row",
"{0} rows/{0} is the number of rows": {
"message": "{0} rows",
"comment": ["{0} is the number of rows"]
},
"No rows affected": "No rows affected",
"Selected": "Selected",
"Rows": "Rows",
"Time": "Time",
"No selection": "No selection",
"Count": "Count",
"Avg": "Avg",
"Sum": "Sum",
"Min": "Min",
"Max": "Max",
"Distinct": "Distinct",
"Null": "Null",
"Execution cancelled": "Execution cancelled",
"Execution time unavailable": "Execution time unavailable",
"Running: {0}/{0} is how long the query has been running": {
"message": "Running: {0}",
"comment": ["{0} is how long the query has been running"]
},
"{0}ms/{0} is the number of milliseconds": {
"message": "{0}ms",
"comment": ["{0} is the number of milliseconds"]
},
"{0}s/{0} is the number of seconds": {
"message": "{0}s",
"comment": ["{0} is the number of seconds"]
},
"{0}m/{0} is the number of minutes": {
"message": "{0}m",
"comment": ["{0} is the number of minutes"]
},
"{0}m {1}s/{0} is the number of minutes{1} is the number of seconds": {
"message": "{0}m {1}s",
"comment": ["{0} is the number of minutes", "{1} is the number of seconds"]
},
"{0}h/{0} is the number of hours": {
"message": "{0}h",
"comment": ["{0} is the number of hours"]
},
"{0}h {1}m/{0} is the number of hours{1} is the number of minutes": {
"message": "{0}h {1}m",
"comment": ["{0} is the number of hours", "{1} is the number of minutes"]
},
"Result Set Batch {0} - Query {1}/{0} is the batch number{1} is the query number": {
"message": "Result Set Batch {0} - Query {1}",
"comment": ["{0} is the batch number", "{1} is the query number"]
Expand Down
88 changes: 1 addition & 87 deletions extensions/mssql/src/constants/locConstants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*--------------------------------------------------------------------------------------------*/

import { l10n } from "vscode";
import * as os from "os";

// Warning: Only update these strings if you are sure you want to affect _all_ locations they're shared between.
export class Common {
Expand Down Expand Up @@ -1556,92 +1555,6 @@ export class FabricProvisioning {
}

export class QueryResult {
public static nonNumericSelectionSummary = (
count: number,
distinctCount: number,
nullCount: number,
) =>
l10n.t({
message: "Count: {0} Distinct Count: {1} Null Count: {2}",
args: [count, distinctCount, nullCount],
comment: ["{0} is the count, {1} is the distinct count, and {2} is the null count"],
});
public static numericSelectionSummary = (average: string, count: number, sum: number) =>
l10n.t({
message: "Average: {0} Count: {1} Sum: {2}",
args: [average, count, sum],
comment: ["{0} is the average, {1} is the count, {2} is the sum"],
});
public static numericSelectionSummaryTooltip = (
average: string,
count: number,
distinctCount: number,
max: number,
min: number,
nullCount: number,
sum: number,
) => {
return [
l10n.t({
message: "Average: {0}",
args: [average],
comment: ["{0} is the average"],
}),
l10n.t({
message: "Count: {0}",
args: [count],
comment: ["{0} is the count"],
}),
l10n.t({
message: "Distinct Count: {0}",
args: [distinctCount],
comment: ["{0} is the distinct count"],
}),
l10n.t({
message: "Max: {0}",
args: [max],
comment: ["{0} is the max"],
}),
l10n.t({
message: "Min: {0}",
args: [min],
comment: ["{0} is the min"],
}),
l10n.t({
message: "Null Count: {0}",
args: [nullCount],
comment: ["{0} is the null count"],
}),
l10n.t({
message: "Sum: {0}",
args: [sum],
comment: ["{0} is the sum"],
}),
].join(os.EOL);
};
public static nonNumericSelectionSummaryTooltip = (
count: number,
distinctCount: number,
nullCount: number,
) => {
return [
l10n.t({
message: "Count: {0}",
args: [count],
comment: ["{0} is the count"],
}),
l10n.t({
message: "Distinct Count: {0}",
args: [distinctCount],
comment: ["{0} is the distinct count"],
}),
l10n.t({
message: "Null Count: {0}",
args: [nullCount],
comment: ["{0} is the null count"],
}),
].join(os.EOL);
};
public static copyError = (error: string) =>
l10n.t({
message: "An error occurred while copying results: {0}",
Expand Down Expand Up @@ -1681,6 +1594,7 @@ export class QueryResult {
public static queryResultPanelFailedToLoad = l10n.t(
"The query results panel failed to load. Please try running the query again.",
);
public static copyingResultsCancelled = l10n.t("Copying results cancelled");
}

export class LocalContainers {
Expand Down
Loading
Loading