Sublime Forum

Comments not work with jsx syntax

#1

when I using ctrl+/ in st4.

works:
%E5%9B%BE%E7%89%87

works:
%E5%9B%BE%E7%89%87

works:
%E5%9B%BE%E7%89%87

not works
%E5%9B%BE%E7%89%87

1 Like

#2

You have to select the lines first before commenting in the case you want a comment for multiple lines.
The keyboard shortcut is ctrl+shift+/

0 Likes

#3

The issue is {/*<li></li>*/} to be the expected result in the last screenshot. Selecting the line doesn’t help with it on my box.

2 Likes

#4

yeah, this what I mean

0 Likes

#5

The issue is filed at

caused by a ST core issue

0 Likes