Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter/Dart project detection improvement #282

Open
mikeborodin opened this issue Aug 15, 2023 · 1 comment
Open

Flutter/Dart project detection improvement #282

mikeborodin opened this issue Aug 15, 2023 · 1 comment

Comments

@mikeborodin
Copy link
Contributor

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"))
@akinsho
Copy link
Collaborator

akinsho commented Sep 13, 2023

A contribution (regardless of lua skill level, it's not a complex project) would be very welcome as I don't have any time to do any work on this at all at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants