Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Destructure PropsNew to Visual Studio Code? Get it now.
Destructure Props

Destructure Props

DimaS1990

|
50 installs
| (0) | Free
Quickly destructure all props from a TypeScript type
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Destructure Props

Displays the "Add all props" option in the dropdown when you press Ctrl+Space to destructure properties of an object.

example
  • Works only if type is on the same line as desctructed object.
  • Doesn't work if type is declared in another file.
  • Doesn't work if type is declared inline.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft