bmalehorn / vscode-fish

Fish syntax highlighting and formatting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extra newline on paste

PatrickF1 opened this issue · comments

Whenever I paste into VSCode with this extension enabled, a newline is inserted right after whenever I pasted.

For example, say I have this text

echo "hi"<CURSOR>

if I copy "something" and hit paste, my buffer becomes

echo "hi"something
<CUROSOR>

Version: 1.0.22
Resolution steps tried

  • uninstalling and re-installing
  • disabling and re-enabling
  • checked my paste key binding and nothing is suspicious about it

@PatrickF1 This doesn't happen for me:

Screen Recording 2021-06-07 at 3 28 12 PM

If you uninstall vscode-fish and reload, does it still happen?

Hi, thanks for getting back to me! Yes, that was one of the resolution steps I tried :(

@PatrickF1 Does this only happen in fish files, or does it happen in any other types of files?

And to be clear, when you uninstall vscode-fish and reload, does it still have an extra newline on paste or does it not happen anymore?

Does this only happen in fish files, or does it happen in any other types of files?

Only fish files

when you uninstall vscode-fish and reload, does it still have an extra newline on paste or does it not happen anymore?

It stops after I uninstall it.

I figured this out. It was some bug with Prettier. I uninstalled it and the re-installed it and now this issue is gone. Whew...

Actually it came back. FWIW I tried zgm.vscode-fish as well and it had the same bug.