Skip to content
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

[Feature Request]: Set as global the Flutter version in .fvmrc file #759

Open
yannatk opened this issue Aug 7, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@yannatk
Copy link

yannatk commented Aug 7, 2024

Before creating a feature request make sure the suggestion fit within our principles

Is your feature request related to a problem? Please describe.
As a developer using fvm with VSCode,
I want to fix an issue where the VSCode launch configuration fails when using an old global Flutter version while the project is set to the latest version with fvm,
So that I can ensure consistent behavior between command-line and VSCode environments when running Flutter applications

Describe the solution you'd like
Implement a feature or workaround to ensure that VSCode correctly respects the Flutter version specified in the .fvmrc, even when an old global version is set.

Additional context
Reproduction Steps

  • Set a very old Flutter version (e.g., version 2.x or below) as the global FVM Flutter version.
  • Set the Flutter version for the project to the latest version using .fvmrc file.
  • Attempt to run the app using the VSCode launch configuration.
  • Observe that the app fails to run.
  • Attempt to run the app using the fvm command line and verify that it works correctly.
@yannatk yannatk added the enhancement New feature or request label Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant