• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

multi-comment

multilanguage block comments
  • #multiline block comments
  • #block comment
  • #multiline comment
fracalo
0.3.0 3,634
3
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Build Status

Atom - Multi-comment

a block-comment module built with the focus to interact with the default line-comment-command.

Installation

 apm install multi-comment

Command / Keymap

multi-comment:toggle : ctrl + alt + 7

Languages currently supported are:

  • JS
  • CoffeeScript
  • PHP (mixed content not implemented)
  • C
  • Ruby
  • Css
  • Scss

to come:

possibly all language-grammars supporting block-comments scopeDescriptors.

Specs:

  • when both a selection's start/end point aren't commented it comments selection with block-comment tokens.
  • when one or both a selection's start/end point are in a commented scope, these get uncommented.
  • in atom, languages that don't support line comments use block comments for the default line comment command (for ex. check CSS); with these language-types, when a comment is found inside the selection, the Multi-block-comment will uncomment any inside block-comments and comment the whole block selection.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by