I am following a Angular course on Udemy. The instructor is using vs code and when he uses events on button a whole list of events are shown to him like (click),(mousedown),(mouseenter) etc.
For example instructor writes:
<button (>Click me
He just opened the parenthesis inside button and he got a lot of suggestions of events.
In my vs code I don't get that type of suggestion. I would post screen shot of the video but for some reason the video screen turns black.
CodePudding user response:
The instructor is probably using "Angular Language Service" plugin you should install, as well as tslint, he should have talked about it in the course (I don't know for sure) if it's a 'get started' course, you might want to check.
CodePudding user response:
Open Visual Studio Code
- Open Extensions on the left side of the IDE (ctrl Shift X in windows)
- Search "Angular Language Service" and install
This will provide intellisense for Angular