Skip to content
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

Spider - Only remove one level of comments when uncommenting #3375

Merged
merged 1 commit into from
Feb 25, 2024

Conversation

misterfifths
Copy link
Contributor

Perhaps this is undesirable, but I for one find it frustrating when the uncomment shortcut removes nested comments. E.g. code like this:

##| live_loop :dummy do
##|   # play the best note 
##|   play :c3
##| end

If I uncomment that presently, the nested # in line 2 is also removed. This change will only remove the outermost level of comments (##| or #).

@samaaron samaaron merged commit 15f6e75 into sonic-pi-net:dev Feb 25, 2024
8 of 10 checks passed
@samaaron
Copy link
Collaborator

Good call, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants