Cyberduck Mountain Duck CLI

#2331 closed defect (worksforme)

"Edit with..." external editor uses TextWrangler regardless of preference

Reported by: anonymous Owned by: dkocher
Priority: normal Milestone:
Component: interface Version: 3.0.1
Severity: normal Keywords:
Cc: Architecture:
Platform:

Description

Of the editors supported by Cyberduck, I have TextWrangler, TextMate, and CSSEdit installed on my system. Regardless of what I set my preferred editor to be in the preferences, Cyberduck always uses TextWrangler to edit files.

When first booting up Cyberduck, it correctly displays the TextMate icon as the "Edit" toolbar button. However, as soon as you actually select any file, the button switches to the TextWrangler icon, and clicking it opens the file in TextWrangler. The shortcuts cmd-K and cmd-J do the same, as indicated by the contextual menu.

It is possible to get Cyberduck to use TextMate to edit files by explicitly selecting it from the contextual menu, but this is inconvenient.

I'm using 10.5.4 on a Santa Rosa MacBook Pro. I've upgraded to Java 6 and set Java to use it in the systemwide Java preferences, which caused some issues with 2.x that were fixed with 3. Because of those issues I modified the info.plist in my 2.x installation so that Cyberduck would use Java 5 instead of 6 (as recommended by another ticket on this site). I don't know if this is at all relevant as I've used automatic update to keep abreast of new versions, but thought I'd mention it all the same.

I should also note that I always use sFTP.

Change History (1)

comment:1 Changed on Jul 15, 2008 at 10:54:41 PM by dkocher

  • Milestone 3.1 deleted
  • Resolution set to worksforme
  • Status changed from new to closed

The behavior you see is supposed to be a feature as described in #146. The editor you set in the Preferences is a default editor (the preference should be renamed to reflect this). If another supported and installed editor is the default application for the selected file type, it is given preference over the default editor. Therefore, if you always want to edit the given file type in TextMate, you have to choose TextMate as the default application in the Finder.app using File → Info. Cyberduck should then respect that setting. crystal beads

Last edited on Feb 19, 2011 at 6:39:23 PM by mukkan (previous) (diff)
Note: See TracTickets for help on using tickets.