Always know that Plsqldev has formatting features, each time after writing SQL, but also the habitual click button to format, but did not notice that the default formatting can also be set. I just learned it from my colleague yesterday, and I share it here.
Default Format Setting Method:
Tools->preference->user Interface->pl/sql Beautifier Interface, click Edit below the rules file, as follows:
In the syntax Case option area on the right, you can set the keyword capitalization, the other lowercase, and of course other settings. Save as a. br file after you set it up, then use the saved format in the previous screen.
Attach a piece of code to compare the formatting before and after the effect:
Before formatting:
Click ( here) to collapse or open
- SELECT * from T_ware_base t where t.warename like \ ' pwz%\ ';
After formatting:
Click ( here) to collapse or open
- SELECT * from T_ware_base t WHERE t.warename like \ ' pwz%\ ';
Set Plsqldev default formatting (keyword capitalization, other lowercase)