Closed pro100andrey closed 2 years ago
Hi @pro100andrey,
The continue
is a reserved keyword in Dart, and as such, it can't be used as an identifier. The same applies to other reserved keywords like for
, break
, return
, and similar.
You can find more info here.
Maybe renaming (e.g. goOn
) or adding a prefix (e.g. commonContinue
) to the string key would be the right way to go.
@lzoran Thanks for your answer.
In my opinion, flutter-intl-vscode documentation should contain a paragraph about keywords, because this is unpredictable for users.
Thanks!
For example: File name is
intl_en.arb
VSCode output:
For example: if change the key 'continue' into 'goOn'
all works!