javascript - React-native 和 VS 代码

标签 javascript react-native visual-studio-code

我需要做什么才能在 VS Code 中查看库的信息(属性/方法...)?

(我使用的框架:React-native,语言:JavaScript)

目前我看不到任何东西 (见下图) enter image description here

我想要什么(在 Android Studio 中拍摄的示例图像) enter image description here

谢谢!

最佳答案

Windows:按住 ctrl并将鼠标悬停在 <View />您可以查看更多信息

Mac:按住 CMD并将鼠标悬停至 <View />

尝试安装此扩展并重新启动 VS Code(以获得更多支持),

enter image description here

关于javascript - React-native 和 VS 代码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/73616522/

相关文章:

javascript - 如何访问 svg 内部 id 并让 CSS 更改该 id 的填充颜色?

c++ - 每次创建 C++ 文件时,VsCode 都会创建一个 .exe 文件

visual-studio-code - VS代码复制粘贴时缩进乱码

flask - 在 VScode 调试器中更改 flask 运行端口

react-native - 如何在UI-kitten中使用Select组件的clear()方法?

javascript - tsc 不创建 dist 文件夹

javascript - ui 路线、 Node 、express、404 html 文件

javascript - 我应该每次都使用 Meteor.userId() 还是应该将它存储在语言环境变量中?

javascript - React-native动画: Trying to combine multiple animations; getting error

react-native - 构建使用react-native构建的android应用时出错