whilst writing code the IDE will suddenly line break or jump to another line
It's probably this issue: Cursor randomly jumps to beginning of line · Issue #437 · arduino/arduino-ide · GitHub
There is also a workaround in this reply: Cursor randomly jumps to beginning of line · Issue #437 · arduino/arduino-ide · GitHub
Give it a shot and let us know.
I think that you have to explain this in more detail. Totally different line? Or next line?
can be any line. Tabs seem to initiate it
Hi @balatech. Did you already try the workaround mentioned by sterretje? If not, please give it a try and then let us know if the problem still occurs.
The discussion at the link above is focused on the investigation of the bug, so it is difficult to extrapolate the workaround. I'll provide some better instructions for the workaround:
- Open the "Command Palette" via the Ctrl+Shift+P (Command+Shift+P for macOS users) keyboard shortcut.
- Select the "Preferences: Open Settings (UI)" command.
- A "Preferences" tab will now open in the Arduino IDE main panel. In the "Search Settings" field, type
editor.trimAutoWhitespace - Uncheck the checkbox next to the "
☑Remove trailing auto inserted whitespace." setting. - Click the X icon on the "Preferences" tab.
Please let me know if you have any questions or problems while following those instructions.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.