-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "Toggle comment" key command #321
Conversation
🦋 Changeset detectedLatest commit: b35c80e The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Selection area is incorrect
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did a high-level pass, will do a more detailed one when it's not in draft 😂
This reverts commit ce107c3. # Conflicts: # package.json
Co-authored-by: Adam Skoufis <[email protected]>
// Todo - (1/2) Solve issue where Ubuntu does not select to the start of line | ||
// Todo - (2/2) with one trigger of the keybinding |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Has this been addressed? Is this an ubuntu issue, or a broader linux issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This hasn't been addressed. I'm not 100% sure who the culprit is but by default on the Ubuntu tests, the backwards selection goes up to the opening "//" (not including), whereas macOS selection goes to the very start of the line.
Solving issue #295.
Adds keybinding Cmd + / (or, on Windows, Ctrl + /) to toggle comment syntax for the currently selected code.
NB: the additional cypress tests make GitHub actions take a fair bit longer, but will look to fix that in a follow-up PR.