简体   繁体   English

React Native 的 PhpStorm 中的代码帮助

[英]Code assistance in PhpStorm for React Native

I'm trying to get some code assistance going for React Native in PhpStorm.我正在尝试为 PhpStorm 中的 React Native 获得一些代码帮助。 It's working really well out of the box for all properties etc. But I would like to have code assistance help me also with the values of properties.它对所有属性等都开箱即用。但我希望代码帮助也能帮助我处理属性的值。 I have added @types/node, @types/react, @types/react-dom and @types/react-native in Settings>Languages & Frameworks>JavaScript>Libraries .我在Settings>Languages & Frameworks>JavaScript>Libraries添加了@types/node, @types/react, @types/react-dom and @types/react-native But still nothing.但还是一无所获。

It works good here:它在这里工作得很好:

在此处输入图像描述

But then I would also like it to assist me with the values for that property.但是我也希望它能够帮助我了解该属性的值。 Like in this example, it should give me 'center'.就像在这个例子中一样,它应该给我“中心”。

在此处输入图像描述

And if I just add quotes, then a list of all available property values.如果我只是添加引号,那么所有可用属性值的列表。 Just like when you type html.就像您键入 html 时一样。

在此处输入图像描述

Is this at all possible for PhpStorm with React Native?这对于带有 React Native 的 PhpStorm 来说完全可能吗?

Not currently supported.目前不支持。 Please vote for WEB-38735 and linked tickets to be notified on any progress with this feature请投票给WEB-38735和链接的票证,以便在此功能的任何进展上得到通知

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM