是否有 Visual Studio 的 Add_in 会自动在我的方法名称单词之间插入下划线?
例如,我会写“ public void ChangeEmail Should Update Email()
”,然后按快捷键,它会转换为“ public void ChangeEmail_Should_Update_Email()
”
是否有 Visual Studio 的 Add_in 会自动在我的方法名称单词之间插入下划线?
例如,我会写“ public void ChangeEmail Should Update Email()
”,然后按快捷键,它会转换为“ public void ChangeEmail_Should_Update_Email()
”
您可以使用 Jean-Paul Boodhoo 的BDD 宏- 但不确定是否是自动的。
请注意,最近 Jean-Paul 决定改用AutoHotKey - 请参阅以下 - 帖子So Long BDD Macro - Hello Autohotkey !!! 和BDD AutoHotKey 脚本更新 - 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...