javascript 在 Visual Studio Code 中自动导入 React-Native 开发
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/49839684/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Auto Import in Visual Studio Code for React-Native Development
提问by Khemraj
Is there an extension for VS Codethat makes Auto Importfor React Native Components?
是否有针对React Native 组件进行自动导入的VS Code扩展?
For Example:
例如:
When I type <View, then it automatically suggest for import { View } from 'react-native';
当我输入时<View,它会自动建议import { View } from 'react-native';
采纳答案by Kunal
Check the below plugin for visual studio code. https://marketplace.visualstudio.com/items?itemName=steoates.autoimport
检查以下插件以获取 Visual Studio 代码。 https://marketplace.visualstudio.com/items?itemName=steoates.autoimport

