I’m new in the forum. I’ve searched through it looking for an answer to my question, with no results.
I don’t know if this is a bug or a feature: styling is lost when creating script in Toad for Oracle version 12 and 13 (already tested in versions 22.214.171.124, 126.96.36.199).
I am currently working along with 20 people, and we want to unify the style of our PL scripts. For example, keywords and datatypes will always be in capital letters, identifiers will be in lowercase, and so on. In order to do that, we make use of the Font and Styling option (View - Toad Options… - Editor - Font and Styling).
This way, while typing a script in lowercase, the Editor will automatically change the keywords to uppercase if necesary. It works well, but, if we export the script from the PL (right click on the package - Create - Script…), the resulting file won’t be affected by the formatting rules previously configured.
The strangest thing about it is that it worked in Toad version 9. I mean, if you export the script in Toad version 9, all the keywords and datatypes will be in uppercase, and identifiers in lowercase (following the example I mentioned before). But in Toad version 12 and 13, the resulting script will be the same as the user typed.
This is the reason I don´t know if this is a bug or the opposite, a correction of a bug in older versions.
Is there any way to export the scripts following this kind of formatting rules?
Thanks in advance.