analyzeAngularTemplates is no longer needed

This commit is contained in:
Simon Binder 2020-04-06 19:24:49 +02:00
parent 606d11d589
commit 516d2143f7
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
1 changed files with 2 additions and 5 deletions

View File

@ -39,14 +39,11 @@ Then, follow the steps for the IDE you want to use.
Make sure that your project depends on moor 2.0 or later. Then
1. In the preferences, make sure that the `dart.analyzeAngularTemplates` option is
set to true. Contrary to its name, that flag turns on the plugin system, so you
don't need to worry about angular.
2. Tell Dart Code to analyze moor files as well. Add this to your `settings.json`:
1. Tell Dart Code to analyze moor files. Add this to your `settings.json`:
```json
"dart.additionalAnalyzerFileExtensions": ["moor"]
```
3. Finally, close and reopen your IDE so that the analysis server is restarted. The analysis server will
2. close and re-open your IDE so that the analysis server is restarted. The analysis server will
then load the moor plugin and start providing analysis results for `.moor` files. Loading the plugin
can take some time (around a minute for the first time).