mirror of https://github.com/AMT-Cheif/drift.git
analyzeAngularTemplates is no longer needed
This commit is contained in:
parent
606d11d589
commit
516d2143f7
|
@ -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
|
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
|
1. Tell Dart Code to analyze moor files. Add this to your `settings.json`:
|
||||||
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`:
|
|
||||||
```json
|
```json
|
||||||
"dart.additionalAnalyzerFileExtensions": ["moor"]
|
"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
|
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).
|
can take some time (around a minute for the first time).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue