I am currently working in react js, and to work with css modules, every-time I make new component and I have to make corresponding css module file. I want snippet to make both files. Is there any way?
-
You can add multiple code-snippets in VS-code, but only past one into one file at a time.hc_dev– hc_dev2023-01-23 19:37:38 +00:00Commented Jan 23, 2023 at 19:37
-
Maybe you should research for react scaffolder vs-code. A scaffolder is a tool or plugin that helps you creating a project or multiple files for it.hc_dev– hc_dev2023-01-23 19:42:58 +00:00Commented Jan 23, 2023 at 19:42
-
you might use My Code Actions to create an action that based on the main file to generate the other files, maybe File Templates could be a solutionrioV8– rioV82023-01-23 19:46:54 +00:00Commented Jan 23, 2023 at 19:46
Add a comment
|