How do I change Autoformat from CtrlCmd-T to Ctrl-T?

Hi Everybody,

congrats to using a dark theme as the defult-theme. Much better than the bright theme of the Arduino 1.-IDE

How do I change autoformat from CtrlCmd-T to Ctrl-T?

As a first test I loaded the blink-example saved to a different name and added a variable and an if-condition with bad formatting as shown in the screenshot and pressed Ctrl-t


but nothinh happend

huh ! What is that after writing the lines above the auto"formatting made changes that are completely

nonsense

are you really late on 1st april fooling?!?!?!
The bottom line says "indexing"it
Now it says building sketch for more than a minute.

Guys what's wrong with you??
this is not a release candidate

this is an early embryonic alpha status

This is not constructive feedback…

1 Like

This is true. These words are not construcive in a direct way.
I reported the issue through the feedback form and as an issue on github
I hope this is constructive.

to return to a more matter-of-fact expression:
my emotional state changed from
beeing sceptic if it Arduino IDE 2.0 is already running well
to
I feel very very dissapointed about finding a malfunction within the first 5 minutes on a very basic test. Where I decided after experiencing this malfunction to not do any more tests

best regards Stefan

If you really want to then you can change the Auto Format actions but it is not quite as easy as it is in IDE 1.x

they are not constructive period...

I understand the frustration, and the good thing to do is what you did: report through GitHub and provide as much context as possible.

there might be a number of reason why the team did not see the issue you are seeing, may be you have a slow machine, may be you have an anti-virus running in the background etc...

Hi @StefanL38. Thanks for taking the time to give the Arduino IDE 2.0.0 release candidate a try, and for your valued feedback.

You can customize the keyboard shortcut like so:

  1. Select File > Advanced > Keyboard Shortcuts from the Arduino IDE menus.
  2. Enter arduino-auto-format in the "Search keybindings" field.
  3. Hover the mouse pointer over "arduino-auto-format" in the list of keybindings.
    A pencil icon will appear.
  4. Click the pencil icon.
  5. Change the keyboard shortcut according to your preferences.
    If you want to change it to Ctrl+T, then enter Ctrl+T
  6. Click the OK button.

The problem with the Auto Format not having any effect is tracked by the Arduino IDE developers here:

There is also another variant where it works initially, but then stops at some point (though it sounds like you had the first where it never worked at all):

This is true. Even though we do experience undesirable levels of latency on the Auto Format results (on the order of a couple of seconds at worst), and some other misbehaviors under specific circumstances, we have not been able to determine the conditions required to reproduce https://github.com/arduino/arduino-ide/issues/337.

This makes it very difficult for the Arduino IDE developers investigate the problem and to validate any potential fixes.

@StefanL38's instructions on the bug report are not going to help us so much with that:

To reproduce

use my computer

If anyone can provide specific instructions we can follow to reproduce the problem, that would be very valuable.

However, we do have a proposal which might sidestep the issue entirely. I went ahead and published that from our internal backlog to GitHub in order to make it available for discussion and contributions from the community:

I see you have created a separate forum topic about this, so let's restrict any related discussion to that topic and keep this one focused solely on usage and problems with the auto format capability. I'll reply over there:

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