'No IntelliSense with VSCode for React component props

Well the question is quite simple : On IntelliJ, I have props autocomplete, while I do not have in VSCode. I mainly use IntelliJ, so that's why I didn't find out sooner.

enter image description here

enter image description here

I tried it on a fresh vscode install, and i tried some tricks I found on the web, without result. I think I don't have enough knowlegde on VSCode to be able to understand what's wrong (I don't even know how to find every extensions I previously installed...).

I'm using Typescript 4.5.5 on both IDE. I did not install anything in particular on IntelliJ

Here is my tsconfig.json

{
  "compilerOptions": {
    "target": "es2017",                       /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
    "module": "commonjs",                     /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
    "lib": ["es2017"],                        /* Specify library files to be included in the compilation. */
    "allowJs": true,                          /* Allow javascript files to be compiled. */
    "jsx": "react",                           /* Specify JSX code generation. Set to 'react' due to issue with jest runner */
    "skipLibCheck": true,                     /* Do not check libraries */
    "noEmit": true,                           /* Disable emitting file from a compilation. Useful when using tools like babel */
    "isolatedModules": true,                  /* Ensure that each file can be safely transpiled without relying on other imports */
    "strict": true,                           /* Enable all strict type checking options */
    "moduleResolution": "node",               /* Specify how TypeScript looks up a file from a given module specifier */
    "resolveJsonModule": true,                /* Enable importing .json files */
    "esModuleInterop": true                  /* Emit additional JavaScript to ease support for importing CommonJS modules */
  },
  "include": ["src","resources.d.ts"]
}

I tried these solutions without any result :

https://code.visualstudio.com/docs/typescript/typescript-compiling

https://github.com/microsoft/TypeScript/issues/39370

https://dev.to/maxbvrn/react-props-auto-complete-in-vs-code-2ana



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source