This Sublime Text 2/3 plugin adds some convenient commands to write file/block comments.python
項目地址:點我c++
Example: 2019-03-20 21:10:54
support c/c++/go/python/shell/markdown filegit
Example: /** {write comments here} (Alan 2019-03-21 18:00:30) **/
support c/c++/go/python/shell/markdown filegithub
Example: /** * Author: Alan (gchinaran@gmail.com) * Created Time: 2019-03-21 18:02:56 * File Name: foo.go * Description: {write file description} */
Git clone this repository and place the CommonComment
directory into your Packages
directory.shell
OSX:sublime-text
# Install the plugin git clone https://github.com/chinaran/enjoy-life.git {your/dir} cp -r {your/dir}/enjoy-life/sublime_text/CommonComment ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
Linux:markdown
# Install the plugin git clone https://github.com/chinaran/enjoy-life.git {your/dir} cp -r {your/dir}/enjoy-life/sublime_text/CommonComment ~/.config/sublime-text-3/Packages/CommonComment
You need set your own name
and email
at CommonComment.sublime-settings
sublime-text-3
{ "author_name": "Your Name", "author_email": "yours@email.com" }
No need to use key bindingthis
You can use sublime text's COMMAND PALETTEspa