Hello.
I'm having trouble selecting text in Android Studio.
This happens whenever I select any text in any kind of editor (Java, Groovy, XML).
When this happens, I cannot: type text, use the 'delete' key on the text, or any other modifications.
I noted the white box, which usually indicates the 'insert' function. But I am on a MacBook Air, and there is no 'insert' key on the keyboard!
I'm using Android Studio 2021.2.1 Beta 2.
Any help would be appreciated, I've scoured the menus, even tried going back a 'Preview' version, but nothing has helped. I do not believe this is a System wide setting, Pages and other apps do not have this issue.
Thanks
Error was fixed by disabling Vim plugin
Related
I have set up my android studio with all plugins I had before. I am facing a problem and I can not resolve it, The problem is when I am selecting a line to edit or delete the cursor then turns into insert mood and then I can not do nothing like deleting or editing. How can I resolve this? I am using Android Studio 4.0.
This is the video link I uploaded it to show you the problem just 1 min video. This will clarify my statements.
See The Problem in This Video
I got the solution here,
This made my day.....
Solution Link
Solution Video
Check for the first time if you didn’t activate the insert mode. Keyboard shortcuts for the android studio will not be the source of that bug. You have to check the Android Studio plugin to disable the one which causes the problem of typing.
You just have to uninstall or disble the ideavim plugin and you're good to go.
I'am a newby in android studio and learning a lot, but now have a problem where i cannot seem to find the answer to.
In android studio you can visualy drag&drop your screen.
I have seen it can do al lot (although you sometimes need the xml) but for me it is not working at all.
I mean i cannot drag&drop any widgets on the screen at all.
Tried changing the theme: no help (really tried a lot of them)
Tried a complete new project: same story
Tried other APK verion: same story
Tried Invalidatd caches / restart: no help
Even with a new project (EmptyActivity) it add's a android.support.v4.widget.NestedScrollView and then gives error's on that
(Failed to find style 'coordinatorLayoutStyle' in current theme).
It also gives an error on layout_height/layout_with not being there. But they are there for each widget.
Please do not missunderstand: when i execute the project i runs just fine (both on phone and emulator) but the visual builder for the screen.....:-(
Does somebody knows how to solve this.
If more info is needed please ask.
Any help is more than welcome.
There are several things that could be causing this:
Your caches could be messed up. Try going to
File > Invalidate Caches / Restart ... (I know that you already tried this, but posting for future views.)
Also, make sure that you don't have Drag-n-Drop with ALT pressed only checked in your Settings (Appearance & Behavior - Appearance).
Finally, in a default project created in Android Studio, there are two XML files created for each layout. For example, content_main.xml is embedded within activity_main.xml. Make sure that you are using content_main.xml for your design work.
In the end i fixed it by changing the SDK version in de gradle file.
still do not understand why it was wrong as studio genereded it that way but now it works so.... for me: case closed.
I am wondering if anyone else has had this issue with visual studio (or a VS extension because I have a few installed) and what is causing this? The number goes away when I close visual studio and I have not been able to figure our what is causing this. The number is overlayed on my desktop and not just visual studio. It covers all other windows I have open as well telling me it's set to be always on top.
Anyone else come across this issue or what is causing it?
I figured it out!
This has been bothering me for years. I finally just sat down and solved the problem. Basically, VS has this little known feature where you can navigate through code lens with just your keyboard. If you press Alt for a couple of seconds, you will see numbers just like the ones that appear at the top of your screen above your current method. To fix it, just long press Alt again and the number should go away. If you have many VS instances open you might have to go through them one by one.
I don't have significant reputation to comment, but I am experiencing this both with VS2013 and VS2015 too. The only extension I have installed is Resharper.
My research shows that it is caused by the hover text / overlays from various components. The only way I have found to get rid of them is to close the Visual Studio IDE window responsible.
as stated in the questions title, we have an issue with VS2012. The problem is that sometimes suddenly some keyboard-input in VS isn't executed properly, if at all.
When the problem occurs, we are only able to type in characters and numbers, but neither are we able to delete them (backspace or DEL), nor to use the arrow key to jump up down a line or to the next/previous character. Overwriting a text which has been marked with the mouse is working.
I have found a very similar Question but the hints stated there doesn't work here. Those are:
Hitting Alt+Enter
Closing and Reopening Editor Windows
Closing the ToolboxWindow
Restarting VS
Pressing ScollLock
The Problem seems to be related to the Stylecop-AddIn. After uninstalling it, the issue doesn't come up anymore. Is there some known workaround? Thanks in advance!
Apparently StyleCop can be used with out Resharper, I didn't know. Very sorry. However, if you look at the documentation for StyleCop, if you right click on your project, click Source Analysis Settings, you will be presented with a dialog to turn on or off all of StyleCops rules.
Here is a link to the actual documentation which has images which helps describe it. StyleCop Settings
I've become accustomed to using ReSharper, so uninstalling it is not an option.
However 1 little thing that I would like to try fix is the immediate window, I used to get automatic intellisense prompts when for example typing myObject.
That seems to no longer be working (and only in immediate window while debugging) since I installed ReSharper. Any ideas on how to get it back?
Unfortunately, if you're using the ReSharper intellisense (instead of the Visual Studio one), it won't work. I remember reading somewhere that this is a known issue due to a limitation in the Visual Studio extensibility API. This also affects the watch dialog.
The only thing you could do is manually invoke intellisense each time using Ctrl-Space. Perhaps this issue will be solved in Visual Studio 2010.
The problem is ReSharper and there is no current any solution.
And the shortcut for intellisense-pop is Ctrl + Space, (not Ctrl + Alt + Space)