Is there anyone who successfully tried to install and use auto imports extension for VS Code that is working correctly with react-native components?

I'd like to have some auto imports for example when typing things like

<Modal> or <View>

or at least auto-suggestion to import it from 'react-native' package.

I tried this one: https://marketplace.visualstudio.com/items?itemName=NuclleaR.vscode-extension-auto-import And I also changed Autoimport: Files To Scan setting to **/*.{ts,tsx,js,jsx} because I use JS but it's not working.

Also, I tried most upvoted answer from this question: https://stackoverflow.com/questions/49839684/auto-import-in-visual-studio-code-for-react-native-development but no luck with that as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.