In this post, let us have a look on different ways of error inspection using Telerik Just Code. List of inspection can be performed are as follows.
- Identical if and else clauses
- Obsolete casts
- Empty statements
- Assignments with no effect
- Unused private members
- Unused parameters
- Unused variables
- Unused namespaces
- Unreachable statements
I have a very simple code as below,
And if you would see carefully there is a compile time error in the code because of string value assignment in integer type variable.
Telerik JUST CODE reports above error in many developer friendly ways and at the same time helps developers to resolve the issue.
If you are having JUST CODE installed you will get error messages in different ways. JUST CODE provides inspection details in many ways. They are listed as below,
ToolTip below the highlighted code
If you hover over line causing error, in the tooltip you will get the error message.
ToolTip in the Marker Bar
At the right hand side you will find Marker war.
If you hover over marker you will get the error detail as below,
In Error List
At the bottom you will find r error list. All the error and warning will be listed there.
In next post we will see some other features of Just Code. I hope this post was useful. Thanks for reading.Follow @debug_mode