Trivadis/plsql-formatter-settings

Lost space after equal sign

PhilippSalvisberg opened this issue · 0 comments

Input/expected result:

declare
   co_no_data_found constant integer := -1;
begin
   my_package.some_processing(); -- some code which raises an exception
exception
   when too_many_rows then
      my_package.some_further_processing();
   when others then
      if sqlcode = co_no_data_found then
         null;
      end if;
end;
/

Formatter result:

declare
   co_no_data_found constant integer := -1;
begin
   my_package.some_processing(); -- some code which raises an exception
exception
   when too_many_rows then
      my_package.some_further_processing();
   when others then
      if sqlcode =co_no_data_found then
         null;
      end if;
end;
/

A space before co_no_data_found is expected.