Created
August 3, 2012 20:09
-
-
Save hersonls/3251093 to your computer and use it in GitHub Desktop.
Submlime plugin for less and css header doc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sublime, sublime_plugin | |
import datetime | |
class Command(sublime_plugin.TextCommand): | |
def run(self, edit): | |
doc = """/* | |
Author: <Auhtor name> | |
Date: %s | |
Description: | |
*/ | |
""" % datetime.datetime.now().strftime('%m/%d/%Y') | |
self.view.insert(edit, 0, doc) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment