fvm icon indicating copy to clipboard operation
fvm copied to clipboard

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

Open fzyzcjy opened this issue 2 years ago • 6 comments

Before creating a bug report please make check the following

  • [x] You have read our FAQ
  • [x] If you have used flutter. Please install correctly, run pub cache repair. Close the terminal and try again.
  • [x] If you are on Windows. Make sure you are running the terminal as administrator or with developer permissions.
  • [x] Run fvm doctor if possible and add the output to the issue.

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):

  • OS: [e.g. iOS] ios
  • FVM Version [e.g. 22] latest
  • If Windows: Which Powershell are you using?

Additional context n/a

fzyzcjy avatar Feb 20 '22 12:02 fzyzcjy

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?

leoafarias avatar Feb 21 '22 16:02 leoafarias

@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

fzyzcjy avatar Feb 22 '22 00:02 fzyzcjy

@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.

leoafarias avatar Feb 22 '22 00:02 leoafarias

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 :(

fzyzcjy avatar Feb 22 '22 00:02 fzyzcjy

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.

stale[bot] avatar Dec 02 '22 20:12 stale[bot]

bump

fzyzcjy avatar Dec 02 '22 23:12 fzyzcjy