Skip to content

Finding C-Style Casts

I updated this script to make it work a little better with Visual Studio (VS6 anyway).  It now uses the paren-printing convention so you can use F4 to find the next cast.

Requires perl.  Add it as a tool under Tools | Customize ; Command is the path to your perl.exe, Arguments is path to this script followed by $(WkspDir).  Check “Use Output Window”.

Updated script is here (rename extension to .pl).