Change File Drop preferences in CotEditor

In the CotEditor app on your Mac, use File Drop preferences to choose how to insert a preset text when you drop a file onto the editor. To change these preferences, choose CotEditor > Preferences, then click File Drop.

Open CotEditor for me

OptionDescription
File Drop Definitions Choose the conditons to perform the file drop.
  • Extensions: The setting is performed only when a file with one of these extensions is dropped. If this field is empty (All), all files are eligible. No dot is required for filename extensions. You can set multiple extensions by separating them by a comma.
  • Syntax Style: The setting is performed only when a file is dropped to a document having this syntax style. If this field is empty (All), all documents are eligible.
  • Description: You can use this field to leave a comment about the row. This field doesn’t affect the file drop behavior and can be left blank.
Insertion formart Set the text to be inserted for the condition that is selected in the file drop definition list above.
Variables You can use CotEditor’s variables in an insertion format.

See also