AronImport is a VSCode extension used in Netease MoltenCore team, in order to improve productivity and code quality.
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.
- Standard libraries.
- Third party libraries.
- Absolute paths to modules of current project.
- Relative paths to modules of current project.
Format inline template of Angular component.
These are some extra convention of MoltenCore team:
- One content per-line in attributes (e.g "style" "class"). All have the same indent.
- Nested tag should indent. Closed tag is wrapped in the next line.
- Indent use 4 spaces.