VSCode Tips

VSCode 插件 C/C++: C/C++ IntelliSense, debugging, and code browsing. Git History: View git log, file history, compare branches or commits GitLens: GitLens supercharges the Git capabilities built into Visual Studio Code. It helps you to visualize code authorship at a glance vi more ...


vscode语法渲染问题ifdef代码灰色

Introduction vscode编辑器在出现#ifdef代码块的时候,会默认认为这部分代码没有开启,从而不对这部分代码进行语法渲染。如果你代码里这部分内容比较多,那么代码阅读将变得非常困难。 本文介绍了在官方github issues里别人提出的解决方案。 修改插件 语法渲染插件是: cpptools more ...