Swift "Surround With..." action not implemented?

Answered

On the latest version of AppCode (as of writing: v2016.3), I don't seem to have the option to surround code with existing live templates. Is that intentional? When will "Surround With..." actions come to Swift code? I tested it with Objective-C and C++ files and the template surrounding worked fine.

2 comments
Official comment

Hi Julian,

That's not implemented yet. Please vote/watch OC-13439.

Correction: Surround With actions are mostly Surround With Live Templates bundled in AppCode. So, built-in templates are not yet available, but you can create your own and use it - see how to do it here. After you create Surround With template, it will be automatically available via ⌘⌥T. 

0

Please sign in to leave a comment.