How to maintain end of file comment? |
[eluser]kenjis[/eluser]
Hi, guys! CodeIgniter file must have a comment block to mark the end of file and it's location according to http://ellislab.com/codeigniter/user-gui...losing_tag Like this: Code: /* End of file welcome.php */ I sometimes forget to update the comment. How do you maintain the comment?
[eluser]Eric Barnes[/eluser]
I personally have a "eof" tab trigger in my editor that does it automatically. In textmate it is this snippet: Code: /* End of file $TM_FILENAME */
[eluser]CroNiX[/eluser]
Its also just good practice, not mandatory. CI, like any php app, will work just fine without any comments, even the ones in the footer. |
Welcome Guest, Not a member yet? Register Sign In |