The CUDA documentation doesn’t talk about editing/IDE because these questions are related to Visual Studio, DOS, Windows, etc. For example, on Linux, I use (Jasspa)MicroEmacs to edit my cuda/c/c++ text files etc.(MicroEmacs is as snappy as Notepad, but about 500 times as powerful! Open source and available for Windows too(I’m NOT affiliated with them.))
After editing the code, you use nvcc to compile it, let’s say with this looong command line:
On Linux, I just looked at the official samples/Makefiles. nvcc has some fairly detailed manual that tells you how to run it. Setting this up through Visual Studio should be on Google, as was said earlier.