Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android studio / IntelliJ build window automatically show

I am trying to have my Android Studio build window, popup whenever I build.

Is this possible?

I don't want to window in floating mode, as I would like to be able to hide it using Shift+Esc.

I have tried every variation of pinned and docked, but when it is hidden, it seems to always stay hidden....

like image 647
Scorb Avatar asked Dec 11 '18 21:12

Scorb


2 Answers

You can achieve this by recording a macro. Here I recorded a video of the whole process.

Alternatively, if you prefer a written method, you can follow the steps below;

  1. Go to Edit menu > Macros.
  2. Click on Start Macro Recording.

Now your actions in Android Studio will be recorded.

  1. Click View menu > Tool Windows >> Build.
  2. Now build your app.
  3. Stop macro recording (a tiny status bar at the bottom right corner of Android Studio, visible only when macro recording is in progress)
  4. Give your macro a name, e.g. Build and Show Status.

Now go to Edit menu > Macros and click on your macro name to run it. It will start the build process and show Build window. To make it more quick, assign a keyboard short to your macro;

  1. Click on File menu > Settings (or hit Ctrl + Alt + S)
  2. On Settings dialog box, choose Keymap.
  3. In right pane of Keymap, choose Main Menu > Edit.
  4. Expand Macros, and right-click on your macro name.
  5. Click on Add Keyboard Shortcut.
  6. Assign it an unused shortcut as per your convenience (I used Shift + B)
  7. Click Ok, and then Ok on Settings dialog box.

Hope my answer helps you. I tried this in Android Studio 3.2.1.

like image 176
Mudassir Avatar answered Nov 03 '22 01:11

Mudassir


I never seen that build open automatically. You can use a shortcut to open build toolbar.

  • There is no default shortcut to open build toolbar, so you can create your own. Whenever you build. then hit your shortcut too. That's what I guess.

image

like image 28
Khemraj Sharma Avatar answered Nov 03 '22 01:11

Khemraj Sharma