Archive

Posts Tagged ‘Hints’

Code Issues – Member can be static

October 18th, 2012 Comments off

Cause:

Static members are part of a type and non-static members are part of an instance of that type. If you want to have a shared state or a function between different instances of the same type, a static member will be helpful. This code issue informs you about an instance member that can be converted into a static member.

Read more…

Code Issues of the dead code type for members and blocks

October 18th, 2012 Comments off

Here are several of the code issues, which highlight redundant and unnecessary code blocks that may be safely removed for improving code readability.

Read more…

Code Issues hints for declaration and initialization

October 12th, 2012 Comments off

Here are a few simple code issues of a hint type (suggestion) for declarations and initializations.

Read more…

Code Issues hints for expressions

September 28th, 2012 Comments off

Here are the code issues for different expressions. If the fix is applied, following a hint it may optimize the code and/or improve its readability.

Read more…

Code Issues hints for types and members

September 28th, 2012 Comments off

Here are the suggestions (hints) code issues which might improve the readability, clarity and performance of your source code.

Read more…

DXCore Services – Hints

December 14th, 2011 Comments off

The Hints DXCore service provides access to hinting services for showing/hiding Shortcut hints, BigFeedback hints, and other discoverability services.

Read more…

Coderush code editor auto-complete features – Intellassist

October 18th, 2011 Comments off

Overview

The Instellassist feature of DevExpress CodeRush Pro is similar to the built-in Intellisence feature of Visual Studio. It provides additional hints that pop up as you type the code and completes the edited code with an in-scope identifier or other suggestions. These hints help you select code elements or complete the text you need in the context of what you are working on without retyping the entire text.

Read more…

Code Issues – Environment.NewLine can be used

March 19th, 2011 Comments off

Cause:

When working with strings that contain multiple lines of text, you have to add newline characters to your strings, so each line is separated with a line break. Line breaks are often added by inserting a carriage return line feed escape characters. This can cause cross-platform compatibility issues, because your code might end up being compiled under Mono in Unix, for example.

The “Environment.NewLine can be usedCodeRush code issue shows a suggestion to convert escape characters (“\r\n“) inside your code into the constant value defined in .NET Framework. Changing these strings to the Environment.NewLine constant will, firstly, improve the code clarity, so you don’t have to use escape characters, and, secondly, fix potential platforms portability issues – so, you don’t have to be concerned about such problems.

Read more…