Import Quicken is yet another Visual Studio Code extension that helps inserting
This extension is formerly named Code Quicken and heavily inspired by Quick Require, but it is written from scratch because it supports only
.js) and the semi-colon (
;) at the end of the line, hence it becomes
import MyFile from './MyFile'.
- Insert an import/require statement (default keybinding: Ctrl+Shift+I)
- Fix broken import/require statements
- Convert require to import statements
Simply press Ctrl+Shift+I on your keyboard to list all matching identifiers, and choose one file that you would like to insert a snippet based on it.
Fixing broken path in an
require statement has never been this easy. The command Import Quicken: Fix Import/Require will try to find the closest match based on the file path without hassle. If more than one match is found, the extension will prompt you.