Set Plsqldev default formatting (keyword capitalization, other lowercase)

Source: Internet
Author: User

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

    1. SELECT * from T_ware_base t where t.warename like \ ' pwz%\ ';
After formatting:

Click ( here) to collapse or open

    1. SELECT * from T_ware_base t WHERE t.warename like \ ' pwz%\ ';

Set Plsqldev default formatting (keyword capitalization, other lowercase)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.