Author Topic: Default remote editors for different file types  (Read 2973 times)

Christian Roth

  • Jr. Member
  • **
  • Posts: 7
Default remote editors for different file types
« on: June 21, 2007, 06:08:26 AM »
Hello,

how do I make YFTP remote-edit a file by default with its associated application? E.g., when editing a .html file, I'd like to use TextWrangler, but for .css files I'd like to use CSSEdit by default. I can choose the desired application using the "Edit with..." contextual (sub-) menu, sure, but I have set the default double-click action to open a file for editing, and it would be nice if that would be the associated application instead of the default application set in the server setting preferences.

Is there any way to do this in the current version? Any pref settings I'd have to make?

Thanks, Christian.
Yummy FTP 1.6.1b2

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Default remote editors for different file types
« Reply #1 on: June 21, 2007, 07:10:27 AM »
You'll need to add a Suffix Mapping entry for .css

1. Select 'Suffix Mapping' from the Transfer menu
2. Click Add
3. Enter:

Entry Name: CSS
Suffix: .css
Apply mapping for : Uploads & Downloads
Use as default editor: Enable this checkbox

All other settings can be left alone.

4. Click 'Choose App' then navigate to and choose CSSEdit
5. Click Save
6. Close Suffix Mapping window

Done!

(I have been meaning to make this easier for some time. I haven't forgotten - I will get around to it)

Christian Roth

  • Jr. Member
  • **
  • Posts: 7
Re: Default remote editors for different file types
« Reply #2 on: June 21, 2007, 07:55:54 AM »
Thanks - this Suffix Mapping window is exactly what I was looking for (and simply didn't see...)!

Granted, I didn't check the docs under Help > Quick Start because I didn't expect my issue to be covered in a quick start type of manual (when sure enough, it is...  :-[) - sorry!

Maybe you could add a link to the full online docs (i.e., the Wiki) to the Help menu as well - I just happened to find this additional resource.

Regards, Christian
Yummy FTP 1.6.1b2

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Default remote editors for different file types
« Reply #3 on: June 21, 2007, 08:36:10 AM »
Good suggestion! Thanks, Christian :)