fprettify icon indicating copy to clipboard operation
fprettify copied to clipboard

Add automatic breaking lines options

Open lsoranco opened this issue 3 years ago • 0 comments
trafficstars

I have an old legacy code that is poorly formatted. Most of the lines that should be split are a command "write", and I should be able to define some default procedure to breaking certain lines.

For instance:

WRITE (FILE_ID, *) "my very long line of text"

Should trivially become

WRITE (FILE_ID, *) &
   "my very long line of text"

And things like

WRITE (FILE_ID, *) "you really out did yourself in this line of text", arguments, "it just keeps on going"

Should be broken into

WRITE (FILE_ID, *) &
   "you really out did yourself in this line of text", &
   arguments, "it just keeps on going"

Currently the programm just gives a warning, which helps, but is not a sufficient solution

lsoranco avatar Aug 09 '22 13:08 lsoranco