I love Visual Studio but when it comes to edit shaders it sucks. I wanted a editor that could highlight keywords and match the curly braces, so I created a "User defined language" for Notepad++. I just threw all the keywords I found and changed the colors randomly. I chose to ignore all the Cg code because the languages in Notepad++ can have only 4 types of keywords and I've already used all of them. Besides that, there are (or should be) better editors for Cg. To use it, go to View -> User-defined dialogue and import this XML file. I hope it will be useful. If I missed a keyword or if you have a sugestion, please contact me.