Lazarus
Using the Lazarus IDE => Editor => Topic started by: EganSolo on May 14, 2021, 01:16:25 am
Title:
Controlling the format of methods signature. How?
Post by:
EganSolo
on
May 14, 2021, 01:16:25 am
Say I have a method in a class declared as
Code: Pascal
[Select]
[+]
[-]
Type
MyClass
=
Class
Procedure
MyProcedure
(
const
aStr
:
String
;
const
anInt
:
Integer
;
const
aDec
:
Extended
)
;
End
;
Hitting Ctrl+Shift+C autogenerates the method implementation as follows:
Code: Pascal
[Select]
[+]
[-]
Implementation
Procedure
MyClass
.
MyProcedure
(
const
aStr
:
String
;
const
anInt
:
Integer
;
const
aDec
:
Extended
)
;
Is there a configuration setting in the editor that would replicate the layout of the interface method's signature in the implementation, so that I would get:
Code: Pascal
[Select]
[+]
[-]
Implementation
Procedure
MyClass
.
MyProcedure
(
const
aStr
:
String
;
const
anInt
:
Integer
;
const
aDec
:
Extended
)
;
Alternatively, is there a setting that would prevent the editor from reformating the signature after I format it manually to my liking?
Thanks!
TinyPortal
© 2005-2018