I would like to create a snippet tom import an angular material module like so
import { MatToolbarModule } from "@angular/material/toolbar";
etc.
This is what i have done so far:
"Import Angular Material Modules": {
"prefix": "ng-mat-import",
"body": [
"import { Mat${1}Module } from '@angular/material/${1/(.*)/downcase/$1}'",
]
},
I can't find out what is missing and what is going wrong. The VSCode Documentation is so vague.
The result i would like to get is something like what the answers in Visual studio code: replace char case while typing in snippet does