Change Auto-Import Priority Order In VScode

Viewed 356

I'm working on a Next-JS project with TypeScript. Everything was fine till one day, VSCode decided to change my auto-import priorty. In my case, I wanted to import useEffect, useContext,.. from react. But somehow, Vscode auto-import first-place changed to preact-hook, which is different from react and take me time to debug it later when I test the code.

Example:

Any Idea how can I change the order to let react goes first?

0 Answers
Related