-
Notifications
You must be signed in to change notification settings - Fork 500
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
[Preview-2020.3.2] Enable Legacy Code Lens not working #2603
Labels
Comments
@nohwnd do you want to take a look at this one? |
Sure :) |
From @mrboring's logs, the correct values are making there way over to PSES: [Trace - 1:12:41 PM] Sending notification 'workspace/didChangeConfiguration'.
Params: {
"settings": {
"powershell": {
// ...
"pester": {
"enableLegacyCodeLens": true,
"outputVerbosity": "FromPreference"
}
// ... |
SydneyhSmith
added
Area-Pester
Issue-Bug
A bug to squash.
and removed
Needs: Triage
Maintainer attention needed!
labels
Apr 2, 2020
ghost
added
the
Status: In PR
label
Apr 3, 2020
Thanks for the detailed repro. The setting was renamed last minute, and one place was missed. The loading module issue is my fault, added falling through to any Pester when the legacy option is disabled but Pester 5 is not found. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System Details
System Details Output
Issue Description
Whilst testing Preview-2020.3.2 with
Enable Legacy Code Lens
enabled, I noticed thatRun test | Debug test
appeared against eachIt
command. Also, when running tests, I got the following warning:Here are my steps to reproduce the issue:
PowerShell-7.0.0-win-x64.msi
Install-Module pester -Scope CurrentUser
VSCodeUserSetup-x64-1.43.2.msi
settings.json
:PowerShell-Preview-2020.3.2.vsix
Open with Code
Test.Tests.ps1
powershell.pester.enableLegacyCodeLens
was set totrue
Run test | Debug test
was available against allIt
commandsRun tests
aboveDescribe
resulted in:Note: The above tests ran, but only after I had manually imported Pester (4.10.1).
Expected Behaviour
Not to see
Run test | Debug test
appeared against eachIt
command.Not to see a warning about Pester 5.0.0.
Actual Behaviour
I see
Run test | Debug test
appeared against eachIt
command.I see a warning about Pester 5.0.0.
Attached Logs
PowerShell Editor Services Log.txt
ms-vscode.powershell-preview-2020.3.2 - Log.zip
The text was updated successfully, but these errors were encountered: