⬆️ ⬇️

The first version of the Cppcheck integration module in Visual Studio with open source has been released.

Hello, ABBYY blog editor is talking to you again. The other day, the developers came to me and brought news from the vast expanses of GitHub, which has no direct relationship to our company, but, according to them, will delight all of our developers, and at the same time many not ours. Colleagues they have already told in the kitchen, for the rest - this post.



We continue the spontaneous serial about static code analysis in C ++ (previous series: one , two , three , four , five , six , seven ). Until recently, the free open source analyzer Cppcheck was distinguished by a fatal flaw - there was no module for its integration into Visual Studio.



Meet on Gitkhub the first version of such a module, the development of which has been going since last autumn.



Like the Cppcheck analyzer itself, the module is free. Module code is distributed under the MIT license .

')

The module allows you to check not only the entire project by the command from the main menu, but each file automatically immediately after saving it - thanks to this, each file with the code is rechecked after each editing and warning helps to avoid errors at the very early stage.



While supported by Visual Studio versions 2012 and 2013 with the exception of Express Edition.



It only remains to add that the first version is extremely minimalist (just like this post). Your suggestions for improvement, error messages, and especially pull requests will be very useful.

Source: https://habr.com/ru/post/211765/



All Articles