I've just started using code snippets for the first time, i've added a snippet, set the shortcut, but when I type the shortcut and hit Esc
- it doesn't show up. What am I doing wrong? I've tried restarting Xcode too but it still doesn't work. Shortcuts to the other code snippers work fine.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With