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

Incompatibility with Thunder Client extension #19

Open
logicelf opened this issue Jun 2, 2021 · 3 comments
Open

Incompatibility with Thunder Client extension #19

logicelf opened this issue Jun 2, 2021 · 3 comments

Comments

@logicelf
Copy link

logicelf commented Jun 2, 2021

Hi,

Just FYI, in case you both wish to collaborate on a mutual fix: thunderclient/thunder-client-support#124

@gazugafan
Copy link
Owner

I wonder if this is related to #15 ? If the pasting method setting is set to "workaround" for this extension, this will override VS Code's normal pasting behavior. Unfortunately this causes pasting anywhere in VS Code other than a normal editor to not work.

If this was the case, though, I'd expect you to see what was on the clipboard suddenly pasted into the last used editor instead. You didn't mention seeing that, so maybe this isn't the issue.

Either way, as a workaround solution you might try doing CMD+SHIFT+V instead of CMD+V.

If it helps... this extension subscribes to VS Code's editor.action.clipboardPasteAction command. If your pasting method is set to "native", on paste we modify the clipboard contents, re-execute the editor.action.clipboardPasteAction command normally, and then restore the original clipboard contents.

If the thunder client extension also subscribes to editor.action.clipboardPasteAction, maybe that could be the issue?

@logicelf
Copy link
Author

logicelf commented Jun 3, 2021

Interesting. I'm not getting the paste anywhere at all, though (that I can see) - and definitely not into any open editor.

Thanks for the workaround, but I've realised I didn't use the extension much, and most of the time I'm linting on save anyway ...

@rangav
Copy link

rangav commented Jul 6, 2021

HI @gazugafan I am creator Thunder Client.

just to clarity the extension does not subscribe to editor.action.clipboardPasteAction

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