Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 737 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 737 Bytes

FormattedMessage

Download: marketplace.visualstudio.com

  1. Select "hi" in code
  2. Right click and select "FormattedMessage (javascript)"
  3. Code now reads <FormattedMessage defaultMessage="hi" description="" id="" />

Select code to use

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