Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>TGRStack.com snippet pack.New to Visual Studio Code? Get it now.
TGRStack.com snippet pack.

TGRStack.com snippet pack.

TGRstack

|
530 installs
| (0) | Free
Typescript GraphQL React Snippets for a great experience!
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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

  • INIT'd my TS & TS-REACT snippets with infeng/vscode-react-typescript
  • Majority of Jest.json5 based on andys8/vscode-jest-snippets

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft