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

ng2 rounting module icon not showing #311

Closed p5hema2 closed 1 year 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

in the current regex the ".module" is missing

306

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 72.0

Advice

// change
.*\[._-]routing\.(dart|[tj]s)$
// to
.*(\.routing|-routing\.module)\.(dart|[tj]s)$
mallowigi commented 2 years ago

I think the error lies in the \[ that should be [

I'll fix it

p5hema2 commented 2 years ago

and the file type ".module" is still missing