I have been using the C/C++ plugin for vscode mentioned above.
Until now I have been using Xcode, but I am so used to VS Code that it is a pain switching back and forth. I have been using VS Code for about 6 months for my day job (front end web dev), and am trying it out for Juce/C++ projects.