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

formatOnPaste leads to added newline after each paste #63

Open
fnordfish opened this issue Mar 30, 2023 · 0 comments
Open

formatOnPaste leads to added newline after each paste #63

fnordfish opened this issue Mar 30, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@fnordfish
Copy link

I'm using VSCodium Version: 1.76.2, vscode-crystal-lang v0.8.4, crystalline v0.8.0 (x86_64-apple-darwin).

Whenever I paste some text, a \n is added directly after the pasted text.

foo "bar"
    ^ paste "text" here

results in

foo "text"
"bar"

As a work-around, I've disabled editor.formatOnPaste in the VSCodium settings.json:

{
    "[crystal]": {
        "editor.formatOnPaste": false
    }
}
@elbywan elbywan added the bug Something isn't working label Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants