Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>aron-importNew to Visual Studio Code? Get it now.
aron-import

aron-import

someblueszr

|
1,090 installs
| (0) | Free
Typescript import sorter
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AronImport is a VSCode extension used in Netease MoltenCore team, in order to improve productivity and code quality.

  • Sort "import" statements of TypeScript code
  • Format inline template of Angular component

Sort Import

demo-01

Sort "import" statements of TypeScript code, in the order of MoltenCore team convention.

Import statements are divided into 4 section in following order, Statements of each section are sorted alphabetically by paths.

  1. Standard libraries.
  2. Third party libraries.
  3. Absolute paths to modules of current project.
  4. Relative paths to modules of current project.

Format Template

demo-02

Format inline template of Angular component.

These are some extra convention of MoltenCore team:

  1. One content per-line in attributes (e.g "style" "class"). All have the same indent.
  2. Nested tag should indent. Closed tag is wrapped in the next line.
  3. Indent use 4 spaces.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft