I'm a big fan of the renaming feature in visual studio. You can right click on any variable in your code and select Refactor -> Rename. Then rename the variable once and all other references are updated.
Except I like to inject code right into my .aspx pages instead of the code behind files sometimes. The syntax for that is:
<% Response.Write(SOME C# CODE); %>The rename functionality won't find these references in the .aspx files. Instead I get a compile error and can then rename the remaining references easily enough.
It seems like this should be fixable. The fix might hurt the performance of the renaming feature a little bit but I think it would be worth it. Does anyone know if this is already fixed in VS 2010?
RSS
0 comments: (+add yours?)
Post a Comment