keyboard-shortcuts

Move line Up/Down shortcut in Visual Studio 2012

穿精又带淫゛_ 提交于 2019-12-03 03:27:54
问题 In VS2010 I had a shortcut set up Alt + Up/Down to move lines of code up or down, just like I used to have in Eclipse in my Java days. Now since Power Tools and macros (which is how I set up this shortcut in VS2010) are not available in VS2012, how do I get this to work? I've seen somebody mentioned that Resharper can do this, but for the love of fire and water, I can't find the command names in the list of commands that can do that. I have tried ReSharper_MoveUp/MoveDown and that does not

How to move Eclipse tabs with keyboard shortcut?

故事扮演 提交于 2019-12-03 03:11:14
I would like to move my tabs in Eclipse like this : From this: To this: But using a keyboard shortcut, 'cause is very annoying doing this with the mouse everytime just to reorder the tabs. Any idea ? Kai There is no such a shortcut. Tabs are shown in the order you open them. But you can switch the tabs using Ctrl + PageUp and Ctrl + PageDown . Or select one tab in the list of opened tabs using Ctrl + E . 来源: https://stackoverflow.com/questions/16276852/how-to-move-eclipse-tabs-with-keyboard-shortcut

Google Chrome's Javascript console keyboard shortcuts

佐手、 提交于 2019-12-03 03:01:38
问题 I would like to debug my javascript application using Google Chrome 3 's developer tools. Everything fine and ok, until I actually want to start debugging. I can set breakpoints etc., but I don't want to debug using a mouse but using keyboard. In Firefox + Firebug I can use F10 , F11 and F8 for stepping over, into and run debugged script. Are there any keyboard shortcuts in Google Chrome's Javascript console window ? System configuration (if relevant): Windows Server 2008 R2 (would probably

F12 no longer works in Visual Studio

99封情书 提交于 2019-12-03 02:59:30
问题 This is driving me crazy. Ever since I installed ReSharper 4, F12 no longer seems to work. If you look at the all the ReSharper short cuts in the Goto sub menu Declaration doesn't have any assigned! The only way I can go to declaration is by using Alt and ` and then selecting Declaration. I have tried un-installing and re-installing ReSharper with no luck, I have also, in ReSharper option asked it to use the default Visual Studio Key Bindings but that doesn't to work either. Interestingly,

Generate getters and setters in NetBeans [closed]

为君一笑 提交于 2019-12-03 02:54:48
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I Need to know how to have NetBeans generate getters and setters using a shortcut. 回答1: Position the cursor inside the class, then press ALT + Ins and select Getters and Setters from the contextual menu. 来源: https://stackoverflow.com/questions/21074402/generate-getters-and-setters-in-netbeans

What is the way to quick-switch between tabs in Xcode 4

徘徊边缘 提交于 2019-12-03 02:52:21
问题 I have opened many tabs while working on project. (new feature in Xcode 4). But for switching from one tab to other tab, the only way I've found to do this is to use the mouse. Is there any way to switch between different tabs using keyboard shortcuts? 回答1: Shortcuts are: CMD + SHIFT + } - Select Next tab CMD + SHIFT + { - Select Previous tab 回答2: The default shortcuts are: ⌘ + SHIFT + { - Select Next Tab ⌘ + SHIFT + } - Select Previous Tab But I prefer going to XCode -> Preferences -> Key

A way to automatically organize #imports in Xcode

百般思念 提交于 2019-12-03 02:34:56
问题 I love the "Organize Imports" command in Eclipse to implicitly add and remove classes imported into a source file (as in Java or ActionScript). Is there a command in Xcode to update the #import directives at the top of.m Objective-C files based on the classes referenced within the file? 回答1: You can do this by creating an Automator action and use that in Xcode as well as everywhere in Mac OS X. To do that, do the following: Start Automator -> New Choose "Service" add a "run shell script"

How to Move a Line Up or Down in Visual Studio Code for Mac

天涯浪子 提交于 2019-12-03 02:34:30
问题 I'm familiar with how to move a line up or down in other editors, like Atom and Sublime. How is this done in Visual Studio Code for Mac? 回答1: In Visual Studio Code for Mac... To move a line UP : ⌥ + ↑ (alt + up arrow keys) To move a line DOWN : ⌥ + ↓ (alt + arrow down keys) See here for a reference on Basic Editing Key Bindings in Visual Studio Code. 回答2: In Visual Studio Code for Mac for me it is: To move a line UP : ⌥ + shift + ↑ (alt + shift + up arrow keys) To move a line DOWN : ⌥ + shift

What are good custom keybindings in emacs?

此生再无相见时 提交于 2019-12-03 02:31:43
Emacs seems to have all the possible keyboard combinations already randomly distributed among it's commands. :p If I am to define new keyboard shortcuts, where should I put them? Which prefixes should I use? For instance: I want to define shortcuts for the following functions: indent-buffer (C-c i, after I got the answer) comment-or-uncomment-region (C-c C) rdebug (ruby debugger) (C-c R) rsense-complete (ruby autocomplete) (C-c e) Where would you put these? Why? Trey Jackson Emacs actually has a very definite pattern to its bindings, this answer shows some. As far as where you should define

“Right Click” keyboard short cut for Visual Studio?

非 Y 不嫁゛ 提交于 2019-12-03 02:31:00
I'm trying to force myself to use as little mouse as possible and I can't find the answer to this simple short-cut anywhere! Here the the steps: Open up Visual Studio. Open any C# file (or any code file I believe) Point your mouse anywhere on the window/file. Right Click Is there a shortcut key for this so I don't have to move my hand to the mouse? boflynn Taken from lytebyte , you've got two options: Shift + F10 That nutty key on the bottom-right of a modern Windows keyboard, the Menu key Depends on where/why you're right-clicking. The context-menu key is on the right of the keyboard nowadays