Skip to content

anasrana/R_Comments

 
 

Repository files navigation

R Comments for Sublime Text

I wanted to create a way to easily add comments and add sections inside code.

This package is forked from danieldafoe/Sassy_Comments: Intuitive Sass commenting for Sublime Text 2/3.

Install

You can install via the Sublime Text Package Control (http://wbond.net/sublime_packages/package_control) and search for "R Comments".

Usage

There are several shortcuts for the different comment blocks.

Section Comment

Enter the shortcut #### followed by the tab key

# ==========================================================================
# This is a section comment block
# ==========================================================================

Sub-Section Comment

Enter the shortcut ###. followed by the tab key

#
# This is a sub-section comment block
# --------------------------------------------------------------------------

Todo List Comment

Enter the shortcut ##, followed by the tab key

#
# TODO
#
# => This is a TODO comment block

Long Comment

Enter the shortcut ### followed by the tab key

#
# This is a longer comment block
#

About

Intuitive R commenting for Sublime Text 2/3.

Resources

License

Stars

Watchers

Forks

Packages

No packages published