Is there an Add_in to Vis开发者_开发技巧ual studio which automatically inserts underscores between my method name Words?
For example i will write "public void ChangeEmail Should Update Email()
" then press a shortcut and it will convert to "public void ChangeEmail_Should_Update_Email()
"
You can use Jean-Paul Boodhoo's BDD Macro - not sure about automatic though.
Note, more recently Jean-Paul has decided to move towards using AutoHotKey instead - see the following - posts So Long BDD Macro - Hello Autohotkey!!! and BDD AutoHotKey Script Update - Take 2.
ReSharper can do this. You set your naming convention, type it incorrectly and CTRL-Enter will fix it. Among the millions of other features ReSharper adds to VS...
精彩评论