GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - pinterest/vscode-gestalt: Visual Studio Code extension for Gestalt, Pinterest's design system

BranchesTags
Open more actions menu

Latest commit

 

History

1,295 Commits
1,295 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.vscode
.vscode
 
 
configuration
configuration
 
 
images
images
 
 
scripts
scripts
 
 
src
src
 
 
.editorconfig
.editorconfig
 
 
.eslintrc.json
.eslintrc.json
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.prettierignore
.prettierignore
 
 
.prettierrc.json
.prettierrc.json
 
 
.vscodeignore
.vscodeignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
jest.config.js
jest.config.js
 
 
jest.preprocess.js
jest.preprocess.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

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

  • React hooks support. Depends on reactjs/react-docgen#332
  • Change testing framework from mocha to jest: https://github.com/microsoft/vscode-extension-samples/pull/251/files

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

gestaltvscode

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

9 stars

Watchers

11 watching

Forks

3 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.