Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>import-prompterNew to Visual Studio Code? Get it now.
import-prompter

import-prompter

simonhe

|
35 installs
| (0) | Free
| Sponsor
import-prompter
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

magic

English | 简体中文

Import Prompter

A VS Code extension that provides fast import suggestions from your project dependencies. It prioritizes packages from your package.json and works seamlessly with export-what.

demo

✨ Features

  • 🚀 Fast Import Suggestions - Quick access to all your project dependencies
  • 📦 Smart Detection - Automatically detects dependencies from package.json
  • 🔄 Live Updates - Watches for changes in your package dependencies
  • ⚙️ Configurable - Customize trigger character, exclude packages, and more
  • 🎯 Multi-language Support - Works with JavaScript, TypeScript, Vue, and more

📖 Usage

  1. Type _ (or your configured trigger character)
  2. Select _import-prompter from the suggestion list
  3. Choose the package you want to import
  4. Press Tab to jump back to the import statement
  5. Press Space to select exported dependencies (works with export-what)

The extension will automatically detect new dependencies added to your package.json.

⚙️ Configuration

You can customize the extension behavior through VS Code settings:

Setting Type Default Description
import-prompter.trigger string "_" Character that triggers import suggestions
import-prompter.includePeerDependencies boolean true Include peer dependencies in suggestions
import-prompter.excludePackages array [] List of packages to exclude from suggestions
import-prompter.supportedLanguages array See below List of supported programming languages

Default supported languages:

  • javascript
  • javascriptreact
  • typescript
  • typescriptreact
  • vue

Example Configuration

{
  "import-prompter.trigger": "_",
  "import-prompter.includePeerDependencies": true,
  "import-prompter.excludePackages": ["@types/*"],
  "import-prompter.supportedLanguages": [
    "javascript",
    "typescript",
    "vue",
    "svelte"
  ]
}

🔧 Installation

Install from the VS Code Marketplace or search for "import-prompter" in VS Code extensions.

🤝 Related Extensions

  • export-what - Shows available exports from selected packages

:coffee:

Buy me a cup of coffee

📄 License

MIT

💖 Sponsors

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft