Read Error Inspection using Telerik JustCode here
JustCode does on-the-fly analysis of the code. It does code analysis when you type
the code and reports to you an error or warning without any further delay.
You can download the Telerik JustCode 60 days trial version with dedicated support
here.
To have high lever perspective of Telerik JustCode, I have just a console
application and put no code in it so far.
JustCode does the analysis along with the Visual Studio inspection. It performs
analysis using some custom inspection.
On the fly you can fix any error reported by pressing Alt+Enter. For example
the following Method2 is trying to pass parameter to Method1 whereas Method1 is defined
without any input parameter. At the time of calling of Method1, on pressing
Alt+Enter, JustCode will suggest possible fixes.
JustCode performs the following inspection on the code:
For C#
- Identical if and else clauses
- Obsolete casts
- Empty statements
- Assignments with no effect
- Unused private members
- Unused parameters
- Unused variables
- Unused namespaces
- Unreachable statements
For XAML
- Missing object element type
- Missing type of an attached property
- Missing property that an attached property
is referring to
- Not found event handlers
- Ambiguous property that an attached
property is referring to
By default JustCode reports errors using the color red
and warnings in green.
Error in Red
If you want to change the default color of reporting you can do it by navigating to:
Tools->Options->Environment
I have changed the error reporting color to blue and now the error is reported in blue
color as below:
Inspection of the code can be done in fours ways.
Via a tooltip over a highlighted expression
Via a info popup
Via a tooltip in the Marker Bar
In the Error list Window
In this way you can perform analysis of code and fix any error reported
using Telerik JustCode. I hope this article is useful. Thanks for reading.