[GH-ISSUE #5592] Allow overriding or disabling Cmd + / shortcut (conflicts with comment toggle) #2162

Open
opened 2026-03-16 23:25:37 +03:00 by kerem · 1 comment
Owner

Originally created by @yudhees on GitHub (Nov 18, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5592

When editing request bodies in Hoppscotch (especially JSON), I normally use the shortcut Cmd + / to toggle comments.
This works in Postman and all major IDEs (VS Code, IntelliJ, etc.) but in Hoppscotch it always opens the keyboard shortcuts popup, which blocks the default Monaco Editor behavior.

Because of this, I cannot quickly comment multiple lines, and I am forced to comment each line manually, which is very frustrating during debugging.

Steps to Reproduce

  • Open any request body in Hoppscotch
  • Type some JSON
  • Press Cmd + /
  • Instead of adding/removing // comment markers, Hoppscotch opens the "Shortcuts" popup

Expected Behavior

Cmd + / should toggle comments in the editor (same as VS Code, Postman, etc.)
OR
Hoppscotch should allow overriding or disabling its global keyboard shortcut
OR
Provide a configurable keybinding system

Originally created by @yudhees on GitHub (Nov 18, 2025). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5592 When editing request bodies in Hoppscotch (especially JSON), I normally use the shortcut Cmd + / to toggle comments. This works in Postman and all major IDEs (VS Code, IntelliJ, etc.) but in Hoppscotch it always opens the keyboard shortcuts popup, which blocks the default Monaco Editor behavior. Because of this, I cannot quickly comment multiple lines, and I am forced to comment each line manually, which is very frustrating during debugging. Steps to Reproduce - Open any request body in Hoppscotch - Type some JSON - Press Cmd + / - Instead of adding/removing // comment markers, Hoppscotch opens the "Shortcuts" popup Expected Behavior Cmd + / should toggle comments in the editor (same as VS Code, Postman, etc.) OR Hoppscotch should allow overriding or disabling its global keyboard shortcut OR Provide a configurable keybinding system
Author
Owner

@JohannesBe commented on GitHub (Nov 28, 2025):

Heavily in favour of this one! Commenting out is now really a tedious process.

<!-- gh-comment-id:3588542950 --> @JohannesBe commented on GitHub (Nov 28, 2025): Heavily in favour of this one! Commenting out is now really a tedious process.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#2162
No description provided.