dparkins / language-fortran

Syntax highlighting for FORTRAN for atom
MIT License
35 stars 16 forks source link

Indent after closing parenthesis #113

Open phil-blain opened 5 years ago

phil-blain commented 5 years ago

Hi, Great extension! It's really useful for me. One thing that could be improved is the following (though I don't know if this is more on the Atom side itself...)

When I press 'Return' after the closing parenthesis of a subroutine or function call that is continued on multiple lines, the new line is indented to the same indent as the previous line, but it would be better if it would return to the indentation of the line where the subroutine or function was called. An illustration : indent-arguments

This is especially annoying because if you delete all spaces in the newline (line 4 above) and press TAB to indent, the indentation returns to that of the previous line, so the right amount of spaces must be entered manually (or copied from somewhere else) to get the right indentation again.