Bug: Formatter tabs problems with strings

An example
start with

PACKAGE BODY a1
IS
PROCEDURE b11
IS
b VARCHAR2 (200);
BEGIN
b := ‘rueoiwuioweuiorwe
wqrweqrweqrweqrweqr
werqrwqerweq’;
HTP.p ('rererererer
erererel
sssss rererererereasasasa
');
END b11;
END a1;

format
PACKAGE BODY a1
IS
PROCEDURE b11
IS
b VARCHAR2 (200);
BEGIN
b := ‘rueoiwuioweuiorwe
wqrweqrweqrweqrweqr
werqrwqerweq’;
HTP.p ('rererererer
erererel
sssss rererererereasasasa
');
END b11;
END a1;

and again, and again

PACKAGE BODY a1
IS
PROCEDURE b11
IS
b VARCHAR2 (200);
BEGIN
b := ‘rueoiwuioweuiorwe
wqrweqrweqrweqrweqr
werqrwqerweq’;
HTP.p (
'rererererer
erererel
sssss rererererereasasasa

);
END b11;
END a1;

What happed is that the string part that was tabbed get another tab!

Hi Filipe,

Thanks for finding this out.
This may be a problem of the conflicting settings.
In Preferences | Code Editor | Tab Size, the default value is 4, while Formatter Options | General | Tabs | Tab Size has a default value 3. We have task to merge/synchronize the settings but not finish yet.

The work around currently can be manually synchronize the Tab Size. You can also either tick off Use Tab Characters in Preferences or select Insert Spaces in Formatter Options.

CR has been created for this. Thanks again Filipe.

Vincent

The workaround worked!
Thanks Vicent