4 ms·
In C# with Visual Studio and Resharper: * Have cursor on 'Dog' * Ctrl-R-R * Type 'Animal' * Press Enter Done. And your code won't be littered with 'old' types
by koyote 8y ago
In C# with Visual Studio and Resharper:
* Have cursor on 'Dog'
* Ctrl-R-R
* Type 'Animal'
* Press Enter
Done.
And your code won't be littered with 'old' types and other garbage.
- brianberns 8y agoThis is native to Visual Studio now. You don’t even need Resharper.
- kkarakk 8y agoi've only used the native one but i've found it fails on some edge cases where it can't detect variables outside a certain scope. still trying to reproduce it but has made me double check all references since then
- Const-me 8y agoVery similar with C++ and Visual Assist, the shortcut is Shift-Alt-R.