FIX: VSC source control show unknown files to commit to branch

Committing 10k+ files to a branch you haven’t heard of (or even main/master)? The tutorial can work for other tools using git as well. Do you see a list of changes in Visual Studio Code Source Control? A list of changes that don’t seem familiar to you, like below? Directories, git, source control and unknown … Continue reading FIX: VSC source control show unknown files to commit to branch

FIX: ‘else’ is not recognized as cmdlet Visual Studio Code debugger

Debugging Visual Studio Code and manually running an if else statement erroring If you look at the piece of code below, you would say this works. This works, but when you run this manually in the Visual Studio Code debugger, you get the following error: else: The term ‘else’ is not recognized as a name … Continue reading FIX: ‘else’ is not recognized as cmdlet Visual Studio Code debugger

How to recover discarded files in Visual Studio Code

How to recover discarded changes in Visual Studio Code A while ago in my first weekly update I already told you about the files I deleted by pressing the Discard All Changes in stead of the Stage All Changes button in Visual Studio Code. Yes, the GUI button… It felt like my heart was being … Continue reading How to recover discarded files in Visual Studio Code

June update 1 – Visual Studio Code and debugging

Starting with something new on my blog! I notice that my work is increasingly focusing on a smaller topic (PowerShell) and that I have less to blog about. I miss blogging, so I came up with the monthly updates.In these updates I want to give an insight into my work & share what I did … Continue reading June update 1 – Visual Studio Code and debugging

FIX: Clone repository to Visual Studio Code does nothing

Git Repository In this tutorial I assume that you have installed Visual Studio Code (or another editor). If not, try installing Visual Studio Code first. It doesn’t matter what repository you use. In my example, I’m talking about Azure DevOps, but it might as well be about Github. I will go through the steps first … Continue reading FIX: Clone repository to Visual Studio Code does nothing

FIX: You are running the system-wide installation of Code Visual Studio by Bas Wijdenes

Make sure you’re running the Code version you expect! I opened Visual Studio Code and I was surprised with the following error message: Visual Studio Code had been updated the day before, so maybe that’s why?I have no idea what the difference is between the user-wide and system-wide version. One of the two will be … Continue reading FIX: You are running the system-wide installation of Code Visual Studio by Bas Wijdenes

Repository and change control in Visual Studio by Bas Wijdenes

Repositories and change control in Visual Studio the basics. The blog post mainly emphasizes PowerShell. This is because I work with PowerShell myself. You can also use this for other scripts. I myself also have a repository for php. When I first started with PowerShell I had a folder in OneDrive where I kept a … Continue reading Repository and change control in Visual Studio by Bas Wijdenes