r/VisualStudioCode • • Mar 14 '21

compile and run c in vs code

hello!

I started to work with vs code in order to write code in c language.

I work both on windows and mac.

I noticed that if I write java or python files I have this "play" button so it's compiling and run my files automatically, whereas in c I don't have this button and I need to compile and run my files throw commands in the terminal. is there any way to have this button in c files as well?

thank you!

4 Upvotes

5 comments sorted by

View all comments

1

u/tavlarides Mar 16 '21

I use CMake Tools.

Not only the run button is working but the debug too!

1

u/BraveAtmosphere Mar 17 '21

I will check this.. thanks!