Right click and select "FormattedMessage (javascript)"
Code now reads <FormattedMessage defaultMessage="hi" description="" id="" />
Changelog
1.0.4:
Add configuration to customize id generation pattern based on FormatJS default pattern. Go to Settings > Extensions > FormattedMessage > ID Generation Pattern.
Add allowlistedPaths to customize exluding sections of long ids (default file path id generation option only)
0.02:
Right click and select "trans.message (python)" for python formatting