Where is "File Explorer" in IntelliJ? - intellij-idea

If I wanted to browse files, export databases, etc. on Android Emulator in Eclipse, I used File Explorer.
I cannot find this tool in IntelliJ and it seems that Android does not have its own GUI tool.
Does IntelliJ have this tool or I'd have to use adb console tool?

Although, IntelliJ does not have the File Explorer (like Eclipse has), we can use Android SDK native tool DDMS. You can find it in /tools/ folder. Start it, let it connect to Emulator's process and then open its File Explorer (Device/File Explorer). It has the same functionalities like Eclipse's plug-in.

There is a FileExplorer in IntelliJ.
You cand find it via the IntelliJ toolbar: Tools -> Android -> Monitor

There is no such tool in IDEA.

There is a file browser in Intellij, and it can be used to browse both local and remote file systems. It is called Browse Remote Host, which is a bit confusing, but it can be used to browse the local file system as follows:
Add a "server", denoting the local file system you want to browse:
Tools → Deployment → Configuration... → Add (green + sign)
Name: <name that will appear in popup menu in the browser window>
Type: Local or mounted folder
→ OK
Folder: <select the top directory of the file system you want to browse>
→ OK
Now, open the browser window as follows:
Tools → Deployment → Browse Remote Host
The browser window will appear at the right side of the IDE.

To tie a few of these answers together, there is a standalone tool at:
/android-sdk/tools/monitor.bat
You can launch it from IntelliJ using
Tools -> Android -> Monitor
Or Eclipse using
Window -> Open Perspective -> DDMS
Either way, you get the exact same tool.

Go to Tools->Android->Monitor in your Intellij IDE.

askmo, maybe Intelliji IDEA commander tool will be helpful to you,
Try it in Window -> Tools Windows -> Commander
webhelp: http://www.jetbrains.com/idea/webhelp/commander-tool-window.html

I'm not sure if its just improved over time over what others have discussed here, but I really like using DDMS with IntelliJ. I access it by: Tools->Android->DDMS.
I access the file explorer by clicking on my device in the top left hand window, then selecting Device->File Explorer.

Related

Access Terminal in IntelliJ Enterprise edition 2017

I'm on a windows 10 64 bit box. I need to open the terminal inside intellij 2017.1. According to google the key command for this is alt-F12 but that combination of keystrokes does nothing apparent for me.
Is there an alternative way to open the console inside intellij that I might be overlooking?
Thanks!
It has clearly explained in the documentation provided by the JetBrains.
To find the terminal related details please use the following link.
IntelliJ IDEA Terminal
If you want to configure the key bindings please refer the following
link.
IntelliJ IDEA Keyboard Shortcuts
That shortcut is correct, to run embedded local terminal press Alt + F12. But you should make sure that the Terminal plugin is enabled. The plugin is bundled with IntelliJ IDEA and is activated by default, if it is not the case, you can enable it, go to Settings > Preferences > Plugins

worklight embedded browser not working

I have worklight up and running with the "hello world" example running in a Linux environment using instructions from here: http://www.ibm.com/developerworks/mobile/worklight/getting-started.html
But, I can't see the application design because worklight can't load the embedded browser:
Clicking 'additional information' took me to another useless screen:
So, then I pointed to an external browser (chrome in my case),
but still no result:
Then attempting to use the worklight 'console', yields this:
How do I fix this?
This is what you need. You need to manually force a xulrunner version to use.
By "embedded browser" I'm guessing it is trying to open a browser window inside Eclipse...
You can go to Eclipse preferences and search for "web browser". There, change the default browser to your preferred external browser.
Next, or in addition, you can just right-click on the Worklight project and select "Open Worklight console". From there you can click on the "preview common resources" or the environment icon (if you added any) and preview.
The answer has nothing to do with worklight: Eclipse doesn't just "dump" your external browser into an eclipse window.
It uses the webkit libraries to construct a browser frame inside eclipse so that you can interact with it.
For Linux users, you need to make sure the webkit libraries are installed correctly in Linux before Eclipse can discover and use them properly. Heres some instructions:
For me, this was as simple as
sudo apt-get install libwebkit-1.0-0
Followed by restarting Eclipse.

JProfiler not working in IntelliJ 12 (JProfiler executable is null)

I'm trying to profile my Android app. I installed the JProfiler plugin through
IntelliJ IDEA --> Preferences --> Plugins
Here's a screenshot of the plugin description:
When I try to run the profiler nothing happens and I get this message saying that the JProfiler executable is null:
Any idea on how to fix this?
You need to set or re-set the JProfiler executable. Do the following:
Select "Edit Configurations" from the "Run" drop down menu
Select "Application" under "Defaults" in the dialog box (or any existing run configuration)
Select the "Startup/Connection" tab
Select "JProfiler" in the list
Click on the "Select JProfiler Executable" button
Choose the JProfiler executable, which is
[JProfiler installation directory]\bin\jprofiler.exe on Windows
[JProfiler installation directory]/bin/jprofiler on Linux/Unix
[JProfiler installation directory]/bin/macos/jprofiler.sh on Mac OS X
You have to install JProfiler first, you can download it here.
You need to have JProfiler 7.2.2 (or newer) which integrates with IntelliJ IDEA 12
http://www.ej-technologies.com/download/jprofiler/changelog.html#7.2.2
To start, in a file browser check if you have the plugins folder, if not create it, so it looks like this
C:\Users\[username]\.IntelliJIdea12\config\plugins
If running IntelliJ IDEA 12, close it.
Inside JProfiler go to
Session -> IDE Integrations
And choose IntelliJ IDEA 12.x and click Proceed button
Choose your .IntelliJIdea12 folder
C:\Users\[username]\.IntelliJIdea12
And you're done, you should see a new button Next to Run [class#method] with Coverage that says Profile [class#method]

IntelliJ keymap for remote desktop usage

I notice that I cannot type Ctrl-Alt-B (Go To Implementation) in IntelliJ when I am using it via Remote Desktop. Is there a way that I can get keymap for IntelliJ that works through remote desktop?
That can be specific to your desktops and settings, there is no specific keymap for this environment as most keys will work fine.
The solution would be to use Settings | Keymap and change the shortcut for the Go To Implementation action to the one that works.

How to launch external tool from custom menu?

Can I run external program programmatically in Eclipse without configuring as an external tool through Run -> External Tools -> External Tools Configuration ?
External tools configuration is just another type of launch configuration.
The id is: org.eclipse.ui.externaltools.ProgramLaunchConfigurationType, as used in org.eclipse.ui.externaltools/plugin.xml.
It is declared in org.eclipse.ui.externaltools.internal.model.IExternalToolConstants
You can programmatically create a launch configuration, launch it and after the termination of the launch, you can delete it, so that it won't appear in the menu.
See the corner articles:
We Have Lift-off: The Launching Framework in Eclipse
Launching Java Applications Programmatically
Not that I know of:
that menu (Run -> External Tools -> External Tools Configuration) has been criticized before (bug)
The usual suggestion is to define a key to the command "Run Last Launched External Tool".
But that isn't exactly what you are looking for.