I just created this little textmate command that acts like a snippet and inserts an End of file command a la CodeIgniter. Example:
/* End of file eof.tmsnippet.php */
/* Location: ./Sandbox/php/Textmate_Commands/eof.tmsnippet.php */
If you want to start using it right away, I uploaded the .tmCommand
file in CloudApp. I also created a gist with the code of the command so that you can easily modify it if you want to. The links is at the bottom of the post.
Alternatively, you can create the command manually. Here are its attributes:
- Save: Nothing