In Vi / Vim you can move to a bracket and press % and the editor would move the cursor to the matching bracket. This saved large amounts of time when moving around the large files in the editor. Is there a Visual Studio equivalent?
...
What's the equivalent of eclipse's Ctrl+T for Visual Studio?
Preferably no third party tools.
...
Is there any easy way to execute a chunk of code instead of moving cursor to the beginning of code chunk, and shift + down arrow to the end of code, then hit F5?
Is there any keyboard shortcut to duplicate line (duplicate several lines), delete line (delete several lines)?
Thanks.
...
In Visual Studio, I always use Ctrl+Tab and Ctrl+Shift+Tab to navigate between documents. I see that Eclipse has Ctrl+F6 to navigate between editors, but this isn't nearly the same behavior. The difference being, pressing it once and then again will get you moving back and forth between two files, whereas in VS, it will cause you to navi...
Can someone please remind me how do I toggle between open projects using a keyboard shortcut? I briefly knew how to do this but it has evaporated from my brain and Google is no help.
...
I want to add a keyboard binding to a JTextField, but I cannot make it work using the alt graph key.
I followed the keyboard bindings tutorial and tried this:
inputMap.put(KeyStroke.getKeyStroke("altGraph ENTER"), ...
inputMap.put(getKeyStroke(KeyEvent.VK_O, InputEvent.ALT_GRAPH_DOWN_MASK), ...
but the action is never trigger...
Is there a way to hide/show all open tool windows in Visual Studio 2010? I'm aware that I can use Shift+Alt+F10 to go into full screen mode, but that doesn't help me much.
I'm interested primarily because I'm data copying from PDF tables to an XML document using Windows 7's Win+/ side-by-side windows feature (which is why full screen ...
While using SQL Server Management Studio (2008), is it possible to open a table in Edit mode through keyboard shortcut or even some special keyword I type while in "New Query" window?
...
On forms created with pre dotNET VB and C++ (MFC), a checkbox control responded to the plus/minus key without custom programming. When focus was on the checbox control, pressing PLUS would check the box, no matter what the previous state (checked/unchecked), while pressing MINUS would uncheck it, no matter the previous state.
C# winfor...
I recently upgraded to Visual Studio 2010 and found out that when i press Ctrl-Backspace on a empty line it will delete the line, which is what it did in 2008, but then it will also delete the last character on the line above. I have tried to see if there is any settings anywhere but i cant seem to find any. Does anyone know if you can c...
Hi,
I didn't see the question yet.
Every browser has different native keyboard short-cuts. Did someone already tried to figure out which one free / safe to use if we want to add some spicy stuff to our web-app?
Thanks in advance.
...
You might not know this, but pressing the F4 key on a ComboBox makes it's drop-down item list appear. I believe this is the default behavior on Windows.
Does anyone know how to override this behavior in WPF (C#)?
I know that overriding default behavior is generally seen as bad practice, however in this case I have a rugged-device that...
I just upgraded to a Macbook Pro as my development machine but still primarily develop .Net applications with Visual Studio and Resharper (via VMWare Fusion). By far, the biggest obstacle I'm running into is getting used to the keyboard layout change (ex. not being able to do ALT-Insert). Do any of you Windows-on-Mac veterans have any su...
Is there a keyboard shortcut to display tooltips provided by Visual Studio & Resharper when you hover over a bit of code? I'm already aware of Quick Documentation (Ctrl-Q) and Quick Watch (Ctrl-Alt-Q).
...
There is a shortcut Ctrl+Shift+W to select the entire word at the current cursor position.
Is there a similar shortcut that keeps expanding the selected region every time I apply it?
I mean, is there a shortcut which
selects the word when applied once (same as Ctrl+Shift+W) and
selects the entire line when applied twice in a row and
...
I use a lot code templates which are great and I do control-space - control-space and choose my templates (down/down etc...)
I would like to have some code templates bind to a key for example the Template 'if' bind to control-meta i
Do you know if that's it possible or is there a plugin for that?
Thanks,
...
I have been using ReSharper for some time and since I can remember every time I install Resharper, it's default keyboard shortcuts override Visual Studio's CTRL + F and CTRL + SHIFT + F for "Find" and "File in Files". It happend with R#3, 4, 5 in VS 2005, 2008 and 2010.
I don't have any ideas why would that be a good idea, but if this ...
I'm in love with the function in Eclipse "assign to field". Basically, when I have
getString();
and I type ctrl-2, Eclipse converts this into
String getString = getString();
Is this possible in VS 2010?
...
Hey all,
Is it at all possible to add custom key bindings to buttons in SWT? I can't use & in the text of the button to set a mnenomic because my buttons have no text (only an image). Is there a good way to do this using key listeners or is there something like the input/action map in swing?
Thanks in advance.
...
Hi,
Is it possible to use reflection when we write a code-template?
I was just thinking if it is possible to write a piece of code-template that will return me a list of all private field in the class separated by && operator in Visual Stuudio?
Let's say, I will enter "getAllPrivates&&" (or press a shortcut key) in the VS editor and i...