flutter-intellij icon indicating copy to clipboard operation
flutter-intellij copied to clipboard

Feature Request - Support FVM in the IDE

Open spekary opened this issue 1 year ago • 5 comments

Thanks for the feedback! If your issue is related to the Flutter framework itself, please open an issue at github.com/flutter/flutter.

Steps to Reproduce

FVM (https://fvm.app) is an excellent app to help associate a specific flutter version with a project.

However, it requires that the user enter an absolute path in the Flutter path in settings. Absolute paths are not great and hard to share in a multi-developer environment.

Suggestions Best: If the IDE sees a ".fvm" directory in the top level of the project, use its flutter_sdk subdirectory as the path to flutter. 2nd best: Instead, use it for the default path to flutter, allowing the user to change it in Preferences. 3rd best: Allow a relative path for the flutter path in the preference, which would start from the project directory, or possibly use environment variables.

spekary avatar Sep 06 '22 19:09 spekary

Contributions welcome! This is outside the scope of work we plan to support.

stevemessick avatar Sep 07 '22 15:09 stevemessick

@stevemessick I would like to contribute but my java days are so far in the past and time right now is so scarce… At least is it possible to stop the plugin to expand the symlink to the real path and just use it? In this way the sdk configuration from fvm should work

fnicastri avatar Jan 27 '23 09:01 fnicastri

@fnicastri the symlink issue is being tracked in #6616, please add thumbs up on the first post if you want to give it to receive attention

jamesncl avatar Sep 01 '23 16:09 jamesncl

Another side effect is that the search feature lists things from .fvm/ folder and causes a big trouble in the UX of that feature :(

I dont want to search classes neither files inside .fvm/ folder and since it has a lot of things, those results hides my own project results image

danielgomezrico avatar Mar 18 '24 17:03 danielgomezrico