Microsoft's Visual Studio team blogged about a release candidate for Update 2 of its Visual Studio 2015 toolsuite.As is usually the case with updates, this one features mainly "reliability and performance improvements," according to John Montgomery, Director of Program Management for Visual Studio, in a blog. There are a few new features being trotted out with this release for users to check out as they become more refined in future releases: Some of the more significant fixes includes crashes "due to null and/or invalid pointer reads" and just when opening a solution; errors when opening VS with ASP.Sonar Lint is free, open source, and available in the Visual Studio Gallery.
About the Author You Tell 'Em, Readers: If you've read this far, know that Michael Domingo, Visual Studio Magazine Editor in Chief, is here to serve you, dear readers, and wants to get you the information you so richly deserve.
What news, content, topics, issues do you want to see covered in Visual Studio Magazine?
This operation automatically updates the rulesets of the solution and attaches the solution to the required Roslyn analyzers.
Using the same value on either side of a binary operator is almost always a mistake.
I personally suggest filling the file with quotes, news, or something more useful and entertaining that the Tot Ds.
Make the following modifications to the registry: HKEY_CURRENT_USER\Software\Microsoft\Dev Studio.0\Text Editor\Tabs/Language Settings\C/C File Extensions=cpp;cxx;c;h;hxx;hpp;inl;tlh;tli;rc;rc2;cc;cp HKEY_USERS\S-1-5-21-1219703950-274334628-1532313055-1335\Software\Microsoft\Dev Studio.0\Build System\Components\Platforms\Win32 (x86)\Tools-bit C/C Compiler for 80x86 Input_Spec=*.c;*.cpp;*.cxx,*.cc,*HKEY_USERS\S-1-5-21-1219703950-274334628-1532313055-1335\Software\Microsoft\Dev Studio.0\Build System\Components\Tools\enus".
The following macros make it easy to add reminders which are displayed when code is compiled. ) // Statements like: // #pragma message(Reminder "Fix this problem!
You can double click on a reminder in the Output Window and jump to the line. ") // Which will cause messages like: // C:\Source\Project\main.cpp(47): Reminder: Fix this problem! Note that you can NOT use the // words "error" or "warning" in your reminders, since it will // make the IDE think it should abort execution.
In the case of logical operators, it is either a copy-paste error and therefore a bug, or it is simply wasted code, and should be simplified.
Rule S1764 Performing a null-check before referencing an object is a good practice, but when either the equality operator in the null test or the logical operator that follows it is reversed, it leads to a guaranteed null pointer dereference.
(in the directory where Visual Studio is installed.) The format of that file is fairly complicated, so I suggest just copying the examples already in the file.