Android Studio 2020.03 Patch 4,
shows 4 lines of code in a chromeless dialog,
when I am scrolling through the editor.
I do not understand, how it picks those 4 lines.
I do not understand, how this dialog should be useful to me.
How do I disable those dialogs?
There's a Code lens that is shown when you hover on the scroll bar of the editor.
To disable that, there are two ways:
Settings -> Editor -> General -> Appearance -> Uncheck Show code leans on scrollbar hover and save it.
Right click on the Scrollbar and Uncheck Show code leans on scrollbar hover.
This will disable the code lens but it may not solve your problem as mentioned by a few users in other similar questions, for example, this question.
I'm using VisualStudio 2012. There is the toolbar with a lot of icons. I can adapt the toolbar nearly fully to my wishes.
But, there are certain commands that have not got an icon associated.
When I add one of these to the toolbar, there is not shown an icon, but the associated text. Which may be quite long. In my case, I want to have "Rebuild Solution" on the toolbar. This does not have an icon. And I'm using the german version of VS, where the text is "Projektmappe neu erstellen". Very long and quite unpleasing to see this much amount of space on the toolbar used by one command.
I'd like to have an icon here instead of this looong text.
If it is impossible to show an icon, I'd be content with a possibility to rename the thing in the toolbar, e.g. to "X", which would use much less space on the toolbar, too.
You can set "X" name for a toolbar item in VS toolbar options with the Modify Selection button:
Just a quick question. How do I remove/disable this tool bar in android studio ? I cant seem to find a setting to disable it.
Open Android Studio
Goto: View -> Click on Navigation Bar option (Keep it unchecked)
Now, Your entire bar will be hidden.
Again, Goto: View -> Click on Navigation Bar option
Now, Click on Toolbar option (Keep it checked)
Your window should look like this:
I accidentally clicked a key from my laptop that I do not remember and my Android Studio menu window changed.
I want to have it to be the default window view which is
I searched for a way to undo it or reverse it but could not find anything.
If this is a duplicate, please point me to the thread.
The second image posted in your question shows the toolbar and the navigation bar, in order to make these visible use the following menu items:
View > Toolbar
View > Navigation Bar
By mistake I removed the toolbar in Android Studio IDE. How can I get it back.
Note: I am not talking about toolbar in android app
If your Main Menu toolbar is hidden you can get it back by pressing Ctrl + Shift + N (or double tap Shift on Android Studio 4.x) and search for the View | Appearance: Main Menu Action. Toggle to ON to enable the menu again:
Select View->
Click on Toolbars
The simple way:
If you have accidentally hidden your Main menubar:
Double tap on Shift on your keyboard.
On the popped up window click on Actions and type mainmenu.
A toggle button labelled " view appearence : Main Menu - OFF" will appear.
Click on toogle OFF to make it ON.
Now, the Main Menu is shown. very simple!
For the version of 3.6.1,
It is actually in View > Appearance > Tool Window Bars.
Make sure it is ticked.
It is frustrating when you accidentally hide toolbars & even when the main menubar is also hidden, it is difficult to get back because the View tab is also hidden after the main menubar.
So what to do?
Press Alt+CTRL+S - this will open all settings.
In settings, that go to keymaps.
Find Main Menu-> View-> Toggle the main menu.
Select it and assign any shortcut you like after clicking the little pencil icon on top.
Close settings and press your shortcuts, - main menu opens.
You can similarity assign to Main Menu-> View-> Toolbar and show toolbar again on Android studio IDE. Alternatively, after the main menu opened, click VIEW-> Toolbar tab.
This's the way easy and simple:
Click on Search Everywhere icon.
Type "Main Menu" (or anything you want to find: status bar, navigation bar, tool bar ...).
Click on Status Button to enable ON mode for it.
Done!!!
Preview:
If you hide your Main menubar accidentally, follow these steps to show
it again
Pic 1:
Pic 2:
In Pic 1: The Main menubar is shown but in Pic 2: the Main menubar is gone.
Step 1: To solve this press Ctrl + Alt + S from your keyboard, the Settings menu will appear. From the left panel select Keymap and from the right panel select Main menu
Step 2: Now Right-click on the Main menu, you will find three options Add Keyboard Shortcut, Add Mouse Shortcut and Add Abbreviation. Select Add Keyboard Shortcut
Keyboard Shortcut dialog box will appear. Select any key (In my case its M)
Now press the OK button, and once again OK to close the Settings dialog box.
Step 3: Now press the shortcut key (In my case its M) and you will see a popup Main menu
Step 4: Click on View -> Appearance -> Main menu
Finally, you will see your Main menu again :)
Step 5:
Remove the shortcut key
To remove the Shortcut Key, press (Ctrl + Alt + S) key -> Keymap -> Main menu
Right-click on the Main menu, Select Remove -> Hit Apply, then OK button
If you're on Linux and the Main menu disappeared after updating AS, and you can't find it in the View | Appearance as suggested in the other answers, then it's probably because of an experimental Linux native menu flag got enabled.
Double tap Shift (or do Ctrl + Shift + A), to get the window to type in what action are you looking for, and type Experimental features. Then find linux.native.menu and uncheck it. Then restart AS.
See here for more info https://www.jetbrains.com/help/idea/linux-native-menu.html#disable-linux-native-menu
Depending on your version of Android Studio, the option was moved:
Older versions:
View > Toolbars
Newer versions:
View > Appearence > Toolbars
I have the version 3.6.1 and for me it is in the second case now.
It is actually in View > Appearance > Tool Window Bars.
Make sure it is ticked.
If you have hidden your Main menu bar:
Follow the below steps:
Click on Main Menu -> View
on View -> Click on Tool Windows
In Tool Windows select the project or if you required any other menu you can add
Now, the Main Menu is shown. very simple!
You can similarity assign to Main Menu-> View-> Toolbar and show toolbar again on Android studio IDE. Alternatively, after the main menu opened, click VIEW-> Toolbar tab. Save this answer.