Android Studio uses the first keyboard layout for shortcuts hotkeys - android-studio

I have multiple keyboard layouts defined for my OS. Two of them are English Querty and Dvorak. The problem that I have is that the shortcut keys of Android Studio, always work with the first layout, even if the second one is active. All other applications honor the selected layout and don't have this problem.
For example, I have selected the second layout which is Dvorak:
Now in Android Studio I enter Ctrl + Z to undo something. But the shortcut for Ctrl + / gets triggered because Z in Dvorak is defined in the key / in Querty.
Is there a way to fix this problem?
P.S: I'm using Ubuntu 19.04.

Hi you are right Go to Ubuntu settings / Keyboard drag and drop what you want to use which keyboard layout to first row. it is done.

Related

Removing two finger touch on Android Emulator

I am running Linux Mint and are creating flutter apps. Once in a while when I change my workspace (CTRL + ALT + Left/Right) away from my android emulator then this weird tracer starts appearing and I can't get rid of it without closing everything on the emulator. The tracer follows my cursor and reacts to right click etc.
Has anyone any idea what this is?
Update
I just noticed that they are representing two fingers. How to get rid of it though?
It's a bug I think. It should only appear when you press CTRL button and disappears as soon as you release the CTRL button. To get rid of this press the zoom button once.

How to copy error message in Android Studio tooltip

How can you select or copy the error tooltips that appear when hovering over code in Android Studio?
For example:
Is there a key command? I'm on Mac if that's relevant.
Thanks!
On Windows: try,
Hover over the yellow popup text
Alt+LeftMouseClick
The 'yellow text' should now be on your clipboard, ready to paste.
That is it!
The older solutions don't seem to be working for me. Not sure if the behavior changed, but here is what is working for me on a Mac with Android Studio 3.4:
press control + option simultaneously
hover over the text that has an error
click on the tooltip when it pops up.
On Mac, a slightly different dance than Windows.
hold shift
click and hold towards the end of the text(probably missing last character)
keep holding mouse click and release shift
while holding mouse click, press Command + C to copy
paste wherever
Ubuntu:
When you make the popup shows up, hold Alt+Shift and carefully select any amount of the text and press Ctrl+C.
You don't need to select all of the text, because it will always copy the whole message ignoring the selection.
Tested on Ubuntu 18.04.3 LTS and Android Studio 3.5.2.
Once popup shows up, move your mouse pointer over it and simply select (mark) bubble's text, then do Copy with keyboard shortcut (CTRL+C on Windows or Command+C on Mac) while still having mouse pointer over the bubble.
Not sure how on Mac, but on Windows it works that way for me, with the exception that you need to keep mouse pointer over the bubble all the time otherwise it is gone (which sometimes forces me to copy all but last character from that message).
On Ubuntu, try
Hover on the error or warning popup text
Maintain CTRL to keep it displayed
Use the cursor to select the text

How can I change the keyboard shortcuts of Unity desktop (Ubuntu 14.04)?

I want to change the default shorcuts for some touchpad events and key combinations, for example swiping left or right with three fingers for switching workspaces, using Super + K for opening the terminal and so on. What can I do?
Thanks!
click on
shutdown button --> system setting --> keyboard-->shortcut
, choose one element from the left list then modify what you want

Missing keyboard on iOS8 simulator?

I'm checking my app against iOS8 in the simulator and one thing that puzzles me is that when I tap on a UITextField or UITextView the keyboard doesn't appear on the screen! I can still enter text with my hardware keyboard. Also, if the input element has a inputAccessoryView, that view is shown on the bottom of the screen. So everything works as expected except that the keyboard is not appearing on the screen.
This is valid for all input elements throughout the app.
I don't use the new feature for custom keyboard.
Checked the Settings - don't see anything that can help.
I know XCode6 is still a beta but this seems too obvious problem to be a bug (or is it!?)
In the iOS Simulator menu select:
Hardware > Keyboard > Toggle Software Keyboard
or press Cmd + K.
The Connect Hardware Keyboard option in the same menu has to be enabled.
This seems to be bug in iOS 8. There are two fix to this problem:
Toggle between simulator keyboard and MacBook keyboard using [Command+K] shortcut key.
Reattach keyboard to simulator:
a. Open Simulator
b. Select Hardware -> Keyboard
c. Uncheck and then check 'Connect Hardware Keyboard'
OR simply press [Shift + Command + K] shortcut key
i had the same issue and i resolved by doing following steps
1) Select the iOS Simulator
2) Goto Hardware in menu (top Left)
3) Select Keyboard
4) Uncheck the "Connect Hardware Keyboard" option
Happy Coding :)
I highly recommend to disable "Slow Animations" which can be found under "Debug" -> "Slow Animations".
For me, that permanently fixes the issue.
Shortcut is: CMD + T

What is the shortcut for the little auto suggest blue bar in Visual Studio 2012

In Visual Studio, when you type in a Class name or property that Intellisense doesnt recognise a little blue bar show up underneath the first letter of the word with options like suggestion the namespace to import and refactor etc.
Does anyone know the shortcut to open that window with having to mouse over it? I can't for the life of me find it on Google, probably because I can't find out what the function is called.
I use the Ctrl + . (period) shortcut to open that menu when the blue bar is showing.
Press Alt + Shift + F10 to bring up the context menu.
The commands in this menu are also available in Edit + IntelliSense + Generate. Only the Generate Method has a predefined shortcut key: Ctrl+K, M. You could use Tools + Options, Customize, Keyboard to assign additional ones.

Resources