Cyberduck Mountain Duck CLI

Version 13 (modified by dkocher, on Sep 2, 2010 at 11:01:51 AM) (diff)

--

Cyberduck Help / Howto / Edit Files

How to edit a file in a external editor

You can edit a file just as a local file by clicking the Edit toolbar button or by choosing File → Open in Editor. The file will be downloaded to the user's temporary directory and opened with the preferred editor. Set your preferred editor in Cyberduck → Preferences. The file will be uploaded to the server everytime you choose File → Save in the Editor application. The file is not changed on the server if you just close the document without saving.

source:trunk/www/help/images/edit.png

Which editor for what files

The default editor of a file is selected using the default application for a given file type set in the Finder.app (See File → Info for a given file type). If the default application is not one of the supported editors, the editor chosen in the Preferences is used instead.

Select Always use default editor in Preferences → Editor if you always want to use the default editor set regardless of the file type.

No external editor available

Make sure your editor is supported. Currently these are SubEthaEdit, BBEdit, TextWrangler, Text-Edit Plus, TextMate, mi, Smultron, JeditX, CSSEdit, CotEditor, Tag, skEdit and PageSpinner. You can find an updated list in trunk/source/ch/cyberduck/ui/cocoa/odb/EditorFactory.java#L44.

If the editor does not show up as a choice in File → Edit With (the only submenu item is No external editor available), you may have to rebuild the LaunchServicesdatabase of OS X using Terminal.app:

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister \ -kill -r -domain local -domain system -domain user

Alternatively, MainMenu provides a graphical interface for this. Look for Rebuild → Rebuild Launch Services.

There is also a hidden configuration option to enable editing files with any external application. As of version 3.4 enabled by default.

Attachments (3)

Download all attachments as: .zip