vscode-db2i icon indicating copy to clipboard operation
vscode-db2i copied to clipboard

Copying highlight text in `IBM i` output channel does not save selected text

Open m-tyler opened this issue 1 year ago • 0 comments

Copying highlight text in IBM i output channel does not save selected text.

When I run a SQL statement that outputs to the IBM i output channel and I want to select some text, like column headings to use for a slimmed down select statement, that text is not copied. It appears the text area last used when CTRL+R was used is still in the clipboard. Sometimes nothing is copied and just new lines are pasted.

Versions: Code 1.85.2 Code for IBM i 2.7.0 Db2 for IBM i 0.7.0

Recreated issue:

  1. Open a tab of type .SQL or .INB 1.a If .INB open edit area of type Code.
  2. Type Simple SQL
  3. press CTRL+R
  4. Highlight any text in the output channel when it appears.
  5. copy by pressing CTRL+C or using the right-click menu.
  6. open a new tab or add new lines to the current open editor and paste the copied text.

image image image

m-tyler avatar Feb 22 '24 16:02 m-tyler