1

when I open a .c file in visual studio code, I always needed to copy and paste all the header files and some of my predefined macros, But is there any way to customize visual studio code so that they are automatically written when I open a .c file in visual studio code ?

1 Answer 1

1

You can create a vscode task or your own plugin. In this case I think creating your own snipet will help you:

https://code.visualstudio.com/docs/editor/userdefinedsnippets

Not the answer you're looking for? Browse other questions tagged or ask your own question.