Skip to content

Remove Copy Query for Web Paste command and related assets - #133

Merged
alex-bochkov merged 1 commit into
mainfrom
codex/remove-copy-query-for-web-paste
Jul 20, 2026
Merged

Remove Copy Query for Web Paste command and related assets#133
alex-bochkov merged 1 commit into
mainfrom
codex/remove-copy-query-for-web-paste

Conversation

@alex-bochkov

Copy link
Copy Markdown
Contributor

Motivation

  • The legacy "Copy Query for Web Paste" command and its helper implementation were decommissioned and need to be removed to avoid dead code and unused resources.

Description

  • Deleted the Commands/CopyQueryAsHtmlCommand.cs implementation and removed its registration from package initialization (AxialSqlToolsPackage.cs).
  • Removed the menu/button, keybinding, bitmap entry, command ID symbol, and icon GUID from AxialSqlToolsPackage.vsct to eliminate the command from the VS command table.
  • Removed the copy.png resource and the Compile/Content entries that referenced the command and icon from AxialSqlTools.csproj.

Testing

  • Verified no remaining references by running rg -n "CopyQueryAsHtml|AxialCopyQueryAsHtmlButton|Copy Query for Web Paste|CopyQueryForWebPaste|guidCopy|bmpCopy|copy\.png" AxialSqlTools which returned no matches.
  • Attempted to run dotnet build AxialSqlTools/AxialSqlTools.sln but the build could not be executed in this environment because dotnet is not installed (build not run).

Codex Task

@alex-bochkov

Copy link
Copy Markdown
Contributor Author

The Preview feature in recent versions already solves this.
image

@alex-bochkov
alex-bochkov merged commit 43a4999 into main Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant