【发布时间】:2017-09-10 11:19:48
【问题描述】:
我在 android 平台上工作,现在切换到不同的平台 react-native。我正在使用atom 文本编辑器为react-native 应用程序编写代码。
我在 atom A) Linter B) Nuclide 中安装了两个包
现在,我想在按下快捷键或将鼠标悬停在方法名称上时快速记录react-native 的方法。没有任何软件包可以像 Android Studio/Eclipse 的其他工具一样拥有快速文档。
到目前为止,我必须去他们的文档网站查看并返回。
AppRegistry.registerComponent('XYZ', () => XYZ);
类似https://i.stack.imgur.com/EoB87.pnghttp://i0.wp.com/www.innovatecode.com/wp-content/uploads/2015/11/Android-Studio-Quick-Documentation.png?fit=455%2C280
【问题讨论】:
-
加入我们的 vscode 一边,获得 cookie 和出色的智能感知。在 Visual Studio 和 intellij 平台之类的 :) 中。它的速度也快了大约 4-5 倍;)
-
我正在使用 vscode 但对于 nodejs 的东西不是为了反应原生
-
那么 vscode 和这个扩展对 react-native 的支持一样棒,如果不是更好的话:github.com/Microsoft/vscode-react-native
标签: android react-native atom-editor react-native-android nuclide-editor