[英]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 来说完全可能吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.