Visual Studio Code now supports JSX on 0.8 version, but looks like the only way to activate it is with a .jsx
file extension. It is not on the list to change the language mode manually, the nearest option is JavaScriptReact
, but it doesn't parse the JSX tags.
I'm in a project with a lot of .js
files with JSX and I can't change it.
Is there any other way to use JSX syntax without the .jsx
extension?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…