Appearance
PopClip Extensions Directory / Unlisted Extensions / Comment Switcher
Unlisted Extension
This extension is published on Seven Yu's page but is not listed in the main directory index.
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
- Created
Aug 25, 2026 - Version
1.6 - Identifier
xyz.phpz.popclip.extension.comment-switcher - PopClip Version
≥2026.8 - Action Type
JavaScript - License
MIT License - Maintainer
Seven Yu - Source
dofy/PopClip-Extensions/.../src/CommentSwitcher.popclipext/