How to get unreal to find Visual Studio Code?

I go into the Source Code section of the Unreal Editor Preferences to change my desired IDE from Xcode to Visual Studio Code mac, but even after restarting, VSC does not appear in the IDE dropdown menu. I have both the engine and the IDE running. What did I do wrong?