Visual Studio Code extension for Gestalt, Pinterest's design system
- List Gestalt components by typing
<or pressingAlt+G/Option+G - Required props are included
- Quick select boolean & enum props
| Setting | Type (default) | Description |
|---|---|---|
gestalt.enableTelemetry |
boolean (true) |
Enable/disable telemetry |
See Changelog
Publish a new version:
- Update
CHANGELOG.mdand add a new version - Publish with
vsce
npm i -g vsce
vsce publish patch
- React hooks support. Depends on reactjs/react-docgen#332
- Change testing framework from
mochatojest: https://github.com/microsoft/vscode-extension-samples/pull/251/files
- Use react-docgen to get required React props for every Gestalt component
- Generate the
snippets.jsonfile
- Do not override
editor.quickSuggestionsin your user settings - Use VSCode >= 1.58.0
Then restart your editor and copy/paste the output in the Gestalt output log.
