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

Typing ) over auto-inserted ) should produce ), not )) #23

Open
cyfung1031 opened this issue Jul 28, 2021 · 1 comment
Open

Typing ) over auto-inserted ) should produce ), not )) #23

cyfung1031 opened this issue Jul 28, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@cyfung1031
Copy link

https://live.prismjs.com/

There shall be better handling of typing coding with brackets.

For example, function(msg){ console.log(msg) }

Description:
There is auto closing bracket after typing function(

Expected Result:
No duplicated closing bracket when my typing is f u n c t i o n ( m s g )

Actual Result:
Cursor needs to be adjusted after the ) after typing f u n c t i o n ( m s g

Otherwise, typing f u n c t i o n ( m s g ) will become function(msg))

@LeaVerou LeaVerou changed the title There shall be better handling of closing bracket in code editing Typing ) over auto-inserted ) should produce ), not )) Jul 28, 2021
@LeaVerou LeaVerou added the enhancement New feature or request label Jul 28, 2021
@LeaVerou
Copy link
Member

Yup, agreed.

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

No branches or pull requests

2 participants