VS Code Remove Unused Imports Keyboard Shortcut


In order to remove unused imports from Class in Visual Studio Code, you can make use of the below keyboard shortcuts,

Mac: ⌥ Option + Shift + O
Windows: Alt + Shift + O
Remove Unused Imports VS Code Gif Demo
Remove Unused Imports VS Code Gif Demo

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org



















Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap