Trying to fill the gap of missing features in VStudio.
14 October 2013 | 27 April 2018visual studio eclipse
When switching over to a new editor and new language, I can sometimes get frustrated by missing features I got (very) attached to. This excludes the obvious difference in shortcut keys.
Shortcuts and refactoring tools
One plugin to rule them all: ReSharpner. This productivity tool brings back the incredible development speed to the Visual Studio platform. You can almost map the eclipse (or IntelliJ, since they guys from JetBrains developed it) keys to the ReSharpner keys. If you’re used to quickly refactor out variables, introduce classes from parameters or create test classes, you’ll be in heaven.
The following shortcuts can be mapped (you’re welcome):
|Eclipse shortcut||ReSharpner shortcut||description|
|CTRL+SPACE (CTRL+ENTER)||CTRL+SPACE (TAB)||code completion, select in combobox|
|CTRL+SHIFT+O||CTRL+E, ©/F||organize imports (and format etc, F = silent)|
|CTRL+F11||CTRL+U, U||rerun last|
|CTRL+O||ALT+||Go to file member|
|CTRL+SHIFT+G||CTRL+SHIFT+ALT+F12 (SHIFT+F12)||find usages|
|F3||F12||go to definition|
|CTRL+SHIFT+.||SHIFT+ALT+PGDN||go to next error|
|CTR+,||SHIFT+ALT+PGUP||go to previous error|
|ALT+SHIFT+I||CTRL+R, I||inline variable|
|ALT+SHIFT+M||CTRL+R, M||extract method|
|ALT+SHIFT+C||CTRL+R, S||change method signature|
|CTRL+M||SHIFT+ALT+ENTER||toggle full screen mode|
Other interesting links:
Comparing files with each other
Simply comparing two files within the editor can be a pain - the easiest way to do it in Eclipse is just select both files, rightclick and select “compare”. No such option here. You can compare a file with a previous version from TFS, but not two physically different files, weird. Install VSCommands and that problem is also solved:
It uses the built-in VS2012 comparison window, which is quite nice.