Skip to content

TGRstack/vscode-snippets

Repository files navigation

tgr-snippet-pack

WARNING: experimental, partially completed


A pack of code snippets for React, Jest, GraphQL with Typescript.

Install

ext install tgrstack.tgr-snippet-pack

Alternatively you can open the extensions panel and search for 'TGRStack snippet'.

Supported languages (file extensions)

  • TypeScript (.ts)
  • TypeScript React (.tsx)

Snippets

Rather than using difficult to remember shortcuts, each snippet is available while writing a good name for it. Feel free to PR better naming schemas or Fork and make your own.

Building

Snippets are in the ./snippets/ directory and I am using json5 to enable commenting.

The build script can be ran with npm run prepare. It combines some of the files into /dist/ two files: typescript.json and typescriptreact.json.

TGRStack contributions

  • updated references to es9
  • better naming
  • compiled into a package of similarly written snippets
  • no semicolons!

References

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published