Android Studio: Disable gutter - android

I have disabled everything there is to disable in the gutter, yet its this big:
I don't want the gutter at all. It's ugly and not useful for me.
Halp!

Just in case for those who didn't know yet, you can set shortcut keys for "Main Menu > View > Active Editor > Show Gutter Icons" in 'keymap' in preference as you want. You can't disable it altogether, but at least can hide the area by each file. Currently I use Android Studio 3.5.3, but I believe you can do this in some earlier versions, too.

Apparently as of now there is no way to disable that portion of the IDE.
Debugging is an essential part of software development and there are not many people that would like to disable that in an IDE. Of for that matter even thought about that - it's not taking that much space anyway. You could probably put in a feature request for that.

Related

Android Studio 4.1+ emulator sidebar?

This question been bugging me since the release of the built-in emulator tab.
How to make it appear? Like, enforce it.
Because it just seems to appear whenever. I work mainly with Flutter projects and some projects just open and there it is. Other projects don't have the emulator tab so I have to run it in a separate window like it used to be. There are no options anywhere - it either "is" or not. I want consistency and I like it being a tab. How to enable it once and for all? Is it possible?
Solution is quite simple, if I don't see emulator in my Flutter project, I check in File->Project Structure, see picture.
There has to be an "Android" module, if there is none, just add it from a '+' menu, that's all, the Emulator tab will appear.

What is the use of current inspection profile in android studio?

I was working on a project in android studio and suddenly I found a man type logo
I hover my mouse on in for a second then it shows me
Current Inspection profile: Project default.
Click to configure highlightening for the file.
When i clicked on this button it shows me
Now I want to know what is the use of this option or is this is important or not?
It may can be stupid question but I asked this question just to increase my own knowledge becuse this option seems bit important
Thanks In advance!
Happy Coding!
This has little to do with code inspection, but one can only define what is being highlighted. One could call it the visual representation of the inspection results, as it clearly read "highlighting level". This option only is of use, when you have to work with an old crappy computer, but rather irrelevant on current hardware.
As the name suggest, it inspects your code for issues, errors, incompatibility etc. and may recommends better options. If your system is low on resources (RAM, Battery, CPU) you can select None and also you can choose the PowerSave mode.

Android Studio documentation auto popup issue

I am new to Android Studio IDE. I was very accustomed to the Eclipse IDE and now everything seems hard to accomplish with Android Studio. One of the things which bothering me is the documentation auto popup in the settings. The popups are always overlapping the parameters info. which are important.
Does anybody know how to solve this or if it's possible at all to have the 2 options.
I've already tried changing the delays in the settings but the it's the same result.
Example image:
Go to File > Settings or do Ctrl+Alt+S
Under Editor > General
Uncheck Show quick documentation on mouse move

Can I stop Eclipse from automatically adding views?

For example I have two perspectives, one for debugging, and one for coding.
In the coding area I obviously don't want views for debugging (LogCat from ADT for example).
Jet when some plugin, feature or view feels it has something important to say, it just shows up on whatever perspective I am. Eclipse just adds a view, and brings it to top everytime, which is getting quite annoying.
How do I disable this?
You can configure the LogCat behavior from the Eclipse Preferences window (e.g., Window > Preferences on Windows and Linux). Go into Android > LogCat and toggle values like "Switch perspective" and "Display logcat view...".

Problems with Android XML Editor and Eclipse...Hard to manually edit XML

It's been a few years since I have last developed android apps. Since then, a graphical editor was added to Eclipse that allows you to generate the XML for an layout in a WYSIWYG fashion (part of the android sdk). I like it. Speeds things up.
However, with this editor I am having a heck of a time editing the xml in the "xml view" as opposed to the "graphical layout" view.
When in the XML view, I can no longer use a lot of shortcut keys. Like ctl-c or ctl-v (cut and paste) and most frustratingly I can't use the "delete" key. When I perform a cut and paste, nothing happens. And checking the clipboard, I can see that nothing gets copied in the first place. When hitting the delete key, strange side effects happen. Somtimes nothing...othertimes enter widgets are removed. I can't figure it out.
While in the XML view, I can use the mouse to cut and paste and everything is fine. I can use the "backspace" key to remove text instead of the delete key. So I can get everything in there with no issues. But...this is a major pain in the backside. I have been programming certain ways for 20 years and it is hard to get myself to use the mouse to cut and paste and whatnot.
Has anyone else eperienced this?? I haven't found anything on the internet pertaining to this problem.
Note: I know I can change the editor preferences in Eclipse to just use the normal eclipse xml editor but I lose the WYSIWYG display...which is nice to have for visualization.
If you have seen this problem or know of a way to get around it...please, please, please let me know.
I don't think it makes a difference, but here are my specs.
Eclipse:
Version: 4.1.0
Build id: M20110912-1510
Android Development Tools 12.0.0.v201106281929-138431
This is fixed in ADT 20 Preview 3, released today.
http://tools.android.com/download/adt-20-preview
Although this is not exactly a solution (and hopefully doesn't earn me some downvotes) I've found a nice compromise is to open the layout twice, once in the android layout editor and once in the normal XML editor.
You can do this by right clicking the file (or alt clicking on mac I assume) and selecting "Open With", you should see all the different android editors, a text editor and an XML editor.
The nice thing about opening it twice is you can have it side-by-side (drag it to another pane), the only issue now is that you have to give focus to the android layout editor in order for it to update, but at least you have your shortcuts and delete keys.
I found workaround(fix). Redefine shortcuts for copy and paste in preferences->Keys to some other key combinations, then standard cmd-c cmd-v will start work. I did not had issues with delete, but it may work for other key issues. I am on mac so not tested on windows.
I can also confirm this behavior, though I didn't recall having this problem on earlier version of Eclipse so I strongly suspect it's the 4.x version of eclipse that's interfering with the xml editor, I use even newer 4.2+
edit: you may want to track this issue http://code.google.com/p/android/issues/detail?id=27155
I have the same issues, delete, ctrl-v not working in the latest Eclipse as of July 2012 with the latest Android plugin on Linux Mint 64 bit.
It's definiteley (in my case at least) the android XML editor that is at fault. As Damon says, opening the xml using eclipse with "open with" and not choosing the android editor fixes the issue. The android editor can be open in parallel.
You can manually define commands and shortcut keys through
Windows > Preferences > General > Keys
I actually copied "Ctrl + C", "Ctrl + V", "Ctrl + Y", "Ctrl + Z" commands and define the "When"s as "Editing XML source".
It works!
The issue I face, which is demo-ed here (not posted by me)
http://www.youtube.com/watch?v=nUnOesjL1IE,
is fixed by disabling "Automatically format the XML edited by the visual layout editor".
The formatting for layout XML is gone for sure, but at least I can edit the file properly.
In word, Tools - options - Edit tab, be sure the typing replaces selection is checked. Spacebar key will then work to delete text.

Categories

Resources