5

I have a list of code snippets that works perfectly in Xcode 8.3.3, but in Xcode 9 I don't see them when I start typing. I tried to change Completion Scopes and I've got a new bug: when I press tab my snippet completes incorrectly as seen in the screenshot below. enter image description here

Here is the repository with source of snippets.

Let me know how to fix this bug please.

1 Answer 1

2

I also had many comment-scope snippets starting with //, and I support your question.

I don't know how to make them work, but I can propose a temporary solution. Set Completion Scopes to All and remove // from the prefix. Then add // to the snippet body:

    MARK: - Private helpers => // MARK: - Private helpers
Sign up to request clarification or add additional context in comments.

1 Comment

Thank you, It's interesting solution

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.