How to auto add parentheses after autocomplete of custom function?

I created a simple function:

#let ex(x) = {return $dot.c 10^#x$}

Is there any way to auto add parentheses in Typst online editor, after typing it (selecting it from Options in Math mode?

$ ex_ $ + TAB/ENTER -> $ ex(_) $

Sorry, I don’t know how to customize typst.app, but if you just want a quick way for scientific notations, then maybe unify on Typst Universe is a better choice.

#import "@preview/unify:0.7.0": num
$ num("-1.32865+-0.50273e-6") $