SQL Developer code 'Advanced Format' versus 'Custom Format'
The custom format allows you to augment what's available with GUI controls in the advanced formatter preferences page.

It uses arbori, a parse tree query language.

The developer, Vadim, discusses this in his blog here.

So you don't pick one or the other - both are in play when using the formatter.