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

Code/Text in View Window can't be copied

Open XiangyunHuang opened this issue 3 years ago • 2 comments
trafficstars

Describe the bug Text/Code in View Window can't be copied and pasted.

To Reproduce

A personal website built on blogdown, then in R Terminal, and run

blogdown::serve_site()

Do you want to fix by self? (We hope your help!)

No

Expected behavior

We can Copy text/code From View Window instead of R Help View Window and Paste in Source Code Document

Screenshots

Environment (please complete the following information):

  • OS: macOS
  • VSCode Version: 1.65.2
  • R Version: 4.1.3
  • vscode-R version: v2.4.0
版本: 1.65.2
提交: c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1
日期: 2022-03-10T14:33:49.188Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 21.2.0

Additional context no

XiangyunHuang avatar Apr 04 '22 05:04 XiangyunHuang

Thanks for reporting. I can reproduce it.

Looks like it is reported:

  • https://github.com/microsoft/vscode/issues/135017
  • https://github.com/microsoft/vscode/issues/129178
  • https://github.com/microsoft/vscode/issues/65452

renkun-ken avatar Apr 04 '22 05:04 renkun-ken

There are some sugguested fixes:

  • https://github.com/microsoft/vscode/issues/65452#issuecomment-586485815
  • https://github.com/tamuratak/LaTeX-Workshop/commit/e204b0848d0f62cb13175e8e804566e5e1b318b7

I tried but it does not seem to work in our case where we cannot control the content of the iframe.

renkun-ken avatar Apr 06 '22 05:04 renkun-ken

This issue is stale because it has been open for 365 days with no activity.

github-actions[bot] avatar Apr 07 '23 01:04 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Apr 21 '23 01:04 github-actions[bot]