Skip to content

Disable addSdkToTerminalPath not working #4545

@quyenvsp

Description

@quyenvsp

Describe the bug
When disable addSdkToTerminalPath it still add path to Integrated terminal.

To Reproduce
Steps to reproduce the behavior:

  1. Setting dart.addSdkToTerminalPath to false
  2. Close VSCode then open again (even restarted computer)
  3. Run in Integrated terminal which flutter
  4. See result, it still add default flutter location to Path

Expected behavior
Don't touch anything in PATH when addSdkToTerminalPath disabled.

Screenshots
Problem - it still select one version in many version at Sdk Paths then set to ahead $PATH
problem

Normal - when not open Flutter project, it is correct $PATH which set in system variables
normal

Please complete the following information:

  • Operating System and version: Windows 11
  • VS Code version: 1.78.2 (user setup)
  • Dart extension version: v3.64.0 (tried pre-release, same issue)
  • Dart/Flutter SDK version: Dart 3.0.0 / Flutter 3.10.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions