Anand
Anand

Reputation: 4232

create custom code completion macro in xcode 6.1

How do i create a custom code completion macro in xcode 6.1

answer to How to create custom "Text Macros" in Xcode? does not seems to work as "Contents/PlugIns/TextMacros.xctxtmacro/Contents/Resources" does not exist anymore.

Upvotes: 1

Views: 592

Answers (1)

Linasses
Linasses

Reputation: 395

I have just been searching for this too, and I found the solution.

  • Select the snippet that you want to make the macro with.
  • Drag the selected text to the Snippets Draw.
  • Inside the edit box, add the 'short-cut' that you want to use in the "Completion Shortcut" edit field.
  • Set the required "Completion Scopes", if required. XCode 6 - Text Macro Image Viola.

Upvotes: 1

Related Questions