localizely / flutter-intl-vscode

This VS Code extension generates boilerplate code for localization of Flutter apps with official Dart Intl library
MIT License
87 stars 1 forks source link

Provide default value of term as Dart doc on getters in l10n.dart #29

Closed orestesgaolin closed 4 years ago

orestesgaolin commented 4 years ago

I would be very happy to see Dart doc comments over getters in l10n.dart file with default translation.

For instance right now it's:

  String get common_next {
    return Intl.message(
      'Dalej',
      name: 'common_next',
      desc: '',
      args: [],
    );
  }

And it would be awesome to have:

  /// `Dalej`
  String get common_next {
    return Intl.message(
      'Dalej',
      name: 'common_next',
      desc: '',
      args: [],
    );
  }

This way I could select proper term without peeking into the file.

aleksakrstic commented 4 years ago

@orestesgaolin This is now available in version 1.9.0

orestesgaolin commented 4 years ago

Thanks, it's working great! image