

To enable make errors and warnings in the Problems panel, add “problemMatchers”: to your makefile configuration in settings.json, like this: "nfigurations": [ With this latest release of the Makefile Tools extension, you’ll see all of make’s errors and warnings in the Problems panel after you build your program. Until now, there wasn’t a way to see those warnings in the Problems panel. Now, let’s say you don’t have any compiler errors, but make displays a bunch of warnings when you build your project. To fix the problem, click on the lightbulb and choose from a list of Quick Actions. Selecting the problem brings you to the line of code generating the error or warning. VS Code uses a problem matcher to display the errors and warnings in the Problems panel.įor example, if you’re missing a semi-colon in your source file, you’ll see the compiler error in the Problems panel. If you’ve used the C++ extension for VS Code, you’re probably familiar with the Problems panel, where you can navigate through a list of compiler errors and warnings found in your project. The December 2021 update of the Makefile Tools extension for Visual Studio Code is here, bringing you support for problem matchers (to easily view errors and warnings in the editor), the ability to generate a compile_commands.json file for your project, and a bunch of other enhancements and bug fixes! To find out more about all the enhancements, check out our release notes on GitHub.
