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

After code pasting or formatting few lines of code get erased! #175

Open
Jakub-Vasicek opened this issue Jun 21, 2021 · 1 comment
Open
Labels

Comments

@Jakub-Vasicek
Copy link

Bug description
So the name says it all if I paste with CTRL+V or if I format the file (ALT+SHIFT+F) few lines in my code get repeatedly erased. It's always the same lines, I think. However after re-arranging the code, the bug seems to vanish.

Environment:

  • PhpStorm version 2021.1.3
  • Plugin version 1.1.3

To Reproduce
After significant re-arrangement in code around the problematic place the bug seems to vanish, thus not reproducible.

Additional context
Unfortunately due to confidentiality I can provide only stack trace. Hopefully it will be of any help.

StackTrace.txt

@Jakub-Vasicek
Copy link
Author

Jakub-Vasicek commented Jun 21, 2021

Actually I succeeded in reproducing. The problem is, it doesn't matter where in the code I paste, it always erases those lines and any line which you put in between them.

Here is a piece of commented code:
image

And here is what happens after pasting some text:
image

@Jakub-Vasicek Jakub-Vasicek changed the title After code pasting or formatting few lins of code get erased! After code pasting or formatting few lines of code get erased! Jun 21, 2021
@mesour mesour added the bug label Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants