You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an OPM Flow: Toggle Line Comment command that inserts or removes a
'--' marker at the absolute beginning of each selected line. If every
non-blank selected line is already commented the marker is removed;
otherwise '-- ' is prefixed at column 0. Blank lines are left untouched.
The toggle logic lives in a pure toggleLineComments() helper with unit
tests. The command is exposed via the editor context menu and bound to
Ctrl+/ (Cmd+/ on macOS), which VS Code resolves through the active
keyboard layout.
0 commit comments