You can configure how lines of code are indented in the editor. This also depends on whether you are using Smart edit mode.
               
               	 
            
 
            	 
             
               		
               - In the IDE, click 
                  		  Tools > Options. 
                  		
               
  
               		
               - Expand 
                  		  Text Editor > Micro Focus COBOL and then click 
                  		  Tabs. 
                  		
               
  
               		
               - Specify an option in the 
                  		  Indenting section: 
                  		  
                  
 
                     			  
                     				
                     - None 
                        				
                     
  
                     				
                     -  
                        				  
                        
 
                           					 
                           - With 
                              						Smart edit mode disabled, no indentation occurs when you press 
                              						Enter. The cursor moves to column 1 at the beginning of the new line. 
                              					 
                           
  
                           					 
                           - With 
                              						Smart edit mode enabled, no indentation occurs when you press 
                              						Enter. The cursor moves to the new line at the start of the current area. Any blank spaces between the cursor and the following
                              text are removed. The 
                              						Smart edit mode rules for indenting comments in the right-hand area apply. 
                              					 
                           
  
                           				  
                        
 
                        				
                       
                     			  
                     			  
                     				
                     - Block 
                        				
                     
  
                     				
                     -  
                        				  
                        
 
                           					 
                           - With 
                              						Smart edit mode disabled, pressing 
                              						Enter indents the text and positions the cursor on the new line in the same column where the preceding line starts. When you press
                              
                              						Enter in the right-hand area, this moves the cursor to the new line in the same column where the preceding line starts - either
                              in the A/B area or in the right-hand area. 
                              					 
                           
  
                           					 
                           - With 
                              						Smart edit mode enabled, pressing 
                              						Enter indents the text and positions the cursor on the new line in the same column where the preceding line starts. Any blank spaces
                              between the cursor and the following text are removed. The 
                              						Smart edit mode rules for indenting comments in the right-hand area apply. 
                              					 
                           
  
                           				  
                        
 
                        				
                       
                     			  
                     			  
                     				
                     - Smart 
                        				
                     
  
                     				
                     -  The 
                        				  Smart option only applies to the code in the A/B area. For the other COBOL areas the functionality is the same 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. 
                           				  
                        
 
                        				  
                         
                           					 
                           - With 
                              						Smart edit mode disabled, pressing 
                              						Enter in the A/B area or in the right-hand area indents the text and positions the cursor in the same column where the preceding
                              line starts. 
                              					 
                           
  
                           					 
                           - With 
                              						Smart edit mode enabled, pressing 
                              						Enter indents the text and positions the cursor in the same column where the preceding line starts. Any blank spaces after the
                              cursor are removed. The 
                              						Smart edit mode rules for indenting comments in the right-hand area apply.