-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Testing code lenses don't show for remote sessions to a directory symlink. #7443
Comments
Hi Don,
To be more explicit, I do the following:
1. Open Windows Terminal to start WSL,
2. conda activate APT (to go into my the conda environment)
3. cd to the project folder
4. enter "code ." to start VSCode
I also have the Remote - WSL v0.39.5 Extension installed.
Is what you mean when you say open VSCode inside WSL?
Thanks,
Phil
…On Tue, Sep 17, 2019 at 12:35 PM Don Jayamanne ***@***.***> wrote:
Choose the WSL Conda python interpreter
Please note, if using wsl you'll need to open VSCode inside wsl using the
remote extension in VSCode.
i.e.wsl is supported (by then python extension) only when VSCode is
launched inside wsl using remote extensions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#7443?email_source=notifications&email_token=AB4B6XWHNXPAMQGX3YFXV5LQKEWOVA5CNFSM4IXUGMY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD65U57A#issuecomment-532369148>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB4B6XS56E7NW2APUIFL2UTQKEWOVANCNFSM4IXUGMYQ>
.
|
My colleague showed me another way to start VS Code with WSL, and in this way, the code adornments become available:
Still unsure why this method works for showing the adornments, but the |
I think I figured it out. The problem has something to do with running When I |
Thanks for letting us know about this, @yphillip. I was able to reproduce the problem via both remote-WSL and remote-SSH (to a linux host). I was not able to reproduce this with "code ." directly on linux. We will investigate further. ReproTo reproduce:
Via remote-WSL or remote-SSH, the code lens for the test does not show up. (Note that the test does show up in the test explorer on the left.) Both remote sessions work correctly if |
Note that this may also be a problem with upstream VS Code, rather than the extension. We'll figure that out. |
Same issue here. No adornments for |
Same here, I do not know what is WSL ad I do not have any symbolic link in the path. I am in conda python 3.8 environment under mac catalina. Edit: I really do not know what happened, these |
In our upcoming test provider we won't have codelenses, but there will be gutter icons which do work under e.g. WSL. |
Environment data
Expected behaviour
I am using python in a conda environment in WSL. I configured VS Code to use the correct WSL python interpreter, and I expected that the code adornments would be available.
Actual behaviour
VSCode discovers the test and it can be run , but there is no visible adornment.
WSL (no code adornments):
Interestingly, I installed conda/python on Windows, and when I switch over to that interpreter in VS Code, the code adornments are available.
Windows (code adornments available)
Steps to reproduce:
vs.
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)The text was updated successfully, but these errors were encountered: