microsoft / vs-ng-language-service

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

Handle null response from Angular language server #15

Closed uniqueiniquity closed 3 years ago

uniqueiniquity commented 3 years ago

Currently, if the Angular language server returns null, the middle layer throws a NullReferenceException. Here, we more gracefully handle this valid behavior.

Also, this PR includes some style and threading cleanup.