Trivadis/plsql-formatter-settings

compiler flag concatenated to same line as end statement

Closed this issue · 2 comments

The compiler flags are not following the same standard as other plsql, the below code has put the flag on the same line as the end of the package

image
becomes
image

(text copy attached for reference)
test.txt

I use the current Formatter Setter settings in this repo (trivadis_advanced_format.xml and trivadis_custom_format.arbori) with SQL Developer 23.1 on macOS to format the following code:

create or replace package test_package as
$if false $then
--code
$end 
end test_package;
/

The formatter result looks the same as the input.

Could you please provide me the settings you've changed to reproduce your formatting result?

Similar to #257 this issue is only reproducible with the standard Arbori program provided by the SQL Developer team. It cannot be reproduced with the formatter settings provided in this repository. As a result, I kindly ask you to seek help in the SQL Developer forum regarding common SQL Developer issues. Thank you.