1

I'm trying to have inside VScode for Windows 10 (Microsoft Windows [versão 10.0.19045.4474]) options to change the terminal from default to another one such WSL2 Ubuntu 24.04. I have installed powershell 7.4.2 MSI version:

Powershell link for version 7.4.2

Powershell 7.4.2

Checked with:

$PSVersionTable 

Get the following output:

enter image description here

I have checked WSL version:

wsl -l -v

enter image description here

Checked the default distro (padrão=standard - PT-BR - US):

wsl --list

enter image description here

I have saw the default one with the following command:

wsl -l -v

enter image description here

Set to default Ubuntu 24.04 and listed:

wsl --setdefault DISTRO-NAME

wsl --setdefault Ubuntu 24.04

wsl -l -v

Checked if changed to Ubuntu 24.04 and worked fine!

enter image description here

Have done a list again:

wsl --list

enter image description here

Now I figure about a recommendation to install a VScode extension:

VScode extension WSL

Have done the install:

enter image description here

I have discovered the down arrow in the output section and you can choose to Ubuntu 24.04 (WSL):

enter image description here

Have done some bash commands:

enter image description here

The problem I facing is that show Windows directories.

enter image description here

In the Windows explorer you can see linux folders and files:

enter image description here

Would like to open a terminal similar this image bellow inside VScode terminal like a native distro (the same way you that you can see in the image above of windows explorer):

enter image description here

2
  • 1
    It looks like you've asked at least 5 different questions. Can you please focus on a single question here? Use the EDIT button to focus your question. Commented Jun 14 at 0:16
  • Point for me the 5 questions so I can fix. I tried to explain in a detailed way. What I want is open a terminal in VScode and see the same way WS2 Ubuntu 24.04. So open like a native distro, without Windows directories. @music2myear
    – Marlon
    Commented Jun 19 at 20:55

0

You must log in to answer this question.

Browse other questions tagged .