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
Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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