Changing the default header comment license in Xcode

后端 未结 11 1990
难免孤独
难免孤独 2020-12-04 08:05

Whenever I create a new .cpp/.h file in Xcode a comment is added to the top of the file. For example:

/*
 *  .cpp
 *  
 *
         


        
11条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-04 08:27

    For AppCode users:

    1. Go to preferences (CMD + ,)
    2. Editor-File and Code Templates
    3. Change Scheme to Project
    4. Modify Files and/or Includes as you need.
    5. add to git .idea/fileTemplates if needed

提交回复
热议问题