leoafarias / fvm

Flutter Version Management: A simple CLI to manage Flutter SDK versions.
https://fvm.app
MIT License
4.55k stars 225 forks source link

[BUG] Intellij IDEA (Android Studio) with multiple flutter packages: cannot configure fvm #388

Open fzyzcjy opened 2 years ago

fzyzcjy commented 2 years ago

Before creating a bug report please make check the following

Describe the bug Hi thanks for the manager! I want to use it in Intellij IDEA (Android Studio). My intellij IDEA's project contains a dozen of flutter packages, say my_app_one, my_app_two, etc. I want my_app_one to use flutter beta while my_app_two to use flutter stable. If I am using raw fvm everything is OK and I just need to configure using commands. However I want IDE to understand what is happening.

The problem is, following the official guide, I can only change the flutter path of the whole project, i.e. my_app_one AND my_app_two AND all other packages opened in this IDEA project.

To Reproduce n/a

Expected behavior na

Logs na

Desktop (please complete the following information):

Additional context n/a

leoafarias commented 2 years ago

hmmm @fzyzcjy I believe you can only have one Flutter version per "workspace/project" if that is the case are you able to separate these apps into multiple projects?

fzyzcjy commented 2 years ago

@leoafarias Thanks for the reply. However, intellij idea can only open one window. So if I separate them into multiple intellij projects I can only open one at a time... which is not acceptable

leoafarias commented 2 years ago

@fzyzcjy this might be a limitation of the Android studio flutter plugin. I am not sure I understand the use case as the Flutter version will impact all linting, code completion and formatting also.

You should be able to open more than one window at a time.

fzyzcjy commented 2 years ago

Thanks for the reply.

You should be able to open more than one window at a time.

Oops at least not the case for Intellij IDEA :(

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

fzyzcjy commented 1 year ago

bump