IDE 2 unwanted cursor movement

Quick question: why does the cursor decide it wants to reorient itself back over to the far left about 3 seconds after I Enter a new line, and how can i prevent this absolutely pointless and unwanted behavior?

Hi @CARTERK.

The Arduino IDE developers are tracking this bug here:


I'll provide instructions for the simple workaround that was discovered by an Arduino forum 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 the " Remove trailing auto inserted whitespace." setting.
  5. Click the X icon on the "Preferences" tab.

Please let me know if you have any questions or problems while following those instructions.

2 Likes

That seems to have done it.

Awesome, much appreciated ptillisch

You are welcome. I'm glad it is working now.

Regards,
Per

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.