Personally, I just use the terminal for my build tools and Zed talks to clangd just fine for autocomplete etc.
It supports extensions for languages such as Java and seemingly that extension can build code, too.
Zed also contains Git-support out of the box, which sounds pretty much like a lightweight IDE.