Feedback on preview feature - Angular analyzer plugin integration
See original GitHub issuev2.3.4 includes a preview feature enabled with the dart.previewAnalyzeAngularTemplates
setting. Because the plugin is still in development, in order to use this you will need to download the angular analyzer plugin and build it yourself (instructions can be found here). Note: You do not need to overwrite the analyzer.snapshot
in your SDK because Dart Code supports custom analyzer snapshots; simply set the dart.analyzerPath
setting (which can be done at the workspace level, along with dart.previewAnalyzeAngularTemplates
to enable this only for some projects) to the full path of the analyzer.snapshot
that is built.
This feature is behind a preview flag because it’s currently incomplete (both the plugin and the Dart Code integration). Depending on how the plugin ships once complete, it may become enabled by default.
Please post your feedback below!
Known issues:
- #409 ~Dart Code doesn’t activate for projects without
pubspec.yaml
unless a.dart
file is opened~
Suggestions
- ???
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:18 (10 by maintainers)
Top GitHub Comments
FYI - the next version of Dart Code is flipping this flag to on by default (and renaming to drop
preview
) - see #458. Note: it’ll only activate if your SDK has analysis server version >= 1.18.5 (this was not previously the case) though I presume everyone using this plugin must be using a recent dev build anyway.There will likely be a beta release before it goes out, so any testing it can be given would be appreciated (probably it’ll be end of next week or early the next).
This flag was flipped and is available in a beta of v2.12 here:
https://github.com/Dart-Code/Dart-Code/releases/tag/v2.12.0-beta.1
Provisional release notes here:
https://dartcode.org/releases/v2-12/
Please test it out and let me know if you have any issues.