Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
cyberduck opened this issue Jul 15, 2008 · 1 comment
Closed
Assignees
Labels

Comments

@cyberduck
Copy link
Collaborator

anonymous created the issue

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.

@cyberduck
Copy link
Collaborator Author

cyberduck commented Jul 16, 2008

@dkocher commented

The behavior you see is supposed to be a feature as described in #12095. 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

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants