Skip to content
This repository was archived by the owner on Jun 27, 2020. It is now read-only.

fix: when "IDECodeSnippetCompletionScopes" is "Function or Mehtod" there is NO code completion in XCode. #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

XVXVXXX
Copy link

@XVXVXXX XVXVXXX commented Apr 20, 2016

When create a snippet of which completion scope of a snippet is "Function or Mehtod", ther is NO code completion in XCode.
According to Apple's snippet file, when create a snippet with "Function or Mehtod" style, the output file's "IDECodeSnippetCompletionScopes" should be "CodeBlock". However, accroding to Xcode-Snippets, the value for key "IDECodeSnippetCompletionScopes" is "Function or Mehtod" which result in NO code completion.
When I replace the value for this key, there would be a code completion in Xcode.
image

…"Function or Mehtod", it will not result in a code completion in XCode. According to Apple's snippet file, when you create a snippet with "Function or Mehtod" style, the output file's "IDECodeSnippetCompletionScopes" is "CodeBlock". When I replace the value for this key, there would be a code completion in Xcode.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant