Xcode built-in snippets edit

前端 未结 6 1334
既然无缘
既然无缘 2020-12-13 19:56

Is there a way to edit Xcode\'s built-in snippets? There is an edit button, but pressing it doesn\'t seem to allow changing the snippet\'s text.

Any insight is appr

6条回答
  •  温柔的废话
    2020-12-13 20:33

    I wrote a script today that uses python and uncrustify to pull the snippets out of those provided by Xcode, reformat them to my liking, and dump them into a directory where I can then import them into ~/Library/Developer/Xcode/UserData/CodeSnippets. It's on github here: Xcode4Customization

提交回复
热议问题