You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 function(msg)
Actual Result:
Cursor needs to be adjusted after the ) after typing function(msg
Otherwise, typing function(msg) will become function(msg))
The text was updated successfully, but these errors were encountered:
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
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 typingf
u
n
c
t
i
o
n
(
m
s
g
Otherwise, typing
f
u
n
c
t
i
o
n
(
m
s
g
)
will becomefunction(msg))
The text was updated successfully, but these errors were encountered: