-
Notifications
You must be signed in to change notification settings - Fork 27
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
When pasting, the comments gets duplicated when "editor.formatOnPaste":true #220
When pasting, the comments gets duplicated when "editor.formatOnPaste":true #220
Comments
@fbricon - as discussed on the chat I saw it came from SB plugin and when I uninstalled it it went away. Thank you. |
I see see it . Sorry about the confusion. All starts after the Quarkus Welcome thing comes in vscode |
My current extensions
|
Props
|
@fbricon - I found the root cause of the issue, it happens when you enable |
@kameshsampath thanks for the hint, I managed to reproduce this issue, it'll be easier to fix now, hopefully |
There's no need to install the sublime keymap BTW |
Thanks @kameshsampath for having take time to give us valuable information. I can reproduce it. It's a problem on the MicroProfile LS side with range formatting. I'm working on that.... |
"editor.formatOnPaste":true Fixes redhat-developer/vscode-quarkus#220 Signed-off-by: azerr <azerr@redhat.com>
In the meantime, you can workaround the issue by adding this to your VS Code settings:
|
"editor.formatOnPaste":true Fixes redhat-developer/vscode-quarkus#220 Signed-off-by: azerr <azerr@redhat.com>
@fbricon @kameshsampath please review my PR redhat-developer/quarkus-ls#233 which should fixe this issue. The bug occured when there have comments lines before the pasted content. Line comments was copied/pasted too. |
"editor.formatOnPaste":true Fixes redhat-developer/vscode-quarkus#220 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer/vscode-quarkus#220 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer/vscode-quarkus#220 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer/vscode-quarkus#220 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer/vscode-quarkus#220 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer/vscode-quarkus#220 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer/vscode-quarkus#220 Signed-off-by: azerr <azerr@redhat.com>
When using Quakrus Properties mode , I see the comments in the properties file gets duplicated on copy paste and I have to press Ctrl+z to get them away.
CC: @fbricon
The text was updated successfully, but these errors were encountered: