IDE for CUDA and C++ in macOS

I’m looking for and IDE to write CUDA/C++ code in macOS and I’m having some trouble finding a decent one. Visual Studio for Mac isn’t really Visual Studio and doesn’t support C++ well, Atom isn’t really an IDE and doesn’t seem to have a good atom-ide package for C++. Is Eclipse worth my time? I used it a bit when I was using Fortran and didn’t like it.



A little more about my use case. I’ll be writing code for very large physics simulations so the build tools and debuggers aren’t very important to me; the code has to be built and debugged on a cluster and cannot run on my local machine. I’m most interested in the linting features to tell me when I’ve screwed something up since the usual write-compile-debug cycle will take quite awhile with this code.