What do "Lookup Down" & "Lookup Up" actions do in Android Studio? - android-studio

When I was going to assign ctrl+down/up to f3 & shift+f3
I came across these two commands which had the same keyboard shortcut:
"Lookup Down" and "Lookup up"
Location: file > setting > keymap > other
Couldn't find anything about them. After removing ctrl+up/down from the scroll up/down action I tried them in editor space but they don't lookup/down for the previous searched word. any ideas?
More generally, is there any complete documentation/help for android studio?
These links doesn't seem to have such a complete documentation
http://tools.android.com/
https://developer.android.com/studio/intro/index.html
Also couldn't find anything on IntelliJ IDEA help.

Android Studio is based on JetBrains' Intellij IDEA, so most of the information you're looking for would be the same regarding the IDE.
I'm not sure about the specific shortcut you mentioned, but you can find a complete default-assigned shortcuts reference link inside Android Studio's help menu named "Default Keymap Reference".

Related

How to disable/pass refactoring preview window in Android Studio

I'm using Android Studio for a long time and I always found annoying the fact that you have to manually move the mouse to click 'Do Refactor' when refactoring. Is there a way to do it by some keyboard shortcut or completely skip this preview window? When I'm refactoring I know what I'm doing and I don't feel like I need a preview in most cases.
I didn't find anything that could answer my question.
I had a similar issue with Android Studio. I couldn't find a way to disable preview, but I did find a keyboard shortcut workaround. Just press Alt+D and it will "do refactor".

ReSharper Shift+Alt+L (go to open file) not working in 2015 with .resx?

I'm wondering if this is just my ReSharper setup, but as of updating to Visual Studio 2015 with ReSharper Ultimate 9.1.3, using the Shift+Alt+L shortcut while editing a .resx in the designer does nothing.
Has anybody else experienced this, and is there any config that will get this working or is it a bug?
Thanks
This was caused (for me anyway) because my keyboard mapping had magically changed back to UK mapping from US (I want US).
The other day I had another issue that caused Resharper key mappings to go awry and followed some advice on another post (I can't find it at the moment) that want along the lines of:
Open Tools > Options > Keyboard and hit Reset
Open Resharper > Options > Keyboard & Menus, select "Visual Studio" and hit "Apply Scheme"
This should wrest control from Resharper back to Visual Studio and give Resharper the freedom it needs to wrest control back from VS.. ugh, but it worked
Maybe have a look to Stackoverflow - How to locate a file in Solution Explorer in Visual Studio 2010?.
Tools (in Menu) -> Options -> Keyboard -> goto input Show commands containing and type SolutionExplorer.SyncWithActiveDocument. Goto Press Shortcut Keys and press Shift + Alt + L click on Assign button.
You may get a warning that the shortcut is already in use.

AndroidStudio find in entire project option?

Does Android studio has a way to search a whole project for some text?
Like web-storm's find in project feature.
Right click corresponding project(module) =>Find in Path
Keyboard shortcut - Ctrl+Shift+F
You can search everywhere with "Double Shift".
Check this https://plus.google.com/+ChrisLacy/posts/E2C3Yp3qqU9

How to configure IntelliJ (also Android Studio) redo shortcut to CTRL+Y instead of CTRL+SHIFT+Z?

The default IntelliJ / Android Studio "Redo" action shortcut is CTRL+Shift+Z and this is a common problem for Windows users.
A bigger problem is CTRL+Y is mapped to the "Delete line" action - and this causes the undo stack to be lost.
To solve this issue, how can the "Redo" shortcut be changed to CTRL+Y in IntelliJ?
Open Settings (press CTRL+ALT+S)
Click Keymap on the left list.
There is a combobox that contains keymaps. Select one of them (default means IntelliJ of course. We can't change any of pre-defined keymap however we can copy, edit and then use the edited one. So) we should copy "default" to change only redo mapping.
Give a new name to your copied keymap.
Right click on:
Main Menu -> Edit -> Redo to click "Add Keyboard Shortcut"
Press CTRL+Y
Click OK
Click "Remove" to "the shortcut is already assigned to other actions. Do you want to remove other assignments?"
If you want to use any "remove line" shortcut also, then go to delete line shortcut and give to it any other shortcut (like 5th step)
Click OK to close settings window.
Change the keymap setting to the Visual Studio, Eclipse, or NetBeans preset.
The settings window can be found under File > Settings. CTRL+ALT+S should work if the shortcut hasn't been changed. In the settings window you should find Keymap under the Appearance & Behavior settings list.
You can configure each editor command to a key combo that you like (as #ismail yavuz mentioned) such as for Redo to CTRL+Y or you can just change the Keymap setting to an editor that you are used to. This might be best if you are in the process of switching to IntelliJ as it is probably the path of least resistance. The default settings for the Visual Studio, Eclipse, and NetBeans keymaps all map Redo to CTRL+Y.
The Principle of least astonishment is strangely violated for Windows users but at least shortcuts is customizable. Because of this command being so contrary to the Windows experience I decided it wasn't worth learning the IntelliJ keyboard when anywhere you're working at you need to, you can quickly change. There are almost no drawbacks to not learning the IntelliJ. Remember that in the keymap menu you can search for a command in the search box or click on the magnifying glass on the right to search by key combo.
Of course neither answer is wrong. Chose your preference.

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