Add support for Dart/Flutter
See original GitHub issueIs your feature request related to a problem? Please describe. It would be nice if the extension could be compatible with both Dart and Flutter.
Describe the solution you’d like
Well, once you run flutter test --coverage
you get a folder in the root named coverage which contains lcov.info. The rest you know.
Describe alternatives you’ve considered I have thinked about using a CI/CD thing but it would be nice to have coverage integrated with vscode.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Desktop support for Flutter
Flutter provides support for compiling a native Windows, macOS, or Linux desktop app. Flutter's desktop support also extends to plugins—you can install ......
Read more >IntelliJ & Android Studio - Dart programming language
The Dart plugin adds Dart support to IntelliJ Platform-based IDEs developed by ... Android Studio which specializes in Android and Flutter development.
Read more >How To Extend a Flutter Plugin To Support Web
import 'package:flutter_web_plugins/flutter_web_plugins.dart';. import 'package:rudder_sdk_flutter_platform_interface/platform.dart';.
Read more >Dart / Flutter support in Kate
Add Dart support in our syntax highlighting framework · Add Dart server to our supported list of LSP servers · Fix the semantic...
Read more >Dart | IntelliJ IDEA Documentation - JetBrains
Open the Marketplace tab, find the Dart plugin, and click Install (restart the IDE if prompted). Downloading the Dart tools. Download and ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Ascenio Thanks for creating a ticket! There was a bit of discussion for flutter / dart in the past https://github.com/ryanluker/vscode-coverage-gutters/issues/160 might be useful to look through there for some ideas to your issue if we cant solve it below.
Do you have an example project that we can see the outputed lcov.info for? I would think if flutter / dart generate an lcov.info file that is to the specification then the extension should “just work”. Also the extension already finds any files that are named lcov.info and tries to load them.
Could you look into the gutter logs in your vscode and see if anything is being loaded?
After a quick bit of googling it seems others have got it working (with other vscode coverage extensions but the process of setting up the lcov.info might help). http://blog.wafrat.com/test-coverage-in-dart-and-flutter/
Hello, it has been a while. I don’t know what was the problem before but now it seems to be working, I’m using a plain .lcov file and looks like it matches what the html version shows. Thanks for you support, guys. ✌️