Search code examples
fluttervisual-studio-codeflutter-intl

How to get rid of metadata warnings in VS Code?


I installed the VS Code Flutter intl extension and use it to translate a Flutter app. After setting up the extension, my "Problems" pane in VS Code is full of warnings, one for each key and translation file. Since I don't plan to add metadata for every key, this is quite annoying. Does anyone know of a way to disable the warnings?

enter image description here


Solution

  • Add this to settings.json

    "arb-editor.suppressedWarnings": [
      "missing_metadata_for_key"
    ],
    

    For details config, see: https://github.com/google/arb-editor