microsoft / vs-ng-language-service

Visual Studio extension for the Angular Language Service
MIT License
43 stars 15 forks source link

HTML tags don't show up in completion #10

Closed PranavSenthilnathan closed 3 years ago

PranavSenthilnathan commented 4 years ago

Currently when this extension is enabled, completion for html tags in the component.html files do not show up (only angular completions at the position show up). By default multiple completion providers should work seamlessly and provide the combination of all available completions but some internal implementations are causing this to not work in this case. We should consider making the HTML completion provider asynchronous, using the synchronous provider in our LSP implementation, or some other option to get this working.

image

John0King commented 3 years ago

html highlight for single .ts file seems not work neighter.

@Component({
    template: `  <a> </a> ` ,   intellisence  work, but not heighlight and  complete tag 
})
export class FooComponent implements OnInit {
   ngOnInit(): void {
  }
}
vosonha89 commented 3 years ago

I also have problems, when try to enable services. image Error log here: image