hi, all
this is my first time writing sublime text2 plugin, and don't know any rules writing it, please feel free to give me any suggestion.
the plugin ZyFileheader(https://github.com/fjctlzy/ZyFileheader) is a plugin of Sublime Text2 which helps to add file header like
{
#!/usr/bin/env python
# -*- coding:utf-8 -*-
#*********************************************************#
# @@ScriptName: a.py
# @@Author: Your name here<Your email here>
# @@Create Date: 2012-11-25 22:24:14
# @@Modify Date: 2012-11-25 22:24:34
# @@Function:
#*********************************************************#
}
to your new created file, and you could define the header for yourself.
The scriptName will change if your save as file(CTRL+SHIFT+S) in sublimetext.
The modify date will change each time your press CTRL+S
A new line will be append to the end of file if not exists
I hope you like it.