在Visual Studio 2012中,尝试用React JS编写JSX时收到警告和弯曲的行 [英] In Visual Studio 2012, I get warnings and squiggly lines when trying to write JSX with React JS
问题描述
我正在使用一个单独的javascript文件将我的React JS JSX放入其中.当我使用文档给出的示例时,我收到大量的Visual Studio警告和丑陋的波浪线..
I am using a separate javascript file to put my React JS JSX in. When I use the example given by the documents, I get tons of Visual Studio warnings and ugly squiggly lines..
我无法解决这个问题..React JS的交易大为突破.
I cannot figure out a way around this.. Pretty much a deal breaker for React JS.
推荐答案
Visual Studio 2012是在ReactJs之前发布的,因此您不能责怪他们不支持它.
Visual Studio 2012 was released before ReactJs, so you can't really blame them for not supporting it.
这里有一些视觉工作室的东西:
There is some visual studio stuff here:
您可以在此处看到对工具的支持:
You can see support for tooling being asked here:
https://github.com/reactjs/React.NET/issues/3
Web Essentials是寻求支持的首选之一(可能想增加您的投票!)
with Web Essentials being one of the prime picks for asking for support (might want to add your votes!)
如果您正在使用Resharper,它可能会在下一个版本中添加,JetBrains希望将其添加到WebStorm中.
If you are using Resharper it might be added in the next release, JetBrains is looking to add it into WebStorm
https://youtrack.jetbrains.com/issue/WEB-10136
这篇关于在Visual Studio 2012中,尝试用React JS编写JSX时收到警告和弯曲的行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!