Thank you for the latest Gnat Studio improvements and release schedule
It can be quite a pain to reformat comments when making a small change and so having format file do it for you was rather neat.
I used to use 2 spaces
usual comment that will wrap
Then 3 spaces/Ada Indentation for any lines that I didn't want to wrap and then go back to two spaces for wrapping again.
wrapping comment
this would wrap upwards upon "format file"
this would not wrap up
This works with Gnat Studio 26.0w but not with 2026.2. Is there any wrapping functionality for comments in GNAT Studio 2026.2 or might this functionality re-surface at some point?
I have this in my .gpr which may be relevant
package Pretty_Printer is
for Default_Switches ("ada") use ("--eol=unix",
"--call-threshold=1",
"--par-threshold=1",
"--no-compact",
"--vertical-enum-types",
"--vertical-named-aggregates",
"--vertical-array-Types",
"--vertical-case-Alternatves",
"--comments-fill",
"--comments-special",
-- "--wide-character-encoding=8",
"--separate-loop-then",
"--separate-then",
"--jobs=1");
end Pretty_Printer;
Thank you for the latest Gnat Studio improvements and release schedule
It can be quite a pain to reformat comments when making a small change and so having format file do it for you was rather neat.
I used to use 2 spaces
Then 3 spaces/Ada Indentation for any lines that I didn't want to wrap and then go back to two spaces for wrapping again.
This works with Gnat Studio 26.0w but not with 2026.2. Is there any wrapping functionality for comments in GNAT Studio 2026.2 or might this functionality re-surface at some point?
I have this in my .gpr which may be relevant