How to autorename text layer according to text inside

Hi, is there any way to enable auto renaming in text layer in Figma GUI?

I know it can be done in TextNode via autoRename() in API
But was wondering how to do it manually in Figma.

Auto renaming is enabled by default for text layers. If you have renamed the layer manually, then to enable auto rename, you need to delete all characters of the layer name and press Enter.