如何在Aptana Studio 3中添加外部服务器,因为没有Servers视图?
以下 是有关如何操作的一些说明,但它们都使用Windows>显示视图> Aptana 3中不再提供的服务器.可以使用控制台吗?怎么样?
我安装了一个wamp服务器,我可以正确运行存储在htdocs文件夹中的php文件.现在我想从Aptana运行那些php文件,但我得到了空白页面.
在项目>运行配置中我注意到"使用所选服务器"选项,但没有可能在那里添加服务器,所以我使用"使用基本URL"和"附加项目名称",现在我可以从Aptana运行php文件但我是仍然想知道它是否是最佳选择以及我如何告诉Aptana使用wamp服务器.

我有这个:
.striped-border {
border: 8px solid transparent;
border-image: url(../img/stripes.png) 9 round;
}
Run Code Online (Sandbox Code Playgroud)
我想要的是:
是否可以仅对边框图像应用不透明度而不是内容?
假设您有一个搜索文本框,并且有一个搜索算法附加到TextChanged事件,该事件与BackgroundWorker一起运行.如果文本框中出现了新字符,我需要取消之前的搜索并再次运行.
我尝试在主线程和bgw之间使用事件,从前一个问题,但我仍然得到错误"当前很忙,不能同时运行多个任务"
BackgroundWorker bgw_Search = new BackgroundWorker();
bgw_Search.DoWork += new DoWorkEventHandler(bgw_Search_DoWork);
private AutoResetEvent _resetEvent = new AutoResetEvent(false);
private void txtSearch_TextChanged(object sender, EventArgs e)
{
SearchWithBgw();
}
private void SearchWithBgw()
{
// cancel previous search
if (bgw_Search.IsBusy)
{
bgw_Search.CancelAsync();
// wait for the bgw to finish, so it can be reused.
_resetEvent.WaitOne(); // will block until _resetEvent.Set() call made
}
// start new search
bgw_Search.RunWorkerAsync(); // error "cannot run multiple tasks concurrently"
}
void bgw_Search_DoWork(object sender, DoWorkEventArgs e)
{ …Run Code Online (Sandbox Code Playgroud)