Auto suggestions of file name not working in VSCode when importing (alias name / ) Example : @root/
VSCode not giving auto suggestions of file name inside the directory once we are using alias name with babel module resolver plugin for react native . I am having .js file inside the path @components but it is simply giving the suggestion as @components/ showing the suggestion as {} react,{} props,{} react-native
My .babelrc file : { "presets": [ "react-native" ], "plugins": [ [ "module-resolver", { "cwd": "babelrc", "root": [ "./src" ], "alias": { "@components": "./src/components", "@root": "./src/" } } ] ] }
Please give me a solution.Thanks in advance.
Same here
Look at ‘https://code.visualstudio.com/docs/languages/jsconfig.