How to change the order of options in "run as" menu in eclipse? - eclipse

I mainly develop for Android in Eclipse. I used to run my app in with shortcut "CTRL+F11" which was the same as clicking "run as android application" in menu.
Then i installed some eclipse plugins for webservices and now when i press "CTRL+F11", it calls "run on server" because this is the first option in "run as" menu.
How can i change this so the default option for run as would be "run as android application"?

If you set the Preferences → Run/Debug → Launching to Always launch the previously launched application, CTRL+F11 should launch what you last launched.
Simply relaunch your app manually, then check that CTRL+F11 works like you want.

CTRL+F11 always launches your last launched configuration if the Preferences → Run/Debug → Launching to Always launch the previously launched application preference is set.
You can try to add a new shortcut for running android apps by customizing the key-shortcut preferences:

The answer is:
"Organize Favorites" Just below the run as menu.

Related

Right-click menu not showing in Selenium IDE

On this Selenium documentation page, it says "You can export either a test or suite of tests to WebDriver code by right-clicking on a test or a suite...", but when I right-click, I just get the web browser's right-click menu instead of Selenium-IDE's menu:
I have found that quitting Firefox and starting it again will give me the proper right-click menu, but wondered what I was doing to cause it, and if the developers know about this.
Firefox 71.0 (64-bit) on Windows 7
Selenuim IDE Version 3.16.1
This is because you are trying to export test from different tabs. 'Executing' tab is opened on your screen, but 'Tests' tab is opened on documentation screenshot .
About restarting Selenium IDE: 'Tests' tab opens as a main window after restart, so exporting is available there. When you start running tests in Selenium IDE 'Executing' tab automatically opens and exporting is not available. You should change tab by clicking on the tingle near tab name and select 'Tests' tab where you can export your test.
If you think that this is not correct behavior you should create issue here

Eclipse(CDT). Build+Terminate Current debug + Run after load on debug button is possible?

Is it possible to give any kind of directives/commands so that when I press "Debug" button in Eclipse IDE, it would terminate all active debug sessions, build changes and after program is loaded - run application without need for me to make any additional clicks/inputs?
Thanks!
As #howlger said "Window > Preferences: Run/Debug > Launching: Terminate and Relaunch while launching" for part 1.
To not have to press F8/resume, don't insert the breakpoint at main in the first place by disabling it in the Launch Configuration. From Run Menu -> Debug Configurations... -> Choose your launch -> Debug Tab, un check Stop on startup at.
You can change the default so newly created configurations have Stop on startup unchecked by going to Preferences -> C/C++ -> Debug -> GDB.

Is there any difference between "Run Configurations..." and "Debug Configurations..."

In Eclipse (Mars, probably older versions too), the Run menu has Run Configurations... and Debug Configurations..., both of which open the same dialog window. The only functional difference I've found so far is that one has a "Run" button, and the other has a "Debug" button.
It looks like both dialog windows can be used to edit Launch Configurations, but it's not clear if there are two separate configurations for Run vs Debug, or if they are the same.
Is there any substantial difference between the two dialog windows, other than the button next to the "Close" button?
Bonus question: Is there another way to view and edit Launch Configurations besides the two menu options I mentioned (and their equivalents in various toolbars)?
There is only one configuration which is shown in both the Run and Debug Configuration dialogs.
The configuration is actually stored in the workspace .metadata in the .plugins/org.eclipse.debug.core/.launches folder. There is one xxx.launch file for each configuration.

Clearing Eclipse's 'application cache' when performing launch (Run/Debug) for Eclipse Application

I have an RCP project in Eclipse which I launch as an 'Eclipse Application'. After launching and playing with the application, I close it, make some more code modifications and launch again. When I launch the second time, the same changes in the application (tabs opened, fields highlighted...) remain the same as my previous launch. How can I get the Eclipse Application launcher to completely forget my previous run. I am already performing Project > Clean, and running Eclipse with -clean. I would like my 'eclipse application cache' to be cleaned for every run of the code.
On the Run/Debug Configurations dialog, choose the configuration you want to change, go to Main tab, check the Clear checkbox inside Workspace Data group and select the workspace radio button. Uncheck Ask for confirmation before clearing if you wish.

Where is the set default launch configuration option for a project in Eclipse?

I'm running Eclipse 3.5 (Galileo) and I want to have the "Run" command always launch the same configuration, but instead I always get a dialog box that asks me to choose which way to run my project. How can I set a default?
Shouldn't matter, but this is for some Android development, so it's an Android project.
Do the following;
From the drop down menu select Window -> Preferences
Then from the Categories on the right side; Run/Debug -> Launching
Find a group box called "Launch Operation" at the bottom. If you change this to "Always launch the previously launched application" the F11/Ctrl+F11 shortcuts will debug/run whatever you debugged/ran before.
I don't understand why they changed the default behaviour for Eclipse 3.5, it is certainly one of the options I always change.