Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Tart CommenterNew to Visual Studio Code? Get it now.
Tart Commenter

Tart Commenter

isdn

|
3 installs
| (0) | Free
Generate {@template} for all public module members.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Tart Commenter

Automatically generate dart doc {@template} comments for all public module members.

@deprecated
class RandomClass {
  @override
  @deprecated
  // ignore: override_on_non_overriding_member
  int value;

  RandomClass(this.value);

  int doubleValue(int value) {
    return value * 2;
  }

  @deprecated
  bool isEven() {
    return value % 2 == 0;
  }
}

to

/// {@template random_class}
/// {@endtemplate}
@deprecated
class RandomClass {
  @override
  @deprecated
  // ignore: override_on_non_overriding_member
  int value;

  /// {@macro random_class}
  RandomClass(this.value);

  /// {@template double_value}
  /// {@endtemplate}
  int doubleValue(int value) {
    return value * 2;
  }

  /// {@template is_even}
  /// {@endtemplate}
  @deprecated
  bool isEven() {
    return value % 2 == 0;
  }
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft