Import Quicken is yet another Visual Studio Code extension that helps quickly generating
This extension is heavily inspired by Quick Require.
- Fix broken import/require statements
- Convert require to import statements
Note that the extension may not support multi-folder workspace.
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.
In order to populate Node.js APIs, such as
fs, and so on, the module
@types/node must be installed locally or globally using
npm install @types/node.
With the settings
importQuicken.autoCopy set to
true, your recently selected import name is automatically copied into the clipboard so you can paste it immediately without having to repeat yourself.