Plugin: Angular TypeScript Snippets
Let's talk about one of the best plugins for VsCode and Angular developers. This extension adds code snippets for Angular , TypeScript and HTML and is updated for Angular 12 (at the time of writing). It is very easy to use this plugin. Just type the beginning of a code and press Enter, like this: We can type a-ngfor and the autocompletion will show some options. If we press Enter, then a complete template will be shown as the example below: Some code snippets have a context. We can't use a a-ngFor in TypeScript or Angular code, but only in HTML. Let's see some of the code for each language. Angular/Typescript snippets Snippet Make a-component A component a-directive A directive a-httpclient-get return this.httpClient.get('url...