Codeblocks is essentially notepad with a gui for mingw compiler options. It cant be compared with visual studio in terms of development, refactoring, and debugging tools.
That was a bit harsh. It definitely isn't VS, but there is code navigation, auto completion, debugging etc.