Thanks for reading my question.
I want to set up the Xcode fragment library.
I read this article. http://www.icodeblog.com/2011/12/06/using-xcode-4-snippets/
Now I want to set up my comment, which inserts the date (today) automatically after my comment.
Example:
//This is my comment --- 2012/05/15
Date (2012/05/15) is automatically generated by Xcode.
Is it possible?
PS My version of Xcode is 4.3.2
Thanks.
How is the fragment? Impossible. However, you can easily create a service in Automator that calls date +%Y-%m-%d .
date +%Y-%m-%d