While developing chrome extension I found out that the popup window which open doesn't have arrow pointing to icon like tooltip popup window snapshot while the documentation shows the window with arrow document popup window snapshot. Is it removed? How can I replicate it
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.
currently when I hit ctrl and press mouse btn on type I got to type for example to interace , how can I change it to go to implementation ? I tried by tools, keyboard but can't change it key to ctrl + Left click.
You can't rebind the action that happens on ctrl+click. However, pressing alt+ctrl+click, you'll go to implementation. And ctrl+shift+click will open the result in the Peek Definition window.
I've added Mnemonics to a menu bar using JavaFX 2.2 and Scene Builder, but it doesn't work 100% well.
This is my menu:
When I press Alt, it looks like this, which is correct:
Then I press "D", and the menu opens, but the Mnemonics inside the menu are not underlined:
The lines do appear when I press Alt again; however, then the line under the "D" of "Datei" disappears:
So it seems to be some kind of buggy toggling function in JavaFX.
Anyway, I want the Mnemonics to be underlined all at once, just like when I click the menu:
When you click the menus with the mouse and then press Alt all Mnemonics are correctly underlined at once. Pressing Alt again will toggle between underlined and not underlined. This is the normal, expected behavior.
So I think when opening a menu via Mnemonics, the Oracle guys just forgot to call some kind of "underlineMnemonics()" method for the submenu. Does anybody know what method that is, so I can call it myself when opening a menu? Or does anyone have another workaround?
For example, I know that you can make the underlines of the main menu bar visible via CSS:
.mnemonic-underline {
-fx-stroke: -fx-text-base-color;
}
But I failed to make this work on the submenus. (Also, this would not be an ideal solution, because this way the underlines couldn't be toggled off again.)
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.