-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Cursor moves to beginning of line automatically disrespecting current indentation #168
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
Comments
Please provide more information with examples |
From @swarnendubiswas on August 24, 2017 18:9 Please see the following picture: Say the cursor is at the end of line 155. When I press enter, I would expect the cursor to be at the desired column in line 156. The column numbers are not visible, but the desired column in this context is below the first occurrence of character 'm' (from line 155). What happens is that the cursor stays at the desired column for about a second, and then moves to the beginning of line 156 (i.e., extreme left). This is annoying since one has to manually readjust the indent. Does this help? |
From @gandhis1 on August 24, 2017 18:12 I don't experience this. Can you provide a small source file where the issue occurs? |
From @swarnendubiswas on August 24, 2017 20:55 @gandhis1 I tried disabling all my Code customizations. For me, it seems adding |
@swarnendubiswas unfortunately I too don't experience this issue on my Mac and Windows. |
From @swarnendubiswas on September 13, 2017 19:31 Actually I was testing this only yesterday. Visual Studio Code with extensions disabled works fine, but I still face the issue with the Python extension. Here is my related config:
Could it be related to the formatter? I will test it out disabling the formatters. |
@swarnendubiswas It is possible this is the cause of the bug. Please disable |
Thanks. I will test and let you know. |
I'm closing this as it has been over a month since we requested more info. If we do get the info at a later date we can re-open this issue. |
Yes, thanks. I think the issue is resolved. |
From @swarnendubiswas on August 23, 2017 22:31
Environment data
VS Code version: 15.1
Python Extension version: 0.7.0
Python Version: 3.5.4
OS and version: CentOS 7
Actual behavior
Typing enter to go to a new line, causes the cursor to automatically move to the beginning of the line disrespecting the current indentation.
Expected behavior
Cursor should stay at the desired indentation.
Steps to reproduce:
Logs
Output from
Python
output panelOutput from
Console window
(Help->Developer Tools menu)Copied from original issue: DonJayamanne/pythonVSCode#1177
The text was updated successfully, but these errors were encountered: