开发者

Is search and replace the only way to rename an asp control in the code behind file?

Is search and replace the only way to rename as asp control in the code behind file? I find this extremely annoying, but it is the only way I can find.

Scenario:

I'll find a variable that needs renaming (Usually to meet naming convention) I'll ren开发者_运维技巧ame the variable in the aspx/ascx file. I'll have to go in the code behind files and search and replace. I get annoyed

Are there any better ways - preferably that would not touch a similarly named variable in another scope in the project.

I'm on VS2008 with resharper -- does VS2010 address this perhaps?


DevExpress Refactor will propagate your renames from codebehind to markup and vice-versa.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜