Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>reorder-imports-monopolioNew to Visual Studio Code? Get it now.
reorder-imports-monopolio

reorder-imports-monopolio

CodeWizards

|
8 installs
| (0) | Free
extension for reorder imports as monopolio rules
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Import Reorder Extension

A Visual Studio Code extension that automatically reorganizes import statements in your TypeScript and JavaScript files following a specific order pattern.

Features

This extension automatically reorders your imports following this hierarchy:

  1. External Libraries (e.g., 'react', 'lodash')
  2. Shared Packages (e.g., '@mo/*')
  3. Alias Imports (configured through settings)
  4. Relative Imports ('./' or '../')

Example:

// Before
import { useState } from 'react'
import { MyComponent } from './components/MyComponent'
import { SharedUtil } from '@mo/utils'
import { Feature } from '@modules/feature'

// After
import { useState } from 'react'

import { SharedUtil } from '@mo/utils'

import { Feature } from '@modules/feature'
import { MyComponent } from './components/MyComponent'
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft