3

Using Xcode 9.

I have created several custom file templates.

When creating new files, the dialog box shows my custom templates at the bottom.

How can I get them to show at to top?

Tamás Sengel
  • 55,884
  • 29
  • 169
  • 223
Running Turtle
  • 12,360
  • 20
  • 55
  • 73

1 Answers1

4

Under the following file path:

Xcode 11 and below (thanks for this comment)

/Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File Templates

Xcode 10

~/Library/Developer/Xcode/Templates/File Templates/

...rename the folder named Custom to Source. That will move your custom file templates to the Source section, which is on the top.

"Source" category in the new file dialog

Tamás Sengel
  • 55,884
  • 29
  • 169
  • 223
  • 1
    Didn't work for me on Xcode 11. I had to copy files in /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File Templates/Source/ – k-thorat Nov 07 '19 at 02:26