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

Tart Commenter

isdn

| (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 {@template} comments for all public module members.

@deprecated
class RandomClass {
  @deprecated
  int value;

  RandomClass(this.value);

  int doubleValue() {
    return value * 2;
  }

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

to

/// {@template random_class}
/// {@endtemplate}
@deprecated
class RandomClass {
/// {@template value}
/// {@endtemplate}
  @deprecated
  int value;

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

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

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