-
Notifications
You must be signed in to change notification settings - Fork 766
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
Extra blank lines appear when I rename symbols #5756
Comments
Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue. Happy Coding! |
Sorry for the trouble caused by not providing enough information. I am a programming amateur,so I don't know the rules. Excuse me. VS Code version: Code 1.87.2 Problem descriptionSuppose I edit the following Python3 code: a = 123
d = 321
c = "abc" If I choose the variable b and perform the a = 123
d = 321
c = "abc" As the title suggests, extra blank lines appear inexplicably. I guess it's a problem with the Python Debugger extension. |
I made a typo..The first block of code is: a = 123
b = 321
c = "abc" |
@HwangWentian What do you have for the |
|
@karthiknadig @NunUrDamBizness This issue still persists. I'm not sure if the same issue exists on other platforms. |
@HwangWentian, can you also check if you have the Pylance extension installed and enabled? Default means that Pylance will be used, but only if it is installed and enabled. Otherwise Jedi is used. When we've seen this sort of behavior in the past it was due to either:
So if you have Pylance installed, can you please try disabling all of your extensions except Python and Pylance and see if the issue still happens? |
@debonte , I have not installed Pylance. But the problem was fixed when I installed Pylance and set it to languageServer. Thanks for the tip. |
Type: Bug
As the title suggests.
Man, what can I say?
This question has been bothering me for long.
VS Code version: Code 1.87.2 (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:20:17.278Z)
OS version: Windows_NT x64 10.0.22631
Modes:
The text was updated successfully, but these errors were encountered: