Dashed Comments
This plugin inserts the comments block just before the current line with the same length by striping whitespaces.
Details
Installs
- Total 1K
- Win 569
- Mac 369
- Linux 142
Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
DashedComments for Sublime Text 2
This plugin inserts the comments block just before the current line with the same length by striping whitespaces. This is mainly used for ruby programmers.
Requirement
- RubyFormat plugin to format your ruby code after inserting the comment block since it will strip the blank spaces which may have introduced by the indentation settings.
Installation
Package Control
Using Package Control, a package manager for Sublime Text 2.
In Sublime Text 2, press “win(cmd) + shift + p” and then type “install”.
Once you see “Package Control: Install Package”, enter.
When the packages load, another selection window will appear.
Type DashedComments and enter. All done!
Manual Installation
Open a terminal. change the path to Sublime Text 2 's packages folder. Then type the command like this:
cd "~/Library/Application Support/Sublime Text 2/Packages/"
git clone git://github.com/email2vimalraj/DashedComments.git
Example:
#--------------------
# This is the comment
def comment_code
#-----------------------------
add_comment_block_on_top_of_me
end
Useful
Key Binding
ctrl + alt + d on Windows
ctrl + alt + d on Linux
shift + cmd + d on Mac OS X
TODO List
- Try to avoid the RubyFormat