You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Vscode workspace and relative path to dart sdk not working as expected #5401
Describe the bug
When using the workspace feature for vscode and the sdkPath for some reason the relative path is not from the workspace file as everything else.
To Reproduce
Steps to reproduce the behavior:
I placed a .code-workspace two folders up the directory tree on my machine than the Dart SDK
I built the SDK and now I pointed it to a folder inside the SDK one where the output happened
See that the message for not finding a valid sdk folder has the relative folder twice:
The SDK configured in dart.sdkPath is not a valid SDK folder: C:\Users\felip_0vh5fa6\Documents\Projects\clones\dart-sdk2\sdk\pkg\analysis_server\dart-sdk2\sdk\out\ReleaseX64\dart-sdk
Expected behavior
I expected the path to be relative to the workspace file on my machine and not one of the folders it opens.
C:\Users\felip_0vh5fa6\.puro\shared\caches\e672b006cb34c921db85b8e2f482ed3144a4574b\dart-sdk\bin\dart.exe info
If providing this information as part of reporting a bug, please review the information
below to ensure it only contains things you're comfortable posting publicly.
General info
Dart 3.6.1 (stable) (Tue Jan 7 09:50:00 2025 -0800) on "windows_x64"
Activity