Conversation
09cfa4b
to 3ef57f9
Compare I definitely thought we had an issue (possibly closed) for this...it's come up at least, a number of times. @JustinGrote any idea where that went? |
c5a309c
to 3bb69d7
Compare This makes them way less annoying. I'm ok taking a dependency on untildify as it's a very simple package, and the Python extension for VS Code also uses it. However, it must remain at v4.0.0, as the latest version, v5.0.0, is pure ESM and therefore cannot be loaded by VS Code. https://.com/sindresorhus/untildify/releases/tag/v5.0.0
Those were overdue!
So we can remove weirdly placed `validateCwdSetting` calls and instead use it exactly when required.
This cleans up how we remember which workspace the user chose, and sets us up to save that information not in the `cwd` setting. Refactors and fixes `validateCwdSetting` to treat the empty string as undefined for `cwd`.
3bb69d7
to e63bdc5
Compare Uh oh!
There was an error while loading. Please reload this page.
Maybe you are thinking of #3827 which was closed? |
e63bdc5
to c0594bd
Compare Hm, that wasn't it @JustinGrote. Maybe it was just on Discord. Anyway, this resolves #4557 now since it no longer writes the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Uh oh!
There was an error while loading. Please reload this page.
@JustinGrote awesome! Please do, I'll have a out soon. Main thing with multi-root workspaces is that this is only supporting putting the name of the workspace as the |
cwd
and additionalPowerShellExes
~
, ./
and named workspace folders in cwd
Uh oh!
There was an error while loading. Please reload this page.
So it's not just automatic, but can be done easily (and is an appropriate value to sync with workspace settings).
And Mocha's debugger hook-up timeout to 30 seconds. Now unit tests can be debugged easily, and the timeout is still appropriate enough for CI.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This makes them way less annoying. I'm ok taking a dependency on untildify as it's a very simple package, and the Python extension for VS Code also uses it. However, it must remain at v4.0.0, as the latest version, v5.0.0, is pure ESM and therefore cannot be loaded by VS Code.
https://.com/sindresorhus/untildify/releases/tag/v5.0.0
Now also handles paths relative to a single workspace folder, or understands the name of a workspace folder in multi-root workspaces. Resolves #4557.