Skip to content
An Atom Editor plugin to toggle block comments, inspired by Sublime Text.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
keymaps
lib
menus
.gitignore
CHANGELOG.md
LICENSE.md
README.md
package.json

README.md

Sublime Block Comments for Atom

An Atom Editor plugin for toggling block comments, inspired by Sublime Text.

Install

apm install sublime-block-comment

Or look for sublime-block-comment in your Atom settings' Install tab. 😃

Features

  • Select code and hit the keybinding to place a block comment around it.
  • Place the cursor anywhere inside a block comment and hit the keybinding to uncomment it.
  • Hit the keybinding with an empty selection to create an empty block comment, ready to type.
  • Optionally pad the selection with whitespace when commenting (you can enable this in the package settings).
  • Supports multiple cursors.

Keymap

  • Ctrl-? (Ctrl-Shift-; for ABNT2 keyboards on Windows/Linux): Toggle block comments.

Contributing

Contributions are very welcome!

Please report any issue you find, and feel free to send pull requests to add support for more languages. 😃

You can’t perform that action at this time.