flutter-tools.nvim icon indicating copy to clipboard operation
flutter-tools.nvim copied to clipboard

[Help] How to debug example project of a library

Open tlvenn opened this issue 1 year ago • 5 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

When I start a flutter run command on a library, the process stops saying there is no /lib/main.dart

Expected Behavior

Ideally, it would be great if it could detect the example folder and start example/lib/main.dart.

Steps To Reproduce

In any library project having an example sub project

Environment

Not relevant

Anything else?

I tried to play with .nvim.lua to see if I could leverage this but it did not work. Thanks in advance for any tip on how to do this.

tlvenn avatar Jan 29 '24 03:01 tlvenn