Skip to content

Visual Studio Code extension for Gestalt, Pinterest's design system

License

Notifications You must be signed in to change notification settings

pinterest/vscode-gestalt

VSCode Gestalt

Visual Studio Code extension for Gestalt, Pinterest's design system

Features

Snippets

  • List Gestalt components by typing < or pressing Alt+G/Option+G
  • Required props are included
  • Quick select boolean & enum props

Snippet support for VSCode Gestalt

Extension Settings

Setting Type (default) Description
gestalt.enableTelemetry boolean (true) Enable/disable telemetry

Release Notes

See Changelog

Publish

Publish a new version:

  1. Update CHANGELOG.md and add a new version
  2. Publish with vsce
npm i -g vsce
vsce publish patch

TODO

FAQ

How do the snippets work?

  • Use react-docgen to get required React props for every Gestalt component
  • Generate the snippets.json file

The extension doesn't seem to work, what can I do to debug?

  1. Do not override editor.quickSuggestions in your user settings
  2. Use VSCode >= 1.58.0

Then restart your editor and copy/paste the output in the Gestalt output log.

About

Visual Studio Code extension for Gestalt, Pinterest's design system

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published