You can configure how lines of code are indented in the editor. This also depends on whether you are using Smart edit mode.
With Block indenting selected, pressing Enter after an XML documentation comment (which starts with *>>comment) positions the cursor on the new line in the same column where the previous line starts, and starts the line with the tag for an XML documentation comment.
With Smart indenting selected, the IDE attempts to determine the correct indentation for the specific area of code and code construct.
Only applies to imperative code (code in the procedure division or in a method) in the A/B area. Indenting in other areas of the program or in other COBOL areas in the editor behaves as when Block is enabled.
With Smart indenting selected, pressing Enter after an XML documentation comment (which starts with *>>comment) positions the cursor on the new line in the same column where the previous line starts, and starts the line with the tag for an XML documentation comment.
For all modes, when you press Enter and create a new line, any blank spaces between the cursor and the following text are removed.