Visual Studio 2012 Ctrl + Alt + Arrow keys not working for shortcut assignments? - visual-studio-2012

I just started using Resharper and am liking it so far, except it changed the way Alt-Up and Down moved lines of code around in the text editor, Resharper wants that to mean Goto Next / Previous method. I wanted to keep it as the original, and assign the Gotos as Ctrl + Alt Up / Down or Alt Gr + Up / Down.
It seems that assigning commands to Ctrl + Alt + Up / Down arrows keyboard shortcut is not possible in Visual Studio, can anybody confirm this? Why is this I wonder.
This is not specific to Resharper I don't think, can anybody that's not using Resharper try to assign some command to Alt Gr + Up / Down arrows and see if it works?
Warning: If you have Intel Graphics running, the Ctrl + Alt + Up / Down arrows are set to flip the screen around 180° - which I never use. You can disable this by right clicking on the desktop, selecting Graphic Options, Hot Keys and Disable. I have disabled these but I wonder if they are interfering still?

found it! I had this issue with CTRL+ALT+LEFT OR RIGHT ARROWS and I killed the igfxHK Module process and it worked! Even though I'd already disabled Hot Keys that didn't do it, the module was still holding on to the key combination for some reason.
Hope this helps.

I had the same issue with Visual Studio Code. Killing the igfxHK module fixed it.

Related

When I tried to selection with SHIFT + arrow at keyboard in Android studio on Pro M1 MAX it works like ALT key

I have a new Macbook Pro M1 MAX and installed Android Studio. I tried to select substring on line in Android Studio but it does not work. When I press and hold SHIFT key on keyboard, typing pointer changed and work as like I hold ALT key.
When I use double keys(CMD + SHIFT, ALT + SHIFT ) it works.
When I use different program (Sublime, EditText, etc.) it works.
When I use only SHIFT, it does not work.
Do you know why?
I found solution.
removed every plugin on Android Studio and it is works.
Add every plugin step by step and check after every plugin installation
And Baaam!
Problem is "IdeaVim" plugin.
When installed shift key works like a crazy :)

Resharper show potential fixes (ctrl + .) not working with stylecop

I very often use ctrl + . resharper shortcut to fix errors in my code. It works perfectly with "standard" errors, but after installing StyleCop.Analyzers I can no longer open suggestions with a shortcut. IDE even suggest to use ctrl + ., but after pressing it either nothing happens or a window with other unconnected options pops up. In order to fix anything I need to hover with mouse and then correct context menu shows up. For example:
After pressing ctrl + . what I can see is:
How do I fix it so I can use ctrl + . shortcut with StyleCop errors?
I'm using VS2019 with ReSharper 2020.

shortcut to see all the properties of widget in flutter

I m new at flutter, I m using android studio and I want to know is there is any shortcut to see all the property of any particular widget at the time android studio it self, without going to the documentation page.pls help, it really help to reduce the development time.
In my case it's ctrl + space. But I'm not using apple's mac mini keyboard.
So "In my case" ctrl + space is the most useful. Then you can click on some widget e.g Text and press ctrl + j to see documentation. You can also press cmd + p to see all properties in inline mode.
This feature is called Code Completion:
On my MacbookPro & Android Studio Smart Code Completion -> fn+^+space was working. However Basic key shortcut ^+space was shadowed by MacOs keyboard input settings. So disabling the select the previous input source solved this shadowing. Now both shortcuts are working.
In Mac it's (control + J), if not working go to preferences or settings, then head to keymap, and then there search for documentation. you will get the shortcut.
Also try ( command + p ), I think that would work for what you are trying to find.

Shortcut alt+enter is not working in Android Studio

alt + enterfor importing was work normally maybe until I updated Android Studio,
my version now is2.3.3
as this screenshot, I can't press alt + enter at all, knowing that I have tested them on other programs and they are working normally
Use LEFT Alt Key + Enter. It works well in Android Studio 3.0.1.
I encountered the same problem today, this is how I solved it.
Go to File > Settings > Editor > General > Auto Import
Uncheck and Check Show Import Popup
Do Invalidate caches and Restart of Android Studio. (If this option doesn't work, restart your computer
Edit
Another solution I've found to work is to uninstall Android Studio and reinstall it.
Try "the Windows Key + Alt + Enter" if you are using windows.
It feels weird as I am pretty sure my keyboard works fine and android studio settings are alright, but I just see the pop-up suggestion for class import and nothing happens when I press Alt+Enter.
I work on Windows 10 and my Android SDK is on a different hard drive(E:) from the Android Studio installation(C:), not sure if these contribute to the problem.
After some trial and error I accidentally solved the problem by pressing "the Windows Key + Alt + Enter" to conjure the import class menu and could then press Enter again to properly import the suggested class.
In the Android studio Settings/Keymap "shortcut Ctrl+Alt+S"
search for usage of "Alt + Ent" as below image if its not assigned for any action plz go for No. 2
In the Android studio Settings/Editor/Intentions.
Check whatever you want to show Intention in are checked or not as below photo
Double check no.1 is working fine and you found usage of "Alt + Ent" shortcut
[You can find the solution on official Jet brains website]
Intellij IDEA keyboard shortcuts
Intention actions
I faced the same problem and was sure that the problem is in Android Studio. But when I reinstalled it I realized that it did not helped. So I decided to test my keyboard. I found that my left Alt is not working with Enter and right Alt somewhy is turning on Ctrl key. That is why Alt+Enter was not working in any combinations. Problem was solved by reinstalling keyboard driver. Hope it will helps somebody.
Go to File and Unchecked Power Save mode.
For Windows/Linux, you can go to File -> Settings -> Editor -> General -> Auto Import -> Java and make the following changes:
change Insert imports on paste value to All if ask or none to All
markAdd unambigious imports on the fly option as checked
On a Mac, do the same thing in Android Studio -> Preferences
If someone encounters this issue nowadays, for me it was the language change on the keyboard. I must have made some weird keyboard combination that changed the language, therefore ALT + ENTER was not really doing I was thinking it should do. Switching it back to ENG made it work correctly. Cheers.
in Android Studio 3.2.1, the Alt + Enter combination key is only used on the left side of the keyboard.
If you want to use the Alt to the right, it should be manually selected from the section
Settings> Keymap> other
Right-click on the row
show intention action
select add keyboard shortcut
Press Alt (Right) + Enter
I hope this helps
it was the problem with the latest version to...instead of pressing alt+enter. use ctr+o it will open a dialog box then select the method u want to implement and then click on ok button ..its works with all version of android studio.. { Happy coding ;) }
I thought I had the same issue and none of the above fixed the problem. I thought I was using Alt+Enter for Parameter info. Now I use Ctrl+p I get the parameter info for the widget. Not sure if this was changed from Alt+Enter to Ctrl+p but if looking in the File/Setting/Keymap it shows Ctrl+P.
I just ran into this and what worked is Alt+Insert combination
The first thing you have to check is did you put the code inside the onCreate function?
If not put it there and try again. the Alt+ Enter would work after that.
I encountered the same issue after I upgraded Ubuntu. Left Alt+Enter was working but more comfortable Right Alt+Enter did't. Resolved using this solution in AskUbuntu.
In case if you cannot open the link:
Open "Tweaks" (aka "Gnome Tweaks") go to "Keyboard & Mouse" -> "Additional Layout Options" -> "Key to choose the 3rd level" and put a check mark on "Right Alt never chooses 3rd level".
I faced the same problem. Then I found that I was typing the
public void functionName (View view) outside the class. Hence alt + enter did not work.
After I moved the function inside the class, alt + enter worked.
This is a silly mistake though.
In my case (v4.0.0) there was a plugin (CSV Plugin) blocking the shortcut alt + enter.
Generally speaking, my suggestion is to try deactivating all the plugins and see if then it works.
I just pressed alt + f4 to exit and pressed cancel just to check if alt key was working. Fortunately after that everything was working fine.
Go to 1)setting > 2)intensions > 3)checkmark (Dart) and it will work normally without any problem.

How to remove shortcut command Ctrl+E in Management Studio

I'm really frustrated by this shortcut because I commonly use both Emacs and Management Studio for different projects. However accidentally pressing CTRL + E in MS and expecting cursor to move to the end of the line, which it does in my Emacs configuration, can be really bad in MS if you are programming modifications to a database and, say, are not finished with your WHERE clauses.
I have found no way of redefining CTRL + E to something else, or remove the shortcut entirely. I know I can rightclick the EXECUTE button in the toolbar (no can do in Query menu) and remove the ampersand symbol there but it does not take, CTRL + E still executes my query.
Any help appreciated
For now, there is workaround (map Ctrl + E to some other software):
http://www.sqlservercentral.com/Forums/Topic855640-149-1.aspx
But apparently it cannot be disabled until next version (SQL 2011) :
http://ask.sqlservercentral.com/questions/36303/disable-keyboard-shortcuts
You could install SSMS Tools Pack(it's free). All of its features allow for keyboard shortcut binding, so all you need to do is open the options for one of its features and rebind the shortcut to Ctrl+E. I just tried it now for a coworker who has an identical problem as you. Works great!

Resources