DEV Community

Discussion on: Top VS Code Extensions Every Developer Should Use 🛠

Collapse
 
srikanth597 profile image
srikanth597 • Edited

Since you mentioned this No.4 Extension, for which I had some issues with auto importing doesn't work as shown in the GIF(ibb.co/68dfzwS).
Can someone help me? , I couldn't find what is the issue, I am using 1.50.1

Collapse
 
iamdarshshah profile image
Darsh Shah

Hey Srikanth,
As you pointed, ES7 React/Redux/GraphQL/React-Native snippets Extension provides you some code snippets short-hands that you can use to code effectively. It won't help you in auto importing the missing components. You can visit the extension's details page and check out the features it allows you to make use of.

Otherwise, to solve your issue, I would recommend you to check out VS Code & auto import. I hope it will help you achieve what you wanted.

Thanks

Collapse
 
srikanth597 profile image
srikanth597

I have the Auto import extension as well.
What I want to achieve is that, whenever I use useState snippet from that ES7 etc extension, I want it to be added to React import line automatically.
It used to work exactly how I mentioned a month back, but it doesn't work for me lately, I have to manually import it.

So do u think I can solve this somehow

Thread Thread
 
iamdarshshah profile image
Darsh Shah

Have you checked those links that I shared? Because that should resolve your issue. It should work as expected. If still, you face any issues I would recommend you to open an issue in a respected repository and the team can get back to you with the solution.