I guess accidentally pressing a key or a combination changed a setting in Android Studio after which android studio is acting weird and won't let me select code properly.
Look at following image.
I have checked Android Studio setting and couldn't find anything related to it.
P.S I am using Windows 10.
In 3.3.1 column select mode is under the Edit menu
To enter/exit column selection mode, press alt+shift+insert.
After deactivating, you can still do column selection with using alt + left click drag.
Related
I am unable to drag and drop from the palette in design view. I have searched multiple threads and found that the alt key must be pressed. However i have tried that, and even unchecked that option (settings>appearances) and still no success. When i try to drag something, it appears on the device screen for a split second and then disappears.
Thanks.
Try it again while editor language is default not locale.
I was learning the things in Android Studio which I didn't know . While proceeding with this learning , File menu from menu bar has removed by mistake . Now I am searching how to add File menu again , I didn't find any setting for this in the Android Studio . I searched it on StackOverflow but no luck .
Help me please I have stuck with this issue .
Here is the snapshot of Android Studio :
Enter settings via Hotkey or shift+strg+A then type settings.
In the Settings menue navigate to Appearance & Behaviour > Menus and Toolbars and klick Restore Default in the lower right corner
I am bit late to answer this question but I have working solution for Android Studio 4.1.2
Simply Press Ctrl + Shift + A and type menu and now if see the ON/OFF button in right and simply toggle menu visibility by click
I like to use Ctrl+Space to find suggestions to replace names. I used it in Eclipse. And now I am using it in Android Studio. The Android Studio version is not working as I want it to. Say I have a class called ILoveCats. But for whatever reason I have it misspelled as ILoveHats. If I place the cursor between I and L and press Ctrl+Space, sure enough it will show the correct ILoveCats. But then if I click Enter it replaces ILoveHats with ILoveCatsLoveHats. Is there a place where I can set this to behave properly: so it shows ILoveCats upon replacement?
After you have the suggestions open with Ctrl + Space you should be using Tab instead of Enter. Tab inserts and overwrites while Enter just inserts.
I want to fix the configuration of my keyboard in Android Studio.
When I press:
';'
Android Studio writes:
<
All of symbols are changed, I try restart Android Studio to resolve it, but after some minutes change the settings again.
This only happens in the editor of Android Studio. How can I resolve it?
I had a similar problem, but on this post I found that ALT + LEFT_SHIFT switches between languages in Windows.
As chamanv said, pressing ALT + LEFT_SHIFT switches between languages.
It's windows that's changing your keyboard layout
To change back, just press ALT + LEFT_SHIFT
A more permanent solution:
To disable this shortcut in windows 10 permanently, Open Settings>Time & Language>Region & Language>Advanced Keyboard Settings>Language Bar Options>Advanced Key Settings
and then click on the Change key Sequence button & set the values to Not Assigned
This also happened to me, and is because android studio is changing your keyboard default language settings, maybe you triggered this by pressing a shortcut.
I am trying to extract style in android studio 0.8.9 using the refactor option. But it seems to be disabled for some reason. I have tried cleaning and rebuilding the project just in case and even restarting Android Studio, but nothing seems to enable the extract style option.
Do let me know if anybody else is facing the same problem or is there a way to solve this ?
Screenshot image:
I had the same problem. Extracting styles is different in Android Studio:
You don't need to select text and choose Refactor->Extract->Style, just choose the menu option With no text selected.
So, just click anywhere inside the ImageView element (Do not select any text). The refactor option should become available.
Works fine for me without selecting any code. To extract layout you need to select the whole layout not just a part of it.