Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Import SortNew to Visual Studio Code? Get it now.
Import Sort

Import Sort

crazyair

|
910 installs
| (0) | Free
Allows you to customize and automate import sorting
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

import-sort README

Extension Settings

importSort.sortOnSave: 是否开启排序

importSort.sortingSettings: 排序规则

排序的每一项配置:

  • "regex": ["^react$", "^[a-z]"] - 匹配规则
  • "regexNotEqual": "^react$" - 不可匹配规则
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft