Sonjli 2 Posted June 13 Hello, I have a strange behaviour when I add a new parameter in a method. My method has 2 params like this procedure TForm1.Test( const par1: Integer; const par2: string ); begin // ... end; I add the new param with The result is a wrong formatted code: procedure TForm1.Test(const Par1: Integer; const Par2: string; const NewParam: Integer); begin // end; The more params there are, the worst is the formatting... I would like to maintain the same formatting for my params. Any hint? Thanks, Eddy Share this post Link to post
Uwe Raabe 1360 Posted June 13 MMX uses an internal formatting scheme which is not adjustable. You need to re-format your code manually or with the IDE formatter. 1 Share this post Link to post
Sonjli 2 Posted June 14 Ok Uwe. If you don't want to want to solve this simple issue for a poor, poor programmer, I'll do it myself Seriously, I understand. So I found a configuration for the standard formatter I share for others if they find it useful: This solve my terrible () problem wtih MMX. Thanks Uwe Share this post Link to post
TheDelphiCoder 2 Posted June 22 @Sonjli You could also just add the new paramater(s) in either the declaration or the implementation of the method. Then hit STRG + ALT + Shift + P and the other one will be updated to the just made changes! 1 Share this post Link to post