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

can sourceful auto-balance parens/braces #33

Open
wtholliday opened this issue Feb 20, 2023 · 1 comment
Open

can sourceful auto-balance parens/braces #33

wtholliday opened this issue Feb 20, 2023 · 1 comment

Comments

@wtholliday
Copy link

wtholliday commented Feb 20, 2023

In most code editors, when you enter a paren, the editor will auto-balance with a closing paren.

Can sourceful do that? If not, how should I go about adding it?

@ActuallyTaylor
Copy link

It can't by default, but you can add it yourself by overriding text did change and detecting when the user typed an autocompleting character

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

No branches or pull requests

2 participants