How to Format C/C++ Code in VSCode on Windows and Linux

Since the day that Microsoft released Visual Studio Code, I had installed it on Windows instead of notepad++. Because VS Code does not have a built-in code formatter or beautifier by default, I was eager to see a more powerful VS Code with extensions. Now there it is. We can find many useful extensions on Visual Studio Marketplace. Recently I was writing C/C++ code on Ubuntu and found the extension Clang-Format for beautifying C/C++ code. Let’s take a glimpse of how to make clang-format works with Visual Studio Code on Windows and Linux.

Read more

Experiencing Visual Studio Code

At the recent Build conference, Microsoft released Visual Studio Code, which is an Atom-like cross-platform code editor, supporting Windows, Mac and Linux. Similar to Sublime Text and Atom, Visual Studio Code includes powerful features, such as syntax highlighting, keyboard support with customizable bindings, command palette, IntelliSense and so on. It is so exciting to see Microsoft getting started to embrace open source development and provide free software. Is it worth using Visual Studio Code for development? Let’s try it out.

Read more