CUDA in Code::Blocks

Has anybody tried using CUDA 4.0 in Code::Blocks 10.05?? I am new to programming as well as stuff like compilers and IDEs but love Code::Blocks. Please help.

You might want to try Geany, and add the cu suffix to the C++ list. It works very well for me and was easier to use than Code::Blocks. However, we both should move the Nsight: Eclipse edition.