keyboard-shortcuts

Is it possible to assign a shortcut to “Step Into Specific” in Visual Studio 2012 C++?

試著忘記壹切 提交于 2019-12-23 16:44:46
问题 I recently discovered the "Step into Specific" option while debugging C++ in Visual Studio (using VS2012) which is really helpful especially if there are many constructors, smart pointers, etc. However, as I'm mostly debugging using the keyboard (F9, F10, F11, Shift-F11) I wonder whether it was possible to add this function to the keyboard repertoire somehow ? Alternatively, as I mostly use the "step into specific" command on functions like void doSomethingInterestingWith(sharedPtrToDb-

Custom Keybindings for Ipython terminal

ⅰ亾dé卋堺 提交于 2019-12-23 15:53:19
问题 Is it possible to define custom keybindings and/or desactivate the default ones for Ipython terminal interface? For example, I have bound C + j and C + l to move left and right in my terminal by configuring the ~/.inputrc file (Linux), but when using Ipython terminal, C + l is captured before and actually clears the screen. So my questions are: 1) Is it possible to desactivate some keybindings of Ipython 2) Even better, is it possible to totally configure Ipython keymap? 回答1: Reposting as an

Is there a keyboard shortcut to quickly find and open a file in Visual Studio 2005/2008 like how they do it in TextMate?

三世轮回 提交于 2019-12-23 15:14:14
问题 Is there a keyboard shortcut to quickly find and open a file in Visual Studio 2005/2008 like how they do it in TextMate? In textmate Command + T in Textmate brings up something that you can type a few key which would display all relevant files and allow you to quickly select one, Command + T back and forth also allows you to quickly alternate between 2 files most recently used. This is extremely helpful. I am aware that there is a Ctrl + Alt + ↓ which shows a list of all open documents which

How can I scroll left and right in Eclipse editor with the keyboard without moving the cursor?

耗尽温柔 提交于 2019-12-23 12:14:04
问题 To scroll within the Eclipse editor without moving the cursor up and down one can use CTRL+Down or CTRL+Up . But what about left and right ? 回答1: It is not possible. If you search keys in Eclipse's Preferences , you will find out that you only have Scroll up and Scroll down that you can set hotkeys on. My recommendation would be changing the maximum line length in the editor. Make your code shorter. After all, looooong lines of code are not so readable. Also, resize your editor area. If you

How can I simulate Alt+Shift to change the language in Windows?

ⅰ亾dé卋堺 提交于 2019-12-23 10:39:52
问题 i need to to force alt + shift in Delphi to make my language of the app. I tried with keybd_event calling it twice, but it didn't do the trick. 回答1: Do you want to switch input language of your application? Use ActivateKeyboardLayout function for this. 回答2: Do you control the system to be sure that it's going to respond to that? I have an alternate language installed but it can only be switched via the mouse, I have disabled the keyboard shortcuts. The problem is that I rarely actually need

How to copy error message in Android Studio tooltip

一个人想着一个人 提交于 2019-12-23 09:30:16
问题 How can you select or copy the error tooltips that appear when hovering over code in Android Studio? For example: Is there a key command? I'm on Mac if that's relevant. Thanks! 回答1: On Mac, a slightly different dance than Windows. hold shift click and hold towards the end of the text(probably missing last character) keep holding mouse click and release shift while holding mouse click, press Command + C to copy paste wherever 回答2: On Windows: try, Hover over the yellow popup text Alt

Xcode 4: Close all documents?

随声附和 提交于 2019-12-23 09:29:58
问题 I often do Control-Command-W to close a document. Is there a keyboard shortcut or menu option to close all documents? 回答1: I don't think this is possible. Holding down Control-Command-W seems like the best way to close all documents in a single window. 来源: https://stackoverflow.com/questions/6281399/xcode-4-close-all-documents

How to complete a Visual Studio snippet in VB.NET?

冷暖自知 提交于 2019-12-23 08:54:02
问题 In C# if you start a snippet you press Tab to cycle through the snippet elements, and press Enter to complete and exit the snippet. In VB.NET you still use Tab to cycle through the snippet elements, but how do you end the snippet? Enter doesn't work and I can't figure out the correct keyboard shortcut 回答1: VB snippets don't work the same way as C# snippets. VB snippets don't have an 'end' and instead stay active until you start typing outside of the snippet scope. The best method is to press

Reset bash history search position

亡梦爱人 提交于 2019-12-23 08:45:23
问题 In a terminal the Bash history can be searched easily with Ctrl + r . But what if I cannot find what I am looking for? I am stuck in the middle of my history. What if a want to search again from the beginning? Is there another shortcut to reset the history search? 回答1: There is Meta + > , which is bound to end-of-history and useful if you're in the middle of your history. The meta key is usually the Alt key. If you see that your incremental history search isn't successful, you can use Ctrl +

What is the command for promoting a peek preview to document?

半城伤御伤魂 提交于 2019-12-23 07:29:17
问题 When I'm in peek preview, I sometimes wish to promote it to document. It's done by mousing on the icon as shown below. On occasion (most of the occasion, in fact), my mouse is tired and wants me to use my keyboard for such promotion to document. According to the wisdom on the net, it's achieved by Ctrl Alt Home . In my VS, there's nothing assigned to the key combination, so I'm guessing someone snack in and changed that without my permission. However, to restore it, I need to know what the