keyboard-shortcuts

What is the command for block select in Visual Studio 2008

假装没事ソ 提交于 2019-12-12 08:29:29
问题 In visual studio you can select a block of text by holding down Alt when when selecting text with the mouse. This is very useful for selecting a column of data or text as opposed to the entire line. In Visual Studio 2003-2005 this operation could be performed by holding Alt + Shift in conjunction with the arrow keys but the keyboard option no longer works in VS2008. Can anyone tell me the editor command to assign to a keyboard shortcut? Is this keyboard shortcut just moved to something else

Eclipse inspection (Ctrl + Shift + I) equivalent in IntelliJ IDEA (Community Edition)

冷暖自知 提交于 2019-12-12 07:31:49
问题 Under Eclipse I can inspect expressions/variables in debug mode with Ctrl + Shift + I . In IntelliJ IDEA (Community Edition), I can add expressions/variables to the watches, but on the next debug they are lost. Is there any way to inspect variables and expression on the fly when I'm debugging? 回答1: Quick evaluate expression with Ctrl + Alt + F8 (or on a Mac: Cmd + Opt + F8 ) gives me exactly what I want. 回答2: Do you mean "Evaluate expression" action Alt + F8 ? Many more useful shortcuts are

How to skip loops while debugging Java code?

邮差的信 提交于 2019-12-12 07:10:07
问题 This is not a duplicate of How to come out of while loop during debugging. See the comment on this answer https://stackoverflow.com/a/8107702/1391924 by the author of this question. While debugging, we can use short-cut keys like F8 to resume, F7 to step return, F5 to step into, F6 to step over. Is there any short-cut key to skip loops (for,while and do-while) while debugging Java code? In the picture shown below Currently debug cursor is at line no 57. Is there any short cut key when pressed

Shortcut to comment out a block of code with sublime text

谁说胖子不能爱 提交于 2019-12-12 07:08:10
问题 I want to comment out a block of code in sublime text. I see it in RailsCasts, but don't think he uses sublime text ... to do the following ... if (uncommented) some uncommented example # if (commented) # some commented example code # end end Is there a shortcut in sublime text that I can use to insert the block of #'s? 回答1: The shortcut to comment out or uncomment the selected text or current line: Windows: Ctrl + / Mac: Command ⌘ + / Linux: Ctrl + Shift + / Alternatively, use the menu: Edit

Enable Tab Key in my Web Browser Control

荒凉一梦 提交于 2019-12-12 06:37:30
问题 I have a web browser control in a custom task pane control (User Control) and I open it as a sidebar as soon as my Outlook opens (I have created it as an Outlook Addin using Visual Studio 2013). The web browser control has a login form inside it and I would like to place focus on an input control in my web browser control as soon as Outlook opens. I have tried several tricks like placing focus on the custom user control and then placing focus on the input control after the form has loaded but

Press hotkey to rerun script during a loop but don't wait for it

丶灬走出姿态 提交于 2019-12-12 05:48:37
问题 Basically I have a script that runs and it Start-Sleep for 30 minutes then loops around again and re-runs. I was wondering if there was a way where you could click on the window, press a hotkey, and have it just refresh manually? while($true){ $data = @("device1", "device2") ForEach ($server in $data) { ping $server start-sleep 1800 clear } } 回答1: I found through other methods that the below has allowed me to check the screen for any key press and break if there is one, but still be in a

How do I suppress menu keyboard shortcut KeyDown handling in WPF?

落爺英雄遲暮 提交于 2019-12-12 05:26:24
问题 I have an application that has menu keyboard shortcuts and text boxes. I want the keyboard shortcuts to be disabled when the text box has focus, but I can't figure out an easy way to do this. I could handle the text box's PreviewKeyDown event, but sending a KeyDown event doesn't cause the TextInput event to trigger so I'd have to manually trigger the TextInput event myself, and I'd have to make sure that every text box overrides the PreviewKeyDown event and creates a TextInput event. Is this

How to get the localized keyboard-key-name in VS C#

≯℡__Kan透↙ 提交于 2019-12-12 03:47:30
问题 I have a ToolStripMenuItem that has the ShortcutKeys Ctrl+Oemcomma (i.e. Ctrl+, ). I want to show that shortcut near the item-name, so the user can see that shortcut. Unluckily it's shown as Ctrl+Oemcomma and not as the more understandable Ctrl+, . There's the property ShortcutKeyDisplayString that overrides the automatic created string, so that way one can fix it. But as soon as the application is run in a language that doesn't call the control-key Ctrl (e.g. in germany it's called Strg ),

How to disable default browser navigation with Space in Flex

雨燕双飞 提交于 2019-12-12 03:00:52
问题 I have defined a keyboard shortcut that uses space. After I have pressed the shortcut two things happen: some random navigation in my app and also the code in my eventHandler from the keyboard shortcut. I found THIS table with browser keyboard shortcuts and obviously space sometimes is used for navigation. So is there a way to stop the navigation with space in Flex, because eating the spacebar button doesn't seem to work: FlexGlobals.topLevelApplication.addEventListener(KeyboardEvent.KEY_DOWN

Aptana - Keyboard shortcut for HTML/JS (jQuery) Preview within the IDE?

让人想犯罪 __ 提交于 2019-12-12 01:33:45
问题 Is there an Aptana shortcut button for previewing within the IDE? (rather than having to mouse over to IE) ... 回答1: Keyboard shortcut for switch between source/preview: Alt + PgUp / Alt + PgDwn Not mentioned in official documentation. 来源: https://stackoverflow.com/questions/3462216/aptana-keyboard-shortcut-for-html-js-jquery-preview-within-the-ide