In gnat studio community, how to capitalize reserved words

Edit > Preferences > Ada, then this won’t take:


want this effect with indent which this doa block editor does not honor:

PROCEDURE Main IS
BEGIN
– Insert code here.
Null ;
END Main ;

I also want a space before the semi-colon terminal.

On another matter, when I load my JANUS/Ada95 source as text files into the src directory of my project name, gnat ignores them as JACE just another C editor.

On yet another matter, gnat has no support hooks to invoke compilers other than their GNU stuff, but I guess to be expected from the turf.

I would guess your files are not recognized as Ada files. You would have to edit the project file, and changing the naming conventions to match those of Janus/Ada (no idea what those are, so I can’t really help here sorry)

Files are ANSI text with .adS and .adB suffixes. Maybe put in an incorrect subdirectory named “src” of the project, but don’t know where to put.

I don’t use GNAT Studio (so I don’t know what your issue is), but I do use gnatpp from the terminal to handle formatting. Is your environment otherwise OK? Can you build with gcc and gnatmake?

Usually source files are saved in “src” subfolder of the gpr file, though it can be changed.
If you open the project, clicking project property, Source, Main, is your programs listed there?
https://docs.adacore.com/live/wave/gps/html/gps_ug/projects.html#the-project-properties-editor

No, only Main is there.

If you’re on a case-sensitive system (Linux), you’re going to need to change the naming conventions (by default, GNAT expects lower-case file names).

Yes of course Unix/Linux is doa on that issue. But Windoze is still DOS where that is not an issue. Where to find my files was a secondary question to that of the subject line of how to capitalize reserved words of Ada 95 in source code, with example.

Getting back to my first question in the title, I want all Ada keywords to be captitalized when I start writing a new component in gnat studio aka dipterid stupidio.

I also want the semi-colon terminator “;” to be space&semi-colon as " ;". Reason: it is easier for me to scan code and see where I missed a terminator if the terminatior is set off by a space first.

Reposting the above because I did not receive a germane answer.