I was fiddling around in PhpStrom's keymap, and was confused by the predefined key binding for Hide active tool window as I don't recognize the circle symbol with the tilted arrow. What button am I supposed to press?
The circle/arrow symbol is for the escape key (and the up-arrow is shift).
Related
I am having trouble finding the shortcut for Zooming (increasing font size) / unZooming (decreasing font size) in emacs. I must add that I am interested in the command-line emacs (i.e. no window, i.e. "-nw" option) only, I don't use the graphical interface.
The Zoom-in command is supposed to be C-x C-+ and the Zoom-out C-x C--, also since I am using a laptop - often without mouse -, I am not interested by a "mouse-wheel up/down" option.
I tried C-x C-+ in two ways:
"typing Ctrl then 'x' then Ctrl then key '1' which is the key with the '+' symbol above the 1 on my qwertz keyboard"
"typing Ctrl then 'x' then Ctrl - WHILE HOLDING SHIFT" then key '1' which is the key with the '+' symbol above the 1 on my qwertz
keyboard"
neither seem to work, although the second would seem to make more sense, i.e. to hold shift as if to write the '+' sign that i can get with shift-'1'
So I wonder: is the shortcut C-x C-+ only intended for people equipped with a numeric keypad ? or is there another way and in any case what do you suggest ?
And no, this question (How do I bind C-= in emacs?) does not answer mine, in fact I don't even understand what it is about (question is totally unclear and unrelated to mine - as far as i understand)...
I am just asking how to Zoom/unZoom i.e. increase/decrease font size...
Since emacs is running within a terminal, you can't directly control the font as you would running as a GUI app. To zoom in and out, you need to use the method that your terminal application provides for changing the font size. This is often <ctrl>+ and <ctrl>-, but your terminal keybindings may be different.
I can no longer use just the down arrow keyboard key to move the cursor down one line in the text editor. Using arrow keys to move up, left, and right still works fine. How could this have broken, and how can I fix this?
I have closed and re-opened VS, but that did not fix the issue.
Right before this started happening, I was remapping some of the keyboard shortcuts under Options -> Keyboard. I deleted a bunch of unused shortcuts, added some new ones, and changed some. Is it possible that there was a shortcut just for moving the cursor around that I inadvertently deleted? I looked, but I don't see any shortcuts that might fit that description.
Normally, Edit.LineDown command should have Down Arrow assigned to it in the Text Editor scope:
You may need to reassign the shortcut if it is broken.
There are already many questions about VS Code's block selection and multi-cursor selection, and I'm not asking how to use it, but rather, how to make it behave in the standard way on a Mac (without the shift ⇧ key pressed).
The way it currently behaves is this: your current cursor location defines one corner of the block selection, and when you press ⇧⌥ and click somewhere else, you define the opposite corner of the block. You can drag as you're clicking, but dragging really only changes the definition of that opposite corner. Your (text) cursor's position always defines one of the block's corners.
Considering that the VS Code default keybinding is ⇧⌥, the behavior is proper for having the shift ⇧ key pressed. But I'm trying to find a way to get the normal behavior that you'd expect on a Mac when the shift ⇧ key is not pressed.
In normal Mac behavior (without shift), the entire block is defined by:
where you first click, before you start dragging, and
where you release, after dragging.
This behavior is exactly the same as for plain-vanilla text selection, except that you get a block, instead of a line-oriented selection.
I would like to find a way to have VS Code allow me to define the block selection solely based on where I click and drag, and not based on the current text cursor location.
How can I do this?
Note that you don't have to drag the mouse. You can single click (with no modifier keys) in one corner, press and hold Shift and Option, and click in the opposite corner, then release the Shift and Option keys. So, your attempt to start the selection is actually extending it (relative to the previous selection).
What's working for me in 1.53.1 (January 2021 release) is to click and hold the mouse button (with no keys pressed; this starts a normal, non-column selection), then press and hold Shift and Option, then continue dragging the mouse. I find this method cumbersome and prefer selecting opposite corners as above.
I don't see an obvious way to change to Option-only to start a column selection.
In Visual Studio 2013, is it possible to change the keyboard shortcut for switching the overload on the Parameter Info popup to something other than up and down arrows?
For example, when you type:
System.Text.RegularExpressions.Regex.Matches(
A little box pops up telling you about overload 1 of 3 for that method. Pressing the down arrow will go to 2 of 3 etc. As a point of fact, the up and down arrows already serve the nifty function of moving the cursor. When that box is visible, you have to hit escape to get the up and down arrows back to their normal behavior.
My question is this, can you change the Parameter Info box up + down keyboard shortcuts to be something else, like control up or down?
I did notice that the left and right arrow keys might be a bit better than the escape key, but I'd still prefer to remap the up and down behavior so they can make the box go away.
I realized how much time (and hand movement) I spend hitting the escape and figured it'd be worth asking. I do not think this falls under the category of the keyboard shortcuts that you can remap from the Options screen.
Many thanks!
Does anyone know what the keyboard shortcut to scroll a method's overloads that appears in the tooltip is? I presently have to resort to using the mouse to click the ^ and v labels in the tooltip, which isn't particularly effective.
Thanks!
A little late but maybe somebody else needs it too:
Place the cursor after the first bracket
Press Ctrl + Shift + Space
What's the command to bring up the tooltip? I know the shortcut in Eclipse (Ctrl + Space) but that's Eclipse...
In VS the tooltip shows when you type the first bracket but if I would like to see the different method overloads for a method that's been implemented already, how would I do that?
Press Ctrl + Shift + Space to see the list of overloads and arguments.
See the Visual C# 2008 Keybinding Reference Poster for more keyboard shortcuts.
The arrow keys work for me...
Sometimes I have to hit escape to get rid of the intellisence popup before using the arrow keys to scroll through the overload list.
What's the command to bring up the tooltip? I know the shortcut in Eclipse (ctrl+space) but that's Eclipse...
In VS the tooltip shows when you type the first bracket but if I would like to see the different method overloads for a method that's been implemented aldready, how would I do that?
There's got to be an easier way than this:
place the cursor just after the first bracket
erase it
re-type it (tada!)
navigate the methods using up and down arrows
when you're done, press ctrl+z to undo changes.
1. To Show Overloading Suggestions
Place the cursor after the first bracket and press CTRL + SHIFT + SPACE to bring it back.
Also, Erasing the opening bracket and writing it back can do the trick too.
2. To Scroll through Overloading Suggestions/Options
if your IntelliSense options are showing then press ESC which will hide it. Now, it's time to use the Up/Down arrow keys to see the charm.
if your IntelliSense is disabled, the Up/Down arrow keys will work directly.
Ctrl + Shift + Space in the "()" method brackets brings up the method overload context menu. The UP and DOWN arrows are used to navigate through.
The Visual Studio Keybindings definition is : Displays the name, number, and
type of parameters required for the specified method.
P.S. Jasper's link to Visual C# 2008 Keybinding Reference Poster is useful, check it out.
Arrow keys are the short cut keys i suppose as they work for me.
You can type a comma after the last parameter of the function. That will bring up the intelisense menu