Xcode code snippets not showing in autocomplete

When I worked with the code snippet functionality built into Xcode for the first time, I had trouble finding the right "Completion Scope". You could change it to "All" to find out if it's a mistake in there. But in your case I can see you want to post methods so "Top Level" should be alright. Just keep it in mind for the future.


Yes. It seems like an Xcode bug. Actually my Xcode crashed when i changed the scope.

So workaround:

  1. Create new snippet.

  2. Change scope to "All" before clicking on "Done"

  3. Voila it works now.


I had same issue, I was not able to get code snippet while start typing. I figure out while editing code snippet I have not mentioned Completion filed and that was the issue.

enter image description here