Aptana“无法启动选择,并且最近没有启动." [英] Aptana "The selection cannot be launched, and there are no recent launches."
问题描述
每次单击运行方式"按钮,都会收到以下消息.
Each time I click the "Run as" button, I get the following message.
无法启动选择,并且没有近期启动."
"The selection cannot be launched, and there are no recent launches."
如果我选择运行方式"按钮附近的下拉箭头,然后选择新配置"选项(这是我设置为使用localhost启动的配置)...它可以工作.但是,为什么运行方式"按钮不是默认设置?
If I select the pull down arrow near the "Run as" button, and select the New configuration option (this is the configuration I setup to launch using localhost)... it works. But why doesn't the "Run as" button default to this?
或者更好的是,如何确保运行方式"按钮默认为该按钮?
Or better yet, how do I make sure the "Run as" button will default to this?
**更新**
我解决了问题..请参阅下面的答案.
I solved the problem.. see my answer below.
推荐答案
进入运行/调试">启动"下的首选项
Go into the preferences under Run/Debug > Launching
有一个名为启动操作"的部分,我需要选择:
There's a section called "Launch Operation" and I needed to select:
启动选定的资源或活动的编辑器.如果无法启动:启动以前启动的应用程序.
Launch the selected resource or active editor. If no launchable: Launch the previously launched application.
这篇关于Aptana“无法启动选择,并且最近没有启动."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!