I'm localizing a webapp using vue-i18n. Is there anyway to get WebStorm to recognize strings in a function prefixed with $t as a dot notation path reference?
$t('messages.some.key')
in my en.js file which looks like:
exports defaults {
   messages: {
      some: {
        key: "Foo"
      }
   }
}
It would be nice if it provided me with autocomplete and also syntax highlighting if the key doesn't exist.