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


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.

Comment actions Permalink
Official comment

Hi Julian,

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

Permanently deleted user
Comment actions Permalink

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. 


Please sign in to leave a comment.