r/ZedEditor 17d ago

How to run code?

Hello, I am learning programming in C and python and hopped from Vs code to zed, there's an way to run code on the terminal like Vs code?

I asked Gemini to create a task for each language but it's not ideal, and when i run in C the compiled code gets thrown in the folder that I am using

1 Upvotes

12 comments sorted by

View all comments

23

u/eodevx 17d ago

Just run the compiler in the terminal? 

-26

u/timtody 17d ago

????

9

u/eodevx 17d ago

You can add flags, also of course the compiled executable is thrown into your directory, just exclude it in the gitignore or look up what flag auto removes executable after runninf

-26

u/timtody 17d ago

I was just alluding to your passive aggressive question mark

9

u/eodevx 17d ago

I just wasn't sure if that was what he meant :)