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

Auto-closing of curly brace fails under certain circumstances #502

Closed
rgrunber opened this issue May 17, 2022 · 0 comments · Fixed by #511
Closed

Auto-closing of curly brace fails under certain circumstances #502

rgrunber opened this issue May 17, 2022 · 0 comments · Fixed by #511
Assignees
Labels
good first issue Good for newcomers qute
Milestone

Comments

@rgrunber
Copy link
Member

bracket-matching-test

I think it would be common to have something like <element>|</element> and want to input a { at the cursor (|) position. However, this doesn't work, and one must manually close the cursor. This works on an empty line or any line where there is whitespace to the right of the cursor. It even works in some pretty odd cases.

See https://code.visualstudio.com/api/language-extensions/language-configuration-guide#autoclosing-before for an explanation and how to override the behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers qute
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants