Skip to content

Comment Switcher

Comment switcher.
jaコメント切り替えコメント切り替えzh hans注释切换注释切换zh hant註釋切換註釋切換
Readme

Comment Switcher

Toggle line comments in selected source code. The comment prefix is configurable, and the transformed text is pasted back into the current app.

Usage

Select one or more lines and choose Switch from PopClip. Set Comment Prefix in the extension settings; it defaults to //.

If every selected line already starts with the configured prefix, the action removes one prefix from each line. Otherwise, it adds the prefix followed by a space to each line.

Changelog

  • 2026-08-25: Documented the configurable prefix and toggle behavior.
  • 2026-08-25: Initial directory submission.
Info