Auto Import Relative Path, is an extension for VS Code that makes importing relative paths much easier and less tedious. With this extension, you can say goodbye to long and complicated import statements and file paths. It provides a simple and efficient way to import files without having to manually type out the entire path. Whether you're working on a small project or a large one with many files, this extension can save you a lot of time and effort
File extension | |
---|---|
Programming Language | .js , .jsx , .ts , .tsx |
Markup Language | .html , .md |
Stylesheet | .css , .scss |
Command | Key Binding | Description | See in action |
---|---|---|---|
Auto Import: Copy |
Ctrl+Shift+A |
Copy the relative path of the selected file in Explorer. | click here |
Auto Import: Paste |
Ctrl+I |
Paste the import statement into your active text editor. | click here |
Auto Import: Auto |
Alt+D |
Auto copy and paste the import statement of a file from Explorer to your active text editor. | click here |
- Press
Ctrl+Shift+A
on a file in Explorer, then pressCtrl+I
in your active text editor to import it. - Alternatively, press
Alt+D
to automatically import the file in your active text editor.
- Press
Ctrl+Shift+A
on a file in Explorer, then pressCtrl+I
in your active text editor to import it. - Alternatively, press
Alt+D
to automatically import the file in your active text editor.
- Press
Ctrl+Shift+A
on a file in Explorer, then pressCtrl+I
in your active text editor to import it. - Alternatively, press
Alt+D
to automatically import the file in your active text editor.
- Press
Ctrl+Shift+A
on a file in Explorer, then pressCtrl+I
in your active text editor to import it.
- Press
Alt+D
to automatically import the file in your active text editor.
- Press
Ctrl+Shift+A
on a file in Explorer, then pressCtrl+I
in your active text editor to import it.
- Press
Ctrl+Shift+A
on a file in Explorer, then pressCtrl+I
in your active text editor to import it. - Alternatively, press
Alt+D
to automatically import the file in your active text editor.
- Press
Ctrl+Shift+A
on a file in Explorer, then pressCtrl+I
in your active text editor to import it. - Alternatively, press
Alt+D
to automatically import the file in your active text editor.
- Press
Ctrl+Shift+A
on a file in Explorer, then pressCtrl+I
in your active text editor to import it. - Alternatively, press
Alt+D
to automatically import the file in your active text editor.
See CHANGELOG for more information.
- File bugs, or any feature requests in GitHub Issues.
- Leave a review on Visual Studio Marketplace.