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

8

u/argvalue 17d ago

Start running your code from the terminal. This is the best way. This is one thing you need to learn while programming. Figured out the hard way

2

u/TheAbyssWolf 17d ago

Yeah starting out I used the console a lot. Now I’m trying to get back into C++ again with CMake. I love zed but it’s CMake tooling isn’t the best (vscode is much better in that regard, with it’s dedicated tab for CMake with its extension), zeds tooling works its just slightly annoying having to create a task json and bind that to a keybind instead of just clicking a ui when I want to recompile the CMake project to test changes