"Save as Live Template" menu item disappeared in android studio? - android-studio

I am running Android Studio 1.3.2. Under the Tools menu I used to have "Save as Live Template" item (just above Save File as Template). But now it is gone and I can't make live templates. How do I get the menu item back?

I managed to get it back. Here's how (Observe that the Preferences menu on Mac might be called something else on other platforms, like Settings or similar).
Go to Preferences/Appearance & Behavior/Menus and Toolbars/Main menu/Tools/Tools Basic Group
Select "Save File as template..."
Click on Move Up button.
Click on OK button.

Related

Device manager does not work (open) after updating Android Studio to 2021.1.1

Android studio's device manager AVD manager works fine in old versions, but in 2021.1.1 version does not open!
Windows 10 and 11 tested
last version flutter
Intel
Sdk manager everything updated
could anyone help?
I still have the same problem with the Bumblebee version, but for now you can use the Search Everywhere feature (you can access "Search Everywhere" by pressing double shift) and type in
"Virtual Device Manager"
then it will works.
This is a temporary solution for now.
I had the same problem, found the solution to return the icon to the toolbar, where it's easy to use it.
I guess it happans to anyone who upgrades from prvious version.
The idea is just to replace the "old" device manager with the new device manager created in 2021.1.1.
Right click the right side of the top toolbar and click the "Customize Menues and toolbars.
In the "Menus and Toolbar" window expand "Main Toolbar"
Expand "Android.MainToolBarActionGroup"
Press the "+" button in the top and select "Add Action..."
In the "Choose Action To Add" windows , search for "Virtual Device manager", select it and press OK.
You will see the the new icon is added.
To make sure it's working you can press OK to close this window and return to Android Studio main screen.
Now, you should have 2 similar icons in the toolbar, only the bubbles will be different.
The old is called "Device manager"
The new one is called "Virtual Device Manager"
Make sure it really works and opens the new Device Manager.
Once it is working , you can go back to the toolbar manger and delete the old icon.
Folow setps 1-3 above
Locate the "Android.RunAndroidAvdManager" item, select it and delete it by pressing the "-" button in the top of the screen.
Close this window and return to main screen.
Step 1: Select FILE (on the top left)
Step 2: Select PROJECT STRUCTURE (<Ctrl + Alt + Shift + S> on Windows/Linux).
Step 3: Select MODULES on the left under Project Settings.
Step 4: Hit the plus (+) button.
Step 5: Add ANDROID and hit OK Button.
Now you can open Device Manager
I too met this problem temp solution this that which wrote Zaid Salam
My version Android Studio -> Bumblebee 2021.1.1 Patch 1
My OS -> macOS Monterey
If you cannot seem to be able to right-click the toolbar as Yahalom mentioned, go to View > Appearance and select Toolbar.
The toolbar will move and a big space will be available on the right to right-click.
As pointed out by the answer above, the update from an older version does not replace the button action correctly.
But to fix it for me (Android Studio on Linux), I had to edit the Navigation Bar Toolbar rather than the Main Toolbar. As the IntelliJ docs mention, the main toolbar is hidden by default.
(Could not comment on the original answer yet, so I had to create a separate response)

How to return item to context menu in Android Studio

In my Android Studio, when I have a cursor on the regular exprssion and if I click Alt + Enter I see a context menu like this
There was an item Check Regexp or something like this but I click accidentaly Disable... and it disappeared. Tell me please where can I find it in android studio to make it return back.
Those menu items are called Intention Actions.
To configure intention settings using the Settings/Preferences dialog
Open the Settings / Preferences Dialog by pressing Ctrl+Alt+S or by choosing File | Settings for Windows and Linux or IntelliJ IDEA | Preferences for macOS, and click Intentions under Editor.
In the Intentions page, clear the checkboxes of the intention actions or action c1ategories that you do not currently need.
Selecting or clearing a category affects all intention actions in this category.
Apply changes and close the dialog.
Check for details here

Hide main menu items in Visual Studio 2012

Is there any way to selectively hide menu items in Visual Studio 2012?
I found this post:
Visual Studio 2012 Toolbars
but this isn't it what I want.
I would like to hide some of the items like "Architecture" and "Test" etc.
In Visual Studio 2012: Tools->Customize->Commands. Then select the menu item you don't want and hit Delete.
I think you may want to look at Hide Main Menu
After installing this extension, Visual Studio's main menu will
collapse when not in use (using the same behavior as Windows Explorer
and Internet Explorer). To use the menu, simply press and release the
Alt key, or press and release Alt+ to directly show a menu
(e.g. Alt+F to show the file menu). The menu bar will automatically
hide again once you're finished using it.
To disable this feature after installing, use Tools\Extension Manager
to disable or uninstall the extension (of course, you'll have to use
Alt+T to show the Tools menu if the extension is enabled).
For selectively hiding the option go to Tools->Customize->Commands and then delete the option which you want.

Visual Studio Shortcut for building all T4 in solution

I just upgraded my VS2012 Proff to Ultimate and lost some settings. One I lost I can't find anywhere. It is a button I which builds all T4s in the solution. Anyone have an idéa?
I'm assuming it's somehow disappeared from the Build menu.
Right-click a toolbar or the menu bar and go to Customize.
Choose the Commands tab
Select Menu bar = "Build"
Press "Add Command"
Under Category "Build" you should see "Transform all T4 Templates"
Click ok to add it back to the build menu
[Optional] Move it up or down to where you want
Click close
The command should also be on the Build toolbar - you may need to do Add Or Remove Buttons or Customize to get it to come back. You can follow the same steps as above but instead choose Toolbar = "Build" in step 3.

Where is my "Recent Projects and Solutions" option?

I recently installed Visual Studio 2012, and I've been banging my head against my desk looking for missing options.
I use the Recent Projects and Solutions menu option (under the File menu) a lot in Visual Studio 2010, but don't have anything like that in Visual Studio 2012. However, my boss does, so I know there's something wrong with my install or an option I've missed.
I've casually looked through registry settings for anything like "Project" that exists in my 2010 settings but does not exist in my 2012 settings, and came up empty handed. Does anyone know how to fix this?
It looks like some part of the upgrade process just removed this menu option for me. Following nithins link to this question, I followed the instructions the author created to re-create the Recent Projects and Solutions menu item.
For posterity, those steps were (performed in Visual Studio 2012):
Under the Tools menu, click Customize...
Click the Commands tab.
Change the Menu bar selected option in the drop-down list to File.
Click Add New Menu.
Click Modify Selection, rename to Recent Projects and Solutions.
Under the Menu bar drop-down list, select File | Recent Projects and Solutions.
Click Add Command...
(The Add Command menu should appear here.)
Under Categories on the left-hand side, click File.
When the Commands list (on the right-hand side) refreshes, click Recent Project list, and click OK.
Click Close.
Happy project switching!
I had the exact same problem, but I had the sense that other menu items were missing as well.
What I did was go into Tools => Import & Export Settings, choose Reset all settings, and then select the same profile as when I installed Visual Studio. (General Development Settings.) That fixed the issue.

Resources