After some months of using different set ups I've come to use a combination that's perfect for my needs and though I should share.
Eclipse running Aptana as plug-in.
All the power of Eclipse and all the usability of Dreamweaver plus some nice Aptana goodies. That said, after installing Aptana as a plug-in just create a new file under the /scripts directory (or put that file into a project you'll never close) and the following code inside:
/*
* Menu: gMan > Upload On Save
* Kudos: Ingo Muschenetz
* License: EPL 1.0
* Listener: commandService().addExecutionListener(this);
* DOM: http://localhost/com.aptana.ide.syncing.doms
* DOM: http://download.eclipse.org/technology/dash/update/org.eclipse.eclipsemonkey.lang.javascript
*/
function commandService()
{
var commandServiceClass = Packages.org.eclipse.ui.commands.ICommandService;
var commandService = Packages.org.eclipse.ui.PlatformUI.getWorkbench().getAdapter(commandServiceClass);
return commandService;
}
function preExecute(commandId, event) {}
function postExecuteSuccess(commandId, returnValue)
{
if (commandId == "org.eclipse.ui.file.save")
{
sync.uploadCurrentEditor();
}
}
function notHandled(commandId, exception) {}
function postExecuteFailure(commandId, exception) {}
So, if the project your working on has a syncronize connection active on each and every save you'll have the file uploaded to the server.
Hope it saves you some time!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…