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

Flutter/Dart project detection improvement

Open mikeborodin opened this issue 1 year ago • 1 comments

hi,

I ran into an issue that I couldn't start debugging. The error was about "dart:ui" inaccessible for this platform so I figured out it tries to run dart instead of flutter. For some reason I didn't have that .metadata file which is currently used to distinguish between pure dart and flutter projects. Maybe this logic could be improved? I'd be willing to contibute, I'm just a beginner in lua :)

  local is_flutter_project = vim.loop.fs_stat(path.join(root_dir, ".metadata"))

mikeborodin avatar Aug 15 '23 11:08 mikeborodin