fvm
fvm copied to clipboard
[BUG] Intellij IDEA (Android Studio) with multiple flutter packages: cannot configure fvm
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
administratoror withdeveloperpermissions. - [x] Run
fvm doctorif 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
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 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 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.
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 :(
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.
bump