My aggravation is at an all time high right now! I have been attempting to troubleshoot a problem with my local environment with little to no success over the past 72 hours. I have a history with refusing to update software on my computer. I don’t enjoy change and I hate even more with things I’ve grown accustomed to no longer work. For example Github made an update recently that took away the ability to make outside commits with a password and email. Instead I had to create an unbelievable long and and complex token and use that for all future commits. I also had to enable 2 factor authentication and use an outside app on my phone to receive a code to allow me to log into Github. I completely understand the security reasons behind this, however, getting used to the change is highly annoying.
Enter the latest Visual Studio update (or at least the latest one that I’ve updated to). I open VS code and start up a fresh terminal to begin working on, only to find out that the terminal I’m using isn’t my normal WSL terminal that is linked with my workspace. Its now defaulting to Powershell. I attempted to remedy this by switching to back to WSL, but found that the drop down menu no longer contained this option. Upon further research I discovered this little nifty piece of code within the Settings.Json file.
“terminal.integrated.shell.windows”: “C:\\WINDOWS\\System32\\wsl.exe”,
With the implementation of the update the above code is now considered “Deprecated”. Looking further into it I was greeted with this message as well.
This is deprecated, the new recommended way to configure your default shell is by creating a terminal profile in `#terminal.integrated.profiles.windows#` and setting its profile name as the default in `#terminal.integrated.defaultProfile.windows#`. This will currently take priority over the new profiles settings but that will change in the future.
I’m currently still looking into this. As of right now I still haven’t figured out how to get my workspace back. For the time being I’ve taken to simply trying to make due with the powershell terminal. If anyone reading this would like to help me solve this dilemma, It would be greatly appreciated. Until then I will be making due and sulking anytime a new patch or update gets released.