"Cannot create file" with new File Template

What would cause an error dialogue saying  "Cannot create file" to pop up when trying to use a newly-created File Template? The template is very simple static content, except for one use of $(NAME).

This happens in the EAP and current release.

2 comments
Comment actions Permalink

It seems to be a #define line that causes the problem. Presumably it confuses AppCode's template replacement engine. Is there a way around this?

0
Comment actions Permalink

OK, I've found out how to fix this -- just escape the #define lines by prepending with a \ (backslash)

0

Please sign in to leave a comment.