Option-number triggering shortcut keys while focused on input

option+<number> seems to be the shortcut on mac keyboards for opening the corresponding tab (eg: option + 5 for the “image asset” tab). However, writing opening braces { on a French mac keyboard is done with option + 5 . So it does not work and every time I need to write braces in a code editor I need to copy-paste it from elsewhere