Sublime Forum

Highlight error in ST4 build-in TSX syntax

#1

Is there anyone have the same problem like this:

when using typescript generic in jsx, the code after that will not highlight.

I also install babel package, but it not work.

Is there any solution for this? or it is a known bug ?:sweat_smile:

0 Likes

#2

when you set syntax to typescript-sublime-plugin extension ‘TypeScriptReact’, it will work:

The problem can be solve by typescript-sublime-plugin(Microsoft)

But for some personal reason(the awful performance with the plugin after installed . I also deprecated VS code editor because of using high cpu and bad reaction speed), so I don’t want use the plugin to solve this.

0 Likes

#3
2 Likes

#4

Thanks a lot !:smiling_face_with_three_hearts:

0 Likes