Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text is being copied on highlight while preview is open #121

Open
danulqua opened this issue Nov 10, 2022 · 2 comments
Open

Text is being copied on highlight while preview is open #121

danulqua opened this issue Nov 10, 2022 · 2 comments

Comments

@danulqua
Copy link

Text is being copied on highlight while preview is open

Steps to reproduce

  1. Activate Codesnap so the preview tab appears;
  2. Highlight any text using any methods (mouse, hotkeys etc.);
  3. It's being copied to the clipboard even though you didn't press cmd+C/ctrl+C for copying;
  4. To make sure - press cmd+V/ctrl+V immediately after highlighting.

Maybe, Visual Studio Code has an API that allows you to get text which is being highlighted at the moment?

@KrappRamiro
Copy link

The same is happening to me, no clue how to solve it

@maxschmi
Copy link

maxschmi commented Nov 7, 2023

This problem bothers me too. Is there any work to solve this?
I think the problem is that the extension is using the VSCode option "editor.action.clipboardCopyWithSyntaxHighlightingAction".
See Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants