Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>js-importerNew to Visual Studio Code? Get it now.
js-importer

js-importer

elnur

|
611 installs
| (0) | Free
imports picked file
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

JS Import Picker for Visual Studio Code

Typing relative paths to import in a large project eventually becomes tiresome, thats where this extension becomes handy. You can simply search and pick a js/json/jsx file to import using ES6 or Commonjs import syntax

demo

Commonjs and custom extensions

create a file called "js-importer.json" in main directory of project

this is how options should look like

{
 "type": "commonjs", 
 "extensions": "jsm,tsx" 
}

type defaults to - "es6"

extensions defaults to - "js,json,jsx"

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