0

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?

3
  • You can add multiple code-snippets in VS-code, but only past one into one file at a time. Commented 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. Commented 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 solution Commented Jan 23, 2023 at 19:46

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.