I know that there are many questions and answers regarding having VisualStudio keyboard shortcuts in Eclipse.
I'm actually interested in the opposite: having Eclipse keyboard shortcuts in VisualStudio.
Does anyone know if this is possible?
I haven't seen any direct Eclipse shortcuts or key-bindings to import directly in Visual Studio. (only official supported languages are documented)
That leaves only a manual settings, I am afraid.
Related
My question is there code completion for Visual studio like in Netbeans where you cycle the buffer with ctrl+k, when you type something?
There's now a nice extension called Simple Autocomplete which adds one command simpleAutocomplete.next that you can map to a shortcut of your choice.
No, there isn't a similar feature in Visual Studio.
The traditional Visual Studio autocomplete is using intellisense.
When you start typing, intellisense may bring up a drop down with suggestions. In that case you can tab to complete using the current suggestion or use the arrow keys to choose another.
Ctrl-Space (or Alt-Right arrow) will bring up this intellisense menu if it's not up.
I find it does a pretty good job overall.
Some extensions like Resharper or Visual Assist offer their own code completion or other similar features (like Suggestion List for Visual Assist).
I know it's been ages since I asked this question but I found the next best thing to do this. What I would suggest is to use VsVim extension and to use Vim's anyword completion; however, in order for this work, what must be resolved is the keyboard shortcuts that conflict:
Go to "Tools options" in Visual Studio.
Then go to VsVim category(alternatively you can search "VsVim" and
should bring the options) and click keyboard.
As far as I know vim deals with this type of completion with these keys
CTRL+P and CTRL+N so what we do is to let Visual Studio give up
these keybindings and let VsVim deal with it by Selecting from the drop
down of the keys(CTRL+P and CTRL+N) and let it be "Handled by VsVim".
I hope this has helped someone out.
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?
Just published new extension for Visual Studio:
Meet IntelliCommand (Visual Studio 2010/2012 extension)
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.
There is an "AsEclipse" plugin that should provide most functionality:
https://visualstudiogallery.msdn.microsoft.com/99ede732-544c-4f3b-8e38-49e4b8395075
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+;
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.
install telerik justcode... it has all shortcuts you just need to change them to be like in eclipse ... works like a charm after 15mins
I'm not sure if following are VS or ReSharper shortcuts:
open type heirarchy: Ctrl+E, Ctrl+H
move selected lines up or down: Ctrl+Shift+Alt+UP/DOWN/LEFT/RIGHT
To get eclipse like shortcuts in vscode:
Please go to:
Ctrl+Shift+p and type java: Overview
open overview using enter
there is option under Key Bindings
Use Eclipse Key Bindings
just click it.
and you will get all eclipse shortcuts in vscode
Does anybody know how I can set a new scheme for my keyboard shortcuts that mimics the default key bindings of MS Visual Studio?
There are two default schemes in Aptana (Preferences | General | Keys) but can I create or (better still) upload a new scheme?
Ideally I'd like to avoid having to set them all manually.
I'm on a OS X Snow Leopard, btw.
Cheers
Ben
99% of the key bindings should be for native Eclipse functionality, so you could find a Visual Studio-like keybinding for Eclipse, and that should work for Aptana. Someone posted something like that here:
Visual Studio's keybindings for Eclipse
And that should work if you can import the scheme the top responder has offered.
Best,
Ingo
Visual Studio refugee here. I've had to switch to Eclipse to write a couple of Java apps and I am really missing all the VS2008 goodness I've come to rely upon.
I am new to Eclipse, so I simply might not be finding what I need. With that in mind, how do I replicate the following in Eclipse.
Right click on a source code tab,
and open the folder
Love VS' External Tools feature, which allows you to perform operations on a single file via tokens. Anyway to do this in Eclipse?
Intellisense when editing XML files
Finally, can someone recommend a good newsgroup or a forum where Eclipse experts hang out (other than here)? I couldn't really find anything on the eclipse site.
There are plug-ins available for this, such as StartExplorer, Eclipse Explorer
Click on the "start button + toolbox" drop down menu next to "run" and "debug" and select "Open External Tools Dialog". This lets you run arbitrary tools.
Intellisense for XML would normally be provided by the XML editor you're using. Look in Eclipse Plugin Central for XML plug-ins if the one which come with Eclipse aren't enough for you.
I'm trying to bind the following shortcut: Ctrl + W to close tabs
How can you customize VS to add/change shortcuts? Also, what are the most useful shortcuts you guys have found?
Tools > Options > (Show all settings), then Environment > Keyboard.
Here, rebind the key “File.Close” to Ctrl+W.
VS 2005/2008 Keybinding posters:
Visual C# 2008 Keybinding Reference
Poster
Visual C# 2005 Keyboard
Shortcut Reference Poster
Visual Basic 2008 Keybinding
Reference Poster
Visual Basic
2005 Keyboard Shortcut Reference
Poster
These don't cover customizations but they're good reference materials and definitely helpful for finding new shortcuts.
I keep a link to Jeff's shortcuts page, and refer to it to learn the shortcuts for all tasks I find myself regularly doing. I also use VisualAssist, and use a lot of:
toggling between .h and .cpp files (yes, I code in C++ :) ) (Alt-o);
going to the definition of something (Alt-g).
Tools > Options > Environment > Keyboard
I find most of them useful TBH!
Commenting, Bookmarking, Incremental Search, etc etc.
The one you want to override by the way is Window.CloseDocumentWindow which defaults to CTRL+F4
Ctrl-Shift-Space shows the syntax/overloads for the current function you are typing parameters for.