Can someone please tell me how to set up preferences so the block beginning and end align for begin and if?
For example, if I enter an "if" condition followed by "end if;" I would expect the "end if;" to automatically align with the same column as the beginning "if" - it does not behave that way.
The "end if;" aligns with the last line of code in the block instead of the beginning "if" looking like this:
begin
..v_new_value_num := get_number_copies(v_template_name);
..if v_new_value_num is null then
....dsp_message('Null value returned','E');
....end if;
....end;
This is what I would expect:
begin
..v_new_value_num := get_number_copies(v_template_name);
..if v_new_value_num is null then
....dsp_message('Null value returned','E');
..end if;
end;
I'm sure I'm just missing a setting somewhere, but I have not found it yet - any help would be appreciated!
Thanks,
Terry
For example, if I enter an "if" condition followed by "end if;" I would expect the "end if;" to automatically align with the same column as the beginning "if" - it does not behave that way.
The "end if;" aligns with the last line of code in the block instead of the beginning "if" looking like this:
begin
..v_new_value_num := get_number_copies(v_template_name);
..if v_new_value_num is null then
....dsp_message('Null value returned','E');
....end if;
....end;
This is what I would expect:
begin
..v_new_value_num := get_number_copies(v_template_name);
..if v_new_value_num is null then
....dsp_message('Null value returned','E');
..end if;
end;
I'm sure I'm just missing a setting somewhere, but I have not found it yet - any help would be appreciated!
Thanks,
Terry