[fpc-pascal] CodeTools complete code

Hairy Pixels genericptr at gmail.com
Tue Oct 4 09:47:29 CEST 2022



> On Oct 4, 2022, at 2:40 PM, Mattias Gaertner via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> 
> If you don't want the comment above the class, use
> 
> with CodeToolBoss.SourceChangeCache.BeautifyCodeOptions do 
> begin
>  ClassHeaderComments:=false;
>  ClassImplementationComments:=false;
> end;
> 
Great thanks.

> New procedure bodies are added behind global variables, so they can
> access them.

Ok so this must apply to program files only. I can live with that I guess. It’s maybe best to make it an option. What do you think? Just because it’s an assumption the global variable will be used at all. There can also be many global variable sections so that confuses the concept some also.

> At the moment when a class has no method body yet, codetools uses the
> setting for the procedures. (It would be better, if this has a separate
> setting).
> 
> ForwardProcBodyInsertPolicy

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list