CodeSnap
CodeSnap copied to clipboard
Text is being copied on highlight while preview is open
Text is being copied on highlight while preview is open
Steps to reproduce
- Activate Codesnap so the preview tab appears;
- Highlight any text using any methods (mouse, hotkeys etc.);
- It's being copied to the clipboard even though you didn't press
cmd+C/ctrl+Cfor copying; - To make sure - press
cmd+V/ctrl+Vimmediately after highlighting.
Maybe, Visual Studio Code has an API that allows you to get text which is being highlighted at the moment?
The same is happening to me, no clue how to solve it
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