Skip to content

Cursor jumps to first column of new line after a delay #1669

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

Closed
DellroyGM opened this issue Nov 12, 2022 · 2 comments
Closed

Cursor jumps to first column of new line after a delay #1669

DellroyGM opened this issue Nov 12, 2022 · 2 comments
Assignees
Labels
conclusion: duplicate Has already been submitted type: imperfection Perceived defect in any part of project

Comments

@DellroyGM
Copy link

I don't mind the automatic completion, E.G., always adding closing parenthesis or closing braces, but often, after I enter a line of code, and press Enter, my typing begins with the same indentation as the previous line (which is good), but while I am typing on that line, it sometimes moves left, like a tab got erased. Sometimes, the next line gets joined to the current line, as if I hit delete at the start of the next line (which I did not).
Please, can we have these features switchable, so if one does not like them, he/she can turn them off? Thanks!

@per1234 per1234 transferred this issue from arduino/Arduino Nov 12, 2022
@per1234 per1234 self-assigned this Nov 12, 2022
@per1234 per1234 added the type: imperfection Perceived defect in any part of project label Nov 12, 2022
@per1234
Copy link
Contributor

per1234 commented Nov 12, 2022

Hi @DellroyGM. Thanks for taking the time to submit an issue.

I see we have another report about this at #437.


I'll provide instructions for the simple workaround that was discovered by a community member:

  1. Open the "Command Palette" via the Ctrl+Shift+P (Command+Shift+P for macOS users) keyboard shortcut.
  2. Select the "Preferences: Open Settings (UI)" command.
  3. A "Preferences" tab will now open in the Arduino IDE main panel. In the "Search Settings" field, type editor.trimAutoWhitespace
  4. Uncheck the checkbox next to " Remove trailing auto inserted whitespace."
  5. Click the X icon on the "Preferences" tab.

It is best to have only a single issue per subject so we can consolidate all relevant discussion to one place, so I'll go ahead and close this in favor of the other.

If you end up with additional information to share, feel free to comment in the other thread.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 12, 2022
@per1234 per1234 added the conclusion: duplicate Has already been submitted label Nov 12, 2022
@per1234 per1234 changed the title Arduino IDE 2.0.1 is making me crazy! Cursor jumps to first column of new line after a delay Nov 12, 2022
@DellroyGM
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants