Jürgen Schwind

viele schöne Sachen ...

 

juergen-schwind.de » Blog » Save and Upload Current File für Aptana Studio 1.5

Blog

Save and Upload Current File für Aptana Studio 1.5


Nach dem Update auf die Version 1.5 funktioniert die Datei save_and_upload_current_file.js nicht mehr bzw. ist inkompatibel. Die DOM Konfiguration für das syncing-Paket hat sich geändert.

Was in den alten Versionen mit

Javascript-Quellcode:
 * DOM: http://localhost/com.aptana.ide.syncing

angegeben wurde wird nun mit

Javascript-Quellcode:
 * DOM: http://localhost/com.aptana.ide.syncing.doms

angegeben.


Die gesamte Datei für Aptana 1.5 lautet wie folgt:

Javascript-Quellcode:
/*
* Key: M1+M2+S
* Menu: Synchronize > Save and Upload Current File
* Kudos: Juergen Schwind
* License: EPL 1.0
* DOM: http://localhost/com.aptana.ide.syncing.doms
* DOM: http://download.eclipse.org/technology/dash/update/org.eclipse.eclipsemonkey.lang.javascript
*/

 
function main(){
editors.activeEditor.save();
sync.uploadCurrentEditor();
}
 


Diese Datei wird unter DIR\aptana\configuration\org.eclipse.osgi\bundles\66\1\.cp\scripts\ abgelegt.

Der Shortcut M1+M2+S bedeutet alt+shift+s was normalerweise mit "Save All" belegt ist.


Geschrieben am 27. Juli 2009
Suchmaschinenoptimierung mit Ranking-Hits
stats