18

I know where the system default snippets are, but my two new ones cannot be found. Basically, I want to add in my collection of previous snippets. I made two new ones just to be able to find them. Didn't work. Any suggestions?

2 Answers 2

37

Custom code snippets are stored in the following location:

/Users/YourUsername/Library/Developer/Xcode/UserData/CodeSnippets
Sign up to request clarification or add additional context in comments.

3 Comments

That doesn't work for me in Xcode 10, though it did for Xcode 9
@Adrian I haven't used the Xcode 10 betas. I recommend writing a new question.
Looks like they moved the access point around to it, but it's pretty much the same. youtube.com/watch?v=edKpCAWbPFA&vl=en One note, based on recently getting a new MBP is you might need to create a snippet to generate that directory...once you've created a snippet, that directory gets created and you can drop more snippet files into it.
3

I used this for Catalina 10.15.5

~/Library/Developer/Xcode/UserData/CodeSnippets

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.