Building, Testing and Debugging Visual Studio C++ project in Visual Studio Code

Notice

Starting from 2021/08/20 (as the result of this PR) Visual Studio Code documentation has been updated to include information about how to run Visual Studio Code outside of Developers Command Prompt.However, if you are interested in a story of how this happened or you need to run and debug Visual Studio tests using vstest.console.exe right from Visual Studio Code then, I invite you to continue reading the post.

Introduction


I started to code in C/Win32 API in the university and I continue to do this almost every day. I am not a professional C/C++ developer nor Windows internals specialist, however I like to write in C. Why I am telling this? Because it won’t be a surprise, all my C/C++ projects were always written in Visual Studio with all it’s goodies like IntelliSense, projects support and extensions like Visual Assist.

However, in a last few years working with .NET Core I’ve found myself doing almost all my coding in Visual Studio Code and to be honest I get used to its simplicity and blazing speed. So for me it was kind of logical and full of sense step to move my C/Win32 API development from Visual Studio to Visual Studio Code, and having previously a slick transition experience in .NET, I was expecting somewhat similar but it turned out to be not that simple, especially if you don’t want to cut off Visual Studio completely.

In this post I would like to share how you can configure Visual Studio Code to build, test and debug Visual Studio C++ project.

Continue reading “Building, Testing and Debugging Visual Studio C++ project in Visual Studio Code”

“html-escape” – a contributor’s story about Visual Studio Code extension

Have you ever find yourself typing ‘Escape html online‘ in Google search?

I’ve had πŸ™‚

Recently I got tired of these searches and decided to look for an extension to Visual Studio Code, which I use for writing. This is where I met html-escape by Raymond Camden.

I used it for quite awhile a come up with some ideas of how to make it better. The problem was, these improvements required significant design changes. This has made me decide to start contributing.

In this post I invite you to join me in making these design changes. We will take a look at existing application feature set, get acquainted with some of Visual Studio Code concepts and theory, discuss application requirements, create application design (no architectural diagrams) and then literally implement all existing application features fitting them into our design.

Interested? Then let’s start.

Continue reading ““html-escape” – a contributor’s story about Visual Studio Code extension”