close
Skip to content

[BUG] Do not warn when VS Code settings management is disabled #1048

Description

@woteska

Description

Our repository supports both Android Studio and VS Code, and both .idea and .vscode are intentionally version-controlled.

We explicitly disable FVM's VS Code settings management:

{
  "flutter": "3.44.2",
  "updateVscodeSettings": false
}

VS Code already uses the stable FVM symlink:

{
  "dart.flutterSdkPath": ".fvm/flutter_sdk"
}

However, every fvm use prints this warning locally and in CI:

[WARN] You are using VSCode, but fvm is not managing VSCode settings for this project. Please remove "updateVscodeSettings: false" from .fvmrc

This is intentional configuration, not an error. The warning creates noise and may incorrectly suggest that the project or CI is misconfigured.

Expected behavior

When updateVscodeSettings is explicitly false, FVM should not modify VS Code settings and should not warn about not managing them.

If removing the warning by default is not considered appropriate, please add an .fvmrc option to suppress it explicitly, for example:

{
  "flutter": "3.44.2",
  "updateVscodeSettings": false,
  "warnOnUnmanagedVscodeSettings": false
}

Environment

  • FVM: 4.1.2
  • Flutter: 3.44.2
  • IDEs: Android Studio and VS Code
  • Affected environments: local development and CI

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage:confirmedCurrent defect supported by code, package evidence or reproduction; see validation limits.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions