vscode icon indicating copy to clipboard operation
vscode copied to clipboard

One conda envs with two titles (on remote server)

Open Draudnaut opened this issue 1 year ago • 2 comments

Does this issue occur when all extensions are disabled?: No

  • VS Code Version:

图片

  • OS Version:

Host: windows 11 23H2 22631.3085

Remote: Ubuntu 22.04 Steps to Reproduce:

  1. create a new conda enviroments and set the vscode to the python in the enviroment in an remote server ()
  2. you could see this:

图片

patch fool is a user defined conda envs name and base is the default envs in conda.

Draudnaut avatar Feb 13 '24 05:02 Draudnaut

This looks like your remote server's Bash prompt which might be configured in ~/.bashrc. It is not related to VS Code from what I see.

chrmarti avatar Feb 13 '24 15:02 chrmarti

Yes, I configure my ~/.bashrc with conda env variables.

图片

Conda.sh in this map states like this:

图片

I think this bug comes with the conda.sh?

Draudnaut avatar Feb 18 '24 21:02 Draudnaut

It happened to me also. After an update I got the same issue as #204956 when I opened vscode from the menu. I got it "fixed" by opening it from terminal, but I get the double env titles, which the right one is the current env. I don't think it is neither a conda bug, neither my bashrc because I haven't touched it years now.

OS: Debian 12

aggelosmots avatar Apr 21 '24 10:04 aggelosmots

Thanks for your feedback. It is just what happened to me. Is issue #2049546 related to this?

Draudnaut avatar Apr 21 '24 10:04 Draudnaut

As I mentioned I encountered the #2049546 issue and because I needed to work with conda env the only solution was to code . in my path in terminal, which enabled the conda env but with the double titles. The #2049546 still happens to me whhen I open vscode from menu

aggelosmots avatar Apr 21 '24 10:04 aggelosmots