-
Notifications
You must be signed in to change notification settings - Fork 325
Support SDK per module #5767
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
Comments
If FVM features are adopted by the Flutter SDK then we will support them. |
@stevemessick I am not sure if we misunderstood each other.
|
@stevemessick do you consider to reopen this issue or give more details about working with multiple Flutter versions at the same time? |
Thanks for the update. You're asking for support of monorepo projects. That's tracked in #5291. There are a couple issues related to that. Search for "monorepo" (including closed issues) for more info. We are working on it, but a lot of other things keep getting prioritized over it. I'd like to think that each Flutter module in a monorepo project would have naturally had its own SDK; now that you've brought it up we can make sure it does. For now, you will get the best Flutter coding experience by opening each Flutter project in its own top-level IntelliJ project. I use multiple windows and use a keystroke to switch between them. |
Thank you for the info!
Yes, each flutter module should have its own SDK.
For now, it's the only way to work with different Flutter SDKs at the same time.
|
Those are valid concerns, which we want to address in monorepo support. However, I think you can work around one of them
If you open the top-level (monorepo) project in its own window, and in that project mark each |
Assuming we have an IntelliJ project with multiple modules.
Each IntelliJ module is a flutter project and they depend on different SDK versions.
Currently, we can only specify single Flutter SDK path per IntelliJ project.
Each time, we want to switch to work on other module, we need to change the channel/branch of the shared SDK path.
It would be nice if beside the default flutter configuration per project, we can overwrite this configuration per each module. It's similar to specifying different Java SDK for each module.
The text was updated successfully, but these errors were encountered: