I had a look and found recommendation to use cmd+[ or shift+cmd+[ on a mac to go to the matching delimiter, however it doesn't seem to work, the cursor goes nowhere. Am I missing something? IDE 1.8.16 if it matters. I can, of course, upgrade, but...
Shift+Cmd+\ on a Mac. search for goto in the command palette
Hi @komradebob. I confirm that the keyboard shortcut isn't working on macOS (even though it works fine on Windows). It looks like for some reason the Arduino IDE developers remapped the keyboard shortcut to decrease indent for macOS:
The keyboard shortcut mentioned by @sonofcy is specific to Arduino IDE 2.x. I confirm that is working fine on macOS. So if you need this functionality you should update to Arduino IDE 2.x. The download links are listed here:
The actual hot keys may vary with keyboard localization. With IDE 2.3.3 on a Macbook with German keyboard, the Command Palette is reached by CTRL+Option+comma while the shortcut for the matching bracket is CTRL+Option+Command+7.
I have no information for other keyboard localizations.