A production-grade VSCode extension that auto-generates constructor, static fromJSON(), and static getDefault() methods for TypeScript classes using AST analysis.
Features
Constructor Generation — Constructors with all properties as parameters
fromJSON() — Defensive JSON-to-class mapping with type validation
getDefault() — Returns an empty but valid instance with safe defaults
Usage
Code Action (Lightbulb)
Place your cursor inside a TypeScript class
Click the lightbulb icon (or press Ctrl+. / Cmd+.)