NET Refactor - Wrap Long LineWrap Long Line is a feature of NET Refactor that will automatically wrap long lines of code. This is especially useful in wrapping into a coninued line a method definition line where the signature is very long. This feature is useful for both VB.NET, because of its verbosity, and C# because of the extensive indentation sometimes caused by the requirement for squiggleys ("{ }").
To use this feature, simply place the cursor anywhere in a line that you want to wrap. Then, select the Continue Long Line menu option.
The following line is a short example of a line of code that you might want to wrap. It will wrap in this window but in the IDE it would be a very long line.
Private Function CreateNamespaceString(ByVal classcode As String,ByVal caption As String, ByVal lang As String) As String Implements IRefactor.CreateNamespaceString
|
Once you process this line through the Continue Long Line, it will look as follows.
Private Function CreateNamespaceString( _
ByVal classcode As String, _
ByVal caption As String, _
ByVal lang As String) _
As String _
Implements IRefactor.CreateNamespaceString
|
Procedure definition lines are not the only lines that can be wrapped. Other long lines with ",", " And ", " Or ", and " & " in VB.NET and ",", "||", "&&", and "+"(not +=) in C# can be wrapped.
Try NET Refactor Free for 15 days or purchase now by clicking Download or Purchase.
To view additional detail about NET Refactor, you can view the help file for NET Refactor on-line, by clicking Show Help File.
Top of Page
|