SQL Developer: Tools -> Preferences -> Code Editor -> Format -> Advanced Format
SQL Developer stores the instructions to format code under Tools -> Preferences -> Code Editor -> Format -> Advanced Format.
Instructions that pertain to aligning code, indenting it, white spaces and breaking lines is stored directly under Advanced Format, those that are related to Arbori (a parse tree query language) under the subnode Custom Format.