Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>Import At Top (JS)New to Visual Studio Code? Get it now.
Import At Top (JS)

Import At Top (JS)

Nik Zolkin

|
9,265 installs
| (1) | Free
An extension that adds imports to the source file from the specified options in the configuration file, and also sorts and removes unnecessary imports, which improves and speeds up the user experience.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

logo

title

Version   Rating   Installs   Downloads

✅ This extension is in beta testing. If you find a bug please report it - holdesher@ro.ru


https://i.imgur.com/dBaSKWF.gif
React
React
JavaScript
JS
TypeScript
TS
NestJS
NestJS

https://i.imgur.com/dBaSKWF.gif
description

Win

Ctrl + Alt + S

MacOS & Linux

Command + Option + S

https://i.imgur.com/dBaSKWF.gif
description


"import-at-top.config": [
	{
		"triggerDefault": ["React"],
		"triggerExport": ["useState", "useId", "useRef"],
		"package": "react"
	}
]

importDefault - this is a list of words (for importing default values) that the extension will respond to when importing your dependencies: import React from 'react'.


importExport - this is a list of words (for importing a named value) that the extension will respond to to import your dependencies: import { useState } from 'react'.


package - the name of the path or package from which the import will go.


https://i.imgur.com/dBaSKWF.gif
description
description
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft