AtomMaterialUI / a-file-icon-idea

Atom Material Icons for JetBrains - Replace File and UI Icons for better visual grepping.
http://www.material-theme.com/docs/configuration/icons-settings/#atom-material-icons-plugin
MIT License
220 stars 27 forks source link

Wrong mapping for Angular routing Icon #306

Closed p5hema2 closed 2 years ago

p5hema2 commented 2 years ago

Describe the bug When you generate a ng2 rounting module a file is created with the name [yourname]-routing.module.ts

To Reproduce

  1. ng g m home --routing CREATE src/app/home/home-routing.module.ts (247 bytes) CREATE src/app/home/home.module.ts (272 bytes)

Expected Behavior correct mapping

Environment Build #IU-222.3739.54, built on August 16, 2022 Atom File Icon 70.0

Advice

// change
.*\.routing\.(dart|[tj]s)$ 
// to
.*(\.routing|-routing\.module)\.(dart|[tj]s)$