If suggestions are not showing up yet, you can adjust the settings to allow for suggestions with enter
. This can be done by enabling the following setting in your user settings:
"editor.acceptSuggestionOnEnter": "on",
When working with TypeScript files, if suggestions are still not appearing, it may be necessary to install the necessary packages that support these suggestions.
Executing the following commands will help resolve this issue...
npm init -y // initialize a node project
npm install angular --save // install Angular
npm install @types/angular --save-dev // install Angular types
npm install @angular/material --save // install material
tsc --init // initialize a TypeScript project
code . // open VS Code
...and once complete, you should see similar results in your own VS Code workspace.
https://i.sstatic.net/1SkG3.png
For HTML files, it might be necessary to install and enable the Angular Language Service VS Code Extension.
https://i.sstatic.net/7pFvk.png