Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual studio shortcut keys equivalent to eclipse shortcut keys

I use both eclipse and visual studio (2008 right now) a lot. But there are some shortcut keys from eclipse that I really miss in Visual Studio that I haven't been able to locate. Does anyone know if these exists in Visual Studio?

Being able to search in your open window tabs - this is Ctrl+E in eclipse I think? I know you can navigate, but not search.

open type
open type heirarchy
open resource
move selected lines up or down (Alt+Up/Down)
move to last edited line
(NOT Ctrl+- / Ctrl+Shift+- in VS and not Ctrl+Z, which only works if you're in the same file?)

If they don't exist, anyone got a good resource on how you can program shortcuts yourself for VS?

like image 501
KTrum Avatar asked Feb 21 '11 20:02

KTrum


People also ask

How do I find the shortcut Keys in Visual Studio?

The Global context means that the shortcut is applicable in any tool window in Visual Studio. You can look up the shortcut for any command by opening the Options dialog box, expanding the Environment node, and then choosing Keyboard.

What is F12 in Visual Studio?

Peek Definition Alt+F12 If you've installed Visual Studio 2013, there's a new keyboard shortcut -- Alt+F12 -- that will give you a preview of the method being called inline.


5 Answers

Just published new extension for Visual Studio: Meet IntelliCommand (Visual Studio 2010/2012 extension)

like image 185
outcoldman Avatar answered Oct 20 '22 01:10

outcoldman


This may help you for the moving of selected lines: Visual Studio: hotkeys to move line up/down and move through recent changes

Still searching on the others.

like image 28
Mike B Avatar answered Oct 20 '22 00:10

Mike B


enter image description here

Go to Settings keymaps and search for eclipse. If you install Eclipse Keymap from Alphabot Security plugin in VS Code. It has most of the shortcut from eclipse.

like image 32
Vignesh Ravi Avatar answered Oct 20 '22 01:10

Vignesh Ravi


There is an "AsEclipse" plugin that should provide most functionality:

https://visualstudiogallery.msdn.microsoft.com/99ede732-544c-4f3b-8e38-49e4b8395075

like image 37
Dennis Avatar answered Oct 20 '22 01:10

Dennis


I am a first time user of VS. Open Resource and Open Type look to be pretty well covered by Search in Solution Explorer, which is accessed using Ctrl+;

like image 42
B5A7 Avatar answered Oct 19 '22 23:10

B5A7