Skip to content

Fix quote and bracket autoclosing not working inside parentheses - #118

Merged
MrSubidubi merged 1 commit into
zed-extensions:mainfrom
Dofoerix:main
Sep 28, 2026
Merged

MrSubidubi merged 1 commit into
zed-extensions:mainfrom
Dofoerix:main

Conversation

@Dofoerix

Copy link
Copy Markdown
Contributor

Any other language extension has autoclose_before = ";:.,=}])>" line, that fixes this issue

Examples:

println(|) // `|` is a cursor

println("|) // Typed double quote
println("|") // This is what expected

println(someList[|) // Same problem with other paired symbols
println(someList[|]) // Expected outcome

@cla-bot

cla-bot Bot commented Sep 25, 2026

Copy link
Copy Markdown

We require contributors to sign our Contributor License Agreement, and we don't have @Dofoerix on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@Dofoerix

Copy link
Copy Markdown
Contributor Author

@cla-bot check

@cla-bot cla-bot Bot added the cla-signed label Sep 25, 2026
@cla-bot

cla-bot Bot commented Sep 25, 2026

Copy link
Copy Markdown

The cla-bot has been summoned, and re-checked this pull request!

@MrSubidubi MrSubidubi changed the title Fix quote/brackets autoclosing doesn't work inside parentheses Fix quote and bracket autoclosing not working inside parentheses Sep 28, 2026

@MrSubidubi MrSubidubi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! And congratulations on your first contribution! 🎉

@MrSubidubi
MrSubidubi merged commit 71960ac into zed-extensions:main Sep 28, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants