Config ES7 React/Redux/GraphQL/React-Native snippets

Viewed 1680
2 Answers

As there is no direct way to edit the es7 snippets from VS Code.

You can go to your file manager → press ctrl + h (to view hidden files) → .vscode → extensions → dsznajder.es7-react-js-snippets-x.x.x → snippets → snippets.json

Open snippets.json in any text editor and customize snippets

In Windows 10, I did this:

  • Went to

C:\Users\{username}\.vscode\extensions\dsznajder.es7-react-js-snippets-4.4.3\lib\snippets

  • Edited the

generated.json

  • Saved it

  • Restarted VS Code

Now, it works for me.

Related