From 4646cd3347647a49b584546c9dd098efb234610f Mon Sep 17 00:00:00 2001 From: Lewis Sanchez <87730006+lewis-sanchez@users.noreply.github.com> Date: Thu, 12 Sep 2024 12:33:38 -0700 Subject: [PATCH] Undo changes made in PR #2218 and optimize copying query results (#2385) * Copy query results to the clipboard * Add TextCopy NuGet package. * Conditionally copies directly to clipboard * Rename copy in backend request property * Rename property for copying results request. * Stop sending result string for copying * Improve check for new line at builder end * Correctly checks if row end needs line break --- Packages.props | 1 + .../Microsoft.SqlTools.ServiceLayer.csproj | 1 + .../Contracts/CopyResultsRequest.cs | 1 - .../QueryExecution/QueryExecutionService.cs | 23 +++++++++++++------ 4 files changed, 18 insertions(+), 8 deletions(-) diff --git a/Packages.props b/Packages.props index 5bbce37539..d4f78e844e 100644 --- a/Packages.props +++ b/Packages.props @@ -54,6 +54,7 @@ +