Sublime Text 2/3 plug-in.
Auto update source header.
- modified user name
- modified date
- copyright year
- Add new header
ex) your name : Harurow / date : 2013-10-20
- before
/**********
* modified by : O.Takafumi.
* last modified : 2011-04-19
* Copyright (c) 2011 XXXXXX.
***********/
- after
/**
* @version #FName:'file.php', #Date:2014-07-20 #1
* @author Your Company http://yourcompany.com
* @copyright Copyright (C) 2005 - 2014 Your Company, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
With Package Control:
- Run “Package Control: Install Package” command, find and install
AutoUpdateSourceHeader
plugin.
Manually:
- Clone or download git repo into your packages folder (in ST, find Browse Packages... menu item to open this folder)
You must set your name.
-
Run “[Preferences] - [Package Settings] - [AutoUpdateSourceHeader] - [Settings -User]”
-
set your name { "my_name": INPUT YOUR NAME }
edit->Add Header
The MIT License (MIT)
Copyright (c) 2013 Motoharu Tsubaki.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.