![Notepad++ xml formatter plugin](https://cdn2.cdnme.se/5447227/9-3/screenshot_4_64e629479606ee5be4b9a969.jpg)
![notepad++ xml formatter plugin notepad++ xml formatter plugin](https://i.stack.imgur.com/Fokw5.png)
![notepad++ xml formatter plugin notepad++ xml formatter plugin](https://2.bp.blogspot.com/-vWeZZ2Rr7hs/XKAvSMU0UNI/AAAAAAAALFA/r2_4pbOiIzk7WXmtHdINRoiY5k7NZWNzwCLcBGAs/s1600/Auto%2Bindentation%2Bplugin%2Bfor%2BNotepad%252B%252B.jpg)
Put a usertype.dat in C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE, something like this (there might be better ones): In Visual Studio Tools/Options/Text Editor/File Extensions select Visual C++ as the editor and add fx, cgfx, etc as extensions. Anyone have a solution? I’m not willing to give up the feature for my c++ coding, so I live with it. The only bug I haven’t been able to fix is that typing swizzles like v.x and similar will always autocomplete to v->x and is a pain to fix manually. Having “go to definition”, autocomplete, and everything else work is huge! My shaders are in my game solution, so everything’s easy to search together with my c++ code, and within reach without switching editors. My favorite IDE for shaders is Visual Studio + Visual Assist.
![Notepad++ xml formatter plugin](https://cdn2.cdnme.se/5447227/9-3/screenshot_4_64e629479606ee5be4b9a969.jpg)