I'm using this vscode extension - ES7 React/Redux/GraphQL/React-Native snippets.
Does anyone know how to config the snippets come with this extension?
I'm using this vscode extension - ES7 React/Redux/GraphQL/React-Native snippets.
Does anyone know how to config the snippets come with this extension?
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:
C:\Users\{username}\.vscode\extensions\dsznajder.es7-react-js-snippets-4.4.3\lib\snippets
generated.json
Saved it
Restarted VS Code
Now, it works for me.