00:05 How to use VS Code on Windows using Windows Subsystem for Linux (WSL) 01:20 Creating a project in VS Code using WSL 02:31 Connect to Windows Subsystem for Linux (WSL) and open a folder in WSL 03:48 Creating a project folder and writing a simple C++ program using VS Code WSL 05:08 Install g++ compiler using sudo apt-get install g++ command. 06:21 Set all warnings to errors and display them 07:35 Building and running C++ code in VS Code with WSL 08:45 Configuring and running C++ code in VS Code WSL
Does this still work? I've tried to go through the steps in the video but VSCode does not let me open a folder in WSL so I am stuck on that step. It also isn't letting me use commands in the terminal?
hi, may I ask how to solve the terminal, because at terminal-> default configuration, mine doesn't prompt me the list of g++ build options, it only showed me 3 options that looked something like this: "C/C++: cl.exe build active file" I already have all the extensions installed
Thanks for the video. I followed your instructions, however I don't have g++ on my list of compilers. Just Gulp, Grunt and Jake tasks are listed. What do I need to do to get the g++ compiler to show up? I did install WSL and g++ in Ubuntu. Thanks in advance.
Never mind. It seems that when I installed the extensions, i must not of had the remote connection to Ubuntu at the time. When I did make a connection later, I was notified that the extensions needed to be installed in Ubuntu. Once I did that, it fixed it.
Only thing that is different on my system(linux mint) is that the "[1] + done" is on the same line(no spacing between) as the string i printed out. Would like to change that.
I made a directory in Windows and the rest worked out ok. Although why Run active file, under the terminal heading didn't work I suppose is another adventure in peculiarity. Anyhow, despite my frustration, thanks for the video, it was helpful.
i only had to download one thing to get visual to work in Microsoft, why is this so overly complicated ? its almost like they don't want people to switch to linux...
00:05 How to use VS Code on Windows using Windows Subsystem for Linux (WSL)
01:20 Creating a project in VS Code using WSL
02:31 Connect to Windows Subsystem for Linux (WSL) and open a folder in WSL
03:48 Creating a project folder and writing a simple C++ program using VS Code WSL
05:08 Install g++ compiler using sudo apt-get install g++ command.
06:21 Set all warnings to errors and display them
07:35 Building and running C++ code in VS Code with WSL
08:45 Configuring and running C++ code in VS Code WSL
Does this still work? I've tried to go through the steps in the video but VSCode does not let me open a folder in WSL so I am stuck on that step. It also isn't letting me use commands in the terminal?
They deleted it from the WSL commands, but its still in the general command palette.
Thanks Brian! You saved me and friend for one of our classes. We would have died if we didn't see your video
DR BRIAN, YOU HAVE SAVED ME, THANK YOU.
Thank you, it helps me understand, why my code don`t compile on Ubuntu under WSL. Very concise and helpful:).
I have install the extension and done all the steps but i am not getting the green button of wsl in bottom
Good vid, pretty insightful, thanks for the upload, earned my sub!
hi, may I ask how to solve the terminal, because at terminal-> default configuration, mine doesn't prompt me the list of g++ build options, it only showed me 3 options that looked something like this: "C/C++: cl.exe build active file"
I already have all the extensions installed
install code runner
Thanks for the video. I followed your instructions, however I don't have g++ on my list of compilers. Just Gulp, Grunt and Jake tasks are listed. What do I need to do to get the g++ compiler to show up? I did install WSL and g++ in Ubuntu. Thanks in advance.
Never mind. It seems that when I installed the extensions, i must not of had the remote connection to Ubuntu at the time. When I did make a connection later, I was notified that the extensions needed to be installed in Ubuntu. Once I did that, it fixed it.
@@jkepps I am facing the same issue, could you detail how you fixed it? Thanks
@@nehamenon8450 To extensions download C/C++, I solved by this.
did you fix it?@@nehamenon8450
Thank you! Very helpful.
sir,in wsl shell:I run "code cproject",why it just open in windows rather than in wsl?how open cproject in wsl directly?
Only thing that is different on my system(linux mint) is that the "[1] + done" is on the same line(no spacing between) as the string i printed out. Would like to change that.
I'm stuck at the open folder in wsl, it talks about distro now
my wsl vs code window changes to normal vs code window when my I choose Any local folder .
please help
VS code: include file not found in browse. path.?
Hey , good video ! I have one qustion , what operation system you maining ( Windows , linux , macos)?
I made a directory in Windows and the rest worked out ok. Although why Run active file, under the terminal heading didn't work I suppose is another adventure in peculiarity.
Anyhow, despite my frustration, thanks for the video, it was helpful.
hi , how to remove the unwanted text form the output window, how to stop the vscode from generating an .exe file automatically,
hi, for unwanted excessive txts I guess u can just type clear.
Make sure to do a `sudo apt install gdb` and `sudo apt-get update` if you don't have gdb installed or else vscode will complain with an error
Thank you !!!!!!!
Thank you
thanks
i only had to download one thing to get visual to work in Microsoft, why is this so overly complicated ? its almost like they don't want people to switch to linux...
Thank you, very helpful!!