K
K
krka922020-01-23 11:32:08
Delphi
krka92, 2020-01-23 11:32:08

How can I set the formatter to ignore indentation within a line of code?

Delphi 10.3
Have sample code

AddField(_EXT_ID,'ВнешнийИД','N(18)');
AddField('StreetName','НаименованиеУлицы','S(50,V)');
AddField('LastUpdate','ПоследнееОбновление','D(DT)');
AddField('StreetType','ТипУлицы','S(20,V)');
AddField('Code','Код','S(20,V)');

It would be desirable, that arguments settled down under each other. For example like this:
AddField(_EXT_ID,      'ВнешнийИД',           'N(18)');
AddField('StreetName', 'НаименованиеУлицы',   'S(50,V)');
AddField('LastUpdate', 'ПоследнееОбновление', 'D(DT)');
AddField('StreetType', 'ТипУлицы',            'S(20,V)');
AddField('Code',       'Код',                 'S(20,V)');

When I apply formatting (Ctrl+D), the code aligns like in the first example.
This is a normal situation, but there is no feature that will leave it as in the second example?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
Hemul GM, 2020-01-23
@krka92

You can try setting up the formatter in CnPack. There he allows himself to be finely tuned. Ctrl+W combination.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question