I’ve been having lots of unexplained crashes since upgrading to Sonoma, and I decided it was time to just nuke everything and start over. There are too many misc. apps I’ve tried over the years, and I figured a clean start would be good.
So I’m all reinstalled, and I double-clicked a PHP file to edit it - and XCode popped up. Up until now I’ve been using BBEdit, but it got me wondering - is XCode a viable general-purpose editor? I mean, it’s free with macOS. It seems to understand PHP syntax.
Do people actually use it for other languages / web dev / etc.? Why or why not?
Xcode for programming software. Much preferable to Eclipse which confuses from the get go; I’m sure there a optional packages that would do what I want but the descriptions are too arcane. MacVim for pretty much everything else that is not a document in particular at the moment using MacVim when writing SQL orders with syntax colouring turned on.
Xcode is massive. If you just need the command line tools you can install those separately without installing the multiple gigs of Xcode. In a fresh install, open the terminal and type git, and it’ll prompt you to install just the command line tools. That’s what I do.
I also use Xcode for C++ development. It’s actually really good about supporting the last C++ standard, although that’s probably more the work of LLVM than Apple.