Skip to content

Commit

Permalink
Add "Toggle comment" key command (#321)
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Jervis <bjervis@seek.com.au>
Co-authored-by: GitButler <gitbutler@gitbutler.com>
Co-authored-by: Adam Skoufis <askoufis@users.noreply.github.com>
  • Loading branch information
4 people committed Feb 23, 2024
1 parent 41e8cfa commit c99cc30
Show file tree
Hide file tree
Showing 6 changed files with 1,868 additions and 12 deletions.
8 changes: 8 additions & 0 deletions .changeset/tender-spiders-compete.md
@@ -0,0 +1,8 @@
---
'playroom': minor
---

Add keybinding to toggle comment syntax for the current selection.

Pressing <kbd>Cmd</kbd> + <kbd>/</kbd> (or, on Windows, <kbd>Ctrl</kbd> + <kbd>/</kbd>) will toggle comment syntax for the currently selected text.
If no text is selected, the line the cursor is on will toggle comment syntax.

0 comments on commit c99cc30

Please sign in to comment.