Go Down

Topic: auto formatting in the IDE (Read 1 time) previous topic - next topic

roypardi

Hi~

This is completely trivial but it it's like trivial++ starts to == annoying ;-)

When auto-formatting is applied in the IDE, the window scrolls to position the cursor insertion point @ 5 lines from the top, often completely shifting the window view. Took me a while to adapt and remember to position the cursor before formatting but things still jump around. If it's not a major thing to leave the window scroll in the original position, please consider it.

The auto formatting is a nice feature though - I tried using an external editor (BBEdit) but it doesn't do formatting (amazingly).

mellis

The auto-format code comes from Processing, so the fix would probably be best done there and then ported back over to Arduino.  You might suggest it to them (or maybe it's already been done, in which case let me know so I can get it into Arduino).

Go Up