Toad World® Forums

TOAD 12.5 formatter duplicating header


#1

Hi

With our settings we have Formatter set to add a header in comments with a timestamp whenever we format our code. In previous versions it would update the header each time we format.

Now in 12.5 it adds a new header above the existing one so we quickly build up a big pile of headers - liike this:

/* Formatted on 25/06/2014 11:24:05 (QP5 v5.265.14096.38000) by TOAD Formatter

  • Rules version: 2.0
    /
    /
    Formatted on 25/06/2014 11:24:04 (QP5 v5.265.14096.38000) by TOAD Formatter
  • Rules version: 2.0
    /
    /
    Formatted on 25/06/2014 11:24:03 (QP5 v5.265.14096.38000) by TOAD Formatter
  • Rules version: 2.0
    /
    /
    Formatted on 25/06/2014 11:24:02 (QP5 v5.265.14096.38000) by TOAD Formatter
  • Rules version: 2.0
    /
    /
    Formatted on 25/06/2014 11:24:01 (QP5 v5.265.14096.38000) by TOAD Formatter
  • Rules version: 2.0
    /
    /
    Formatted on 25/06/2014 11:24:01 (QP5 v5.265.14096.38000) by TOAD Formatter
  • Rules version: 2.0
    /
    /
    Formatted on 25/06/2014 11:24:00 (QP5 v5.265.14096.38000) by TOAD Formatter
  • Rules version: 2.0
    /
    /
    Formatted on 25/06/2014 11:24:00 (QP5 v5.265.14096.38000) by TOAD Formatter
  • Rules version: 2.0
    */
    select *
    from dual;

Thanks

dan


#2

Hi Dan,

Can you please send me FmtPlus.opt from your user files directory? It should be in a location similar to C:\Users[user]\AppData\Roaming\Quest Software\12.5\User
Files. You can send this to me directly.

Thanks,

Brad

From: DanCJ [mailto:bounce-DanCJ@toadworld.com]

Sent: Wednesday, June 25, 2014 6:27 AM

To: toadoracle@toadworld.com

Subject: [Toad for Oracle - Discussion Forum] TOAD 12.5 formatter duplicating header

TOAD 12.5 formatter duplicating header

Thread created by DanCJ

Hi

With our settings we have Formatter set to add a header in comments with a timestamp whenever we format our code. In previous versions it would update the header each time we format.

Now in 12.5 it adds a new header above the existing one so we quickly build up a big pile of headers - liike this:

/* Formatted on 25/06/2014 11:24:05 (QP5 v5.265.14096.38000) by TOAD Formatter

  • Rules version: 2.0

*/

/* Formatted on 25/06/2014 11:24:04 (QP5 v5.265.14096.38000) by TOAD Formatter

  • Rules version: 2.0

*/

/* Formatted on 25/06/2014 11:24:03 (QP5 v5.265.14096.38000) by TOAD Formatter

  • Rules version: 2.0

*/

/* Formatted on 25/06/2014 11:24:02 (QP5 v5.265.14096.38000) by TOAD Formatter

  • Rules version: 2.0

*/

/* Formatted on 25/06/2014 11:24:01 (QP5 v5.265.14096.38000) by TOAD Formatter

  • Rules version: 2.0

*/

/* Formatted on 25/06/2014 11:24:01 (QP5 v5.265.14096.38000) by TOAD Formatter

  • Rules version: 2.0

*/

/* Formatted on 25/06/2014 11:24:00 (QP5 v5.265.14096.38000) by TOAD Formatter

  • Rules version: 2.0

*/

/* Formatted on 25/06/2014 11:24:00 (QP5 v5.265.14096.38000) by TOAD Formatter

  • Rules version: 2.0

*/

select *

from dual;

Thanks

dan

To reply, please reply-all to this email.

Stop receiving emails on this subject.

Or
Unsubscribe from Toad for Oracle - General
notifications altogether.

Toad for Oracle - Discussion Forum

Flag
this post as spam/abuse.


#3

File sent.

Thanks!


#4

Thanks Dan. We can reproduce this… has something to do with the newline characters. Mike will follow up.

From: DanCJ [mailto:bounce-DanCJ@toadworld.com]

Sent: Wednesday, June 25, 2014 8:28 AM

To: toadoracle@toadworld.com

Subject: RE: [Toad for Oracle - Discussion Forum] TOAD 12.5 formatter duplicating header

RE: TOAD 12.5 formatter duplicating header

Reply by DanCJ

File sent.

Thanks!

To reply, please reply-all to this email.

Stop receiving emails on this subject.

Or
Unsubscribe from Toad for Oracle - General
notifications altogether.

Toad for Oracle - Discussion Forum

Flag
this post as spam/abuse.


#5

Dan, it’ll be fixed in our next beta. There’s talk of a 12.5 patch, but I don’t have any dates or other info for you at this time. This fix will be included in it. In the meantime the only workaround is to remove the \r\n from your formatter header in options.

Thanks,

Michael

On 06/25/2014 06:26 AM, DanCJ wrote:

TOAD 12.5 formatter duplicating header

Thread created by DanCJ
Hi

With our settings we have Formatter set to add a header in comments with a timestamp whenever we format our code. In previous versions it would update the header each time we format.

Now in 12.5 it adds a new header above the existing one so we quickly build up a big pile of headers - liike this:

/* Formatted on 25/06/2014 11:24:05 (QP5 v5.265.14096.38000) by TOAD Formatter

  • Rules version: 2.0

*/

/* Formatted on 25/06/2014 11:24:04 (QP5 v5.265.14096.38000) by TOAD Formatter

  • Rules version: 2.0

*/

/* Formatted on 25/06/2014 11:24:03 (QP5 v5.265.14096.38000) by TOAD Formatter

  • Rules version: 2.0

*/

/* Formatted on 25/06/2014 11:24:02 (QP5 v5.265.14096.38000) by TOAD Formatter

  • Rules version: 2.0

*/

/* Formatted on 25/06/2014 11:24:01 (QP5 v5.265.14096.38000) by TOAD Formatter

  • Rules version: 2.0

*/

/* Formatted on 25/06/2014 11:24:01 (QP5 v5.265.14096.38000) by TOAD Formatter

  • Rules version: 2.0

*/

/* Formatted on 25/06/2014 11:24:00 (QP5 v5.265.14096.38000) by TOAD Formatter

  • Rules version: 2.0

*/

/* Formatted on 25/06/2014 11:24:00 (QP5 v5.265.14096.38000) by TOAD Formatter

  • Rules version: 2.0

*/

select *

from dual;

Thanks

dan

To reply, please reply-all to this email.

Stop receiving emails on this subject.

Or
Unsubscribe from Toad for Oracle - General
notifications altogether.

Toad for Oracle - Discussion Forum

Flag
this post as spam/abuse.


#6

Thanks a lot!