Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Auto Import in Visual Studio Code for React-Native Development [closed]

Is there an extension for VS Code that makes Auto Import for React Native Components?

For Example:

When I type <View, then it automatically suggest for import { View } from 'react-native';

like image 817
Khemraj Sharma Avatar asked Apr 15 '18 07:04

Khemraj Sharma


People also ask

How do you auto import React components in VS Code?

Here's how to auto import packages and components in VSCode:Go to Code, then Preferences, then Settings. Search auto import and make sure the Enable Auto Import checkbox is selected.

Does VS Code support react native?

This VS Code extension provides a development environment for React Native projects. Using this extension, you can debug your code and quickly run react-native commands from the command palette.


1 Answers

Check out the Auto Import plugin by steoates for VS Code

like image 87
Kunal Avatar answered Oct 11 '22 06:10

Kunal