JetBrains Rider - "Search Everywhere" command different to one triggered by Shift+Shift - jetbrains-ide

Seen in both Rider and IntelliJ:
I want to rebind the command triggered by a double tap of Shift, which by default brings up this dialog:
My understanding was this was the "Search Everywhere" command, but if I run that command I get the following:
What is the command run by a double tap of shift called?

You must have assigned that shortcut to the wrong action.
I'm not using Rider... but in PhpStorm (another IDE built on IDEA platform) it will locate 2 matches (as seen on screenshot below) when you search for everywhere on the "Keymap" screen.
The correct action is Main menu | Navigate | Search Everywhere. For me it bring the same popup as double Shift.
P.S. Once again: the screenshot is from PhpStorm 2020.2.1. It may look different in Rider (but similar in IntelliJ).

Related

Forward slash key not working in VS2019 code editor

Since a few days (I don't know exactly when it started) the forward key in VS2019 is not working in the code editor. No matter how many times I press it, it doesn't do anything.
It also doesn't work in the seach box in the menu bar (labelled 'Search (Ctrl+Q)') nor in the search box which appears with Ctrl+F.
It does work in other places, like the solution explorer search box (Ctrl+;) and in the resource editor.
The forward slash is working in any other application that I tried (including Visual Studio Code and MS Excel). The question mark (Shift+/) is working everywhere, including in the code editor window. Even AltGr+/ is working (producing the Spanish upside down question mark).
I tried all other keys, including the AltGr combinations. They all work fine. Keyboard layout is US International.
The foward slash key doesn't work in the code editor when typing it on the laptop keyboard, and doesn't work when typing it on an external keyboard, or via an RDP session.
I am running Windows 10 Pro 64-bit, version 20H2, build 19042.685. System is up to date.
Visual Studio Professional 2019, 16.8.3, also up to date.
What is causing the forward slash key to fail?
How can I solve this problem?
(Too long for a comment.)
The OP indicated that the problem was resolved after resetting the keyboard shortcuts, which suggests that / was set as a keyboard shortcut either by accident or perhaps by an installed extension.
However, the question remains in such cases of how to identify what a particular keyboard shortcut is assigned to, in order to turn off just that one shortcut as opposed to resetting all.
Visual Studio does not appear to provide a place to see the list of all active keyboard shortcuts. An alternative is to go to Tools / Import and Export Settings / Export Selected / All Settings and save a .vssettings file with all the current settings. That is a plain text file with extended XML sections, and the keyboard shortcuts can be found under the following node (reformatted for readability):
<Category name="Environment_KeyBindings" ... >
<Version>16.0.0.0</Version>
<KeyboardShortcuts>
<DefaultShortcuts>
<Shortcut Command="View.ViewCode" Scope="Global">F7</Shortcut>
...
</DefaultShortcuts>
<UserShortcuts>
...
</UserShortcuts>
</KeyboardShortcuts>
</Category>
One of the <Shortcut> lines would have been listing / before the reset, and the Command attribute on that line indicated the assignment, so that it could be located and turned off individually in Tools / Options / Environment / Keyboard.
#dxiv Your comment made me check the shortcuts. Tedious job, scrolling through those hundreds of options). Nothing. Then I clicked the Reset button. That solved the problem.
In my case, the CodeRush extension was the guilty party. "Selection comment" gets set to use / upon installation. WTG DevExpress ......
https://docs.devexpress.com/CodeRushForRoslyn/120205/coding-assistance/selection-tools/comment-uncomment-selection
Update:
Also adding a screenshot of it in VS 2022 to help people find it:

Can't activate shortcut on intellij products

Description
I'm using some intellij products (WebStorm, PHPStorm) and Android Studio and have the same issue with both of theses.
I have an azerty keyboard, with a french layout.
I can type without issue in these softs, but I can't activate shortcuts.
When I try to activate a shortcut (e.g ctrl+z), the activated shortcut is ctrl+w.
the shortcut is correctly triggered, but with the wrong keyboard layout. It seems that when I type, my french keyboard is used, but when I want to use a shortcut, the english layout seems to be used.
Is this a known bug (if so, I've not found any mentions about it), or did I miss something?
What I've tried
I'm running on Fedora 29, with Gnome 3.
I've tried to see if it wasn't reproductible with others softs (e.g firefox/ vscode), and I can't reproduce this.
I've tried to see if it wasn't based on my keyboard settings, so I ran xev to monitor the output of pressed keys. I can't reproduce this issue.
In intellij settings, I've tried to set Keymap > Prefer key position over key char with national layout both true and false, it doesn't seem to change anything.
Current situation
Here is an exemple of a shortcut definition in Android Studio.
I pressed A to Y keys on my french keyboard (which output A,Z,E,R,T,Y), and then press the same keys with ctrl (which output ctrl+Q instead of ctrl+A and so on)
https://imgur.com/a/U4aFd7F
Expected situation (tl;dr)
I expect that when I press ctrl+a, the shortcut triggered inside intellij products is ctrl+a instead of ctrl+q
It is indeed a known bug: https://youtrack.jetbrains.com/issue/IDEA-165950
In the bug report another workaround is mentioned for Gnome 3:
Re-order the languages in Settings > Language and Region tab, put English(US) first of the input source list.
I solved it by running setxkbmap fr. I don't know why this is required by intellij products, but it works.

IntelliJ (Android Studio) Feature similar to IntelliSense Toggle Completion Mode in VS/SSMS

In Microsoft IDEs there's the option to Toggle the Completion Mode, which means that it will automatically select the top result if you click . (Dot) or ;
Which is very intuitive and saves alot of clicks in the lifetime of the code writing process.
Is something similar possible in Android Studio ?
When I click Ctrl+Alt+Space it achieves exactly the desired result, but only for the currently typed expression, and then reverts to its old ways as soon as I move to the next line/expression.
Settings | Editor | General | Code Completion -> Insert selected variant by typing dot, space, etc.

Code::Blocks Find Window Closing

I was wondering if there is a way to keep the "Find" window open in Codeblocks IDE (I'm using v13.12 if that's relevant). I'm talking about the window that usually opens (in any IDE) when you hit 'cntrl + F'. In Codeblocks it keeps closing everytime I hit 'Find'. I would rather it stay open like in Eclipse, Notepad++, and so forth.
I normally use the "Find in files" function instead of the normal Find function.
When pressing Ctrl+F select the second tab in the window and you will find "Find in Files".
Normally I use the scope "Project files" which limits the search to the project only.
After a search you will be provided with all the results in the bottom log window in the tab "Search results". You can then easily click around on all matches and C::B will jump to the file and location.

How to turn off ReSharper's "Find All Usages"

I am giving ReSharper for C# a whirl. I have found that I prefer Visual Studio's simpler "Find All References" over ReSharper's more detailed "Find All Usages". "Find All References" finds everything I need 95+% of the time. Does anyone know of a way to turn off "Find All Usages" and revert back the VS's implementation?
Unfortunately, there is no way to turn it off without turning the whole thing off.
Sorry, it takes a bit of getting used to.
To restore the original VS 'Find All References' command:
Go to ReSharper Options > Environment > Keyboard & Menus
Clear 'Hide overridden Visual Studio menu items'
The 'Find All References' command will be available in the context menu of a type
To restore the original 'Shift+F12' shortcut:
Go to Visual Studio Options > Environment > Keyboard
Enter 'Edit.FindAllReferences' in the search box
Set the cursor in the 'Press shortcut keys' field , press Shift+F12 and click 'Assign'
Select 'Text Editor' in the 'Use new shortcut in' selector, then set the cursor in the 'Press shortcut keys' field, press Shift+F12 and click 'Assign'
"Yet, selecting "None" on the Group By combobox of the Find Usages window gives a listing similar to VS's Find All References."
Unfortunately that is still a regression as the filename is not listed on the line items. Ironically the line/column coords are still displayed which seems a bit pointless without the context of the filenames.
I'm using ReSharper 8, and when I have many usages, I would prefer having VS's Find All References listing because it's more compact. Yet, selecting "None" on the Group By combobox of the Find Usages window gives a listing similar to VS's Find All References.

Resources