# Version 2025 - Format Code

**URL:** <https://forums.toadworld.com/t/version-2025-format-code/60619>\
**Category:** Toad for Oracle & DevOps Toolkit\
**Created:** [February 21, 2025, 1:11pm UTC](https://forums.toadworld.com/t/version-2025-format-code/60619 "2025-02-21T13:11:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anhe](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@anhe](https://forums.toadworld.com/u/anhe)\
**Post date:** [February 21, 2025, 1:11pm UTC](https://forums.toadworld.com/t/version-2025-format-code/60619/1 "2025-02-21T13:11:02Z")

</div>

How code a SQL like below cannot be formatted by using Format Code (Ctrl+Shit+F)

Worked in version 16

My opt file is identical

SQL

SELECT artno, artname FROM tas\_art WHERE artno LIKE '1%';

Should be formatted to:

SELECT artno, artname  
FROM tas\_art  
WHERE artno LIKE '1%';

---

<div class="post-metadata">

**Author:** ![mstaszew](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/mstaszew/32/23_2.png) [@mstaszew](https://forums.toadworld.com/u/mstaszew)\
**Post date:** [February 21, 2025, 1:18pm UTC](https://forums.toadworld.com/t/version-2025-format-code/60619/2 "2025-02-21T13:18:50Z")

</div>

I see the same default formatting in 16.0 and 2024 R2.

16.0

 ![image](https://global.discourse-cdn.com/quest/original/3X/f/6/f60d2279c979d239dc2a424f60c4a04d22b43caf.png)

2024 R2

 ![image](https://global.discourse-cdn.com/quest/original/3X/8/0/80b468c8b042c8515dd3da62a3aa97a1b5bac70c.png)

I think you want this option set.

 ![image](https://global.discourse-cdn.com/quest/original/3X/9/6/960a8934f3a64e8be8c739df956bbdf6ffb8ff36.png)

---

<div class="post-metadata">

**Author:** ![anhe](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@anhe](https://forums.toadworld.com/u/anhe)\
**Post date:** [February 21, 2025, 1:37pm UTC](https://forums.toadworld.com/t/version-2025-format-code/60619/3 "2025-02-21T13:37:15Z")

</div>

Hello,

believe me. I have tried all settings

 ![image](https://global.discourse-cdn.com/quest/original/3X/e/1/e14ab3f2789a2f0d487182c22fab183329c5f921.png)

It works if only one column is present in the SELECT part

---

<div class="post-metadata">

**Author:** ![mstaszew](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/mstaszew/32/23_2.png) [@mstaszew](https://forums.toadworld.com/u/mstaszew)\
**Post date:** [February 21, 2025, 1:45pm UTC](https://forums.toadworld.com/t/version-2025-format-code/60619/4 "2025-02-21T13:45:38Z")

</div>

I missed that you were using 2025 R1. I have tested there and see the same as before.

Please go to _ **Help | Support Bundle** _ and grab all of that text and email it to me along with your FmtPlus.opt file from 2025 R1 and I'll try with your same settings. [michael.staszewski@quest.com](mailto:michael.staszewski@quest.com).

Michael

 ![image](https://global.discourse-cdn.com/quest/original/3X/e/1/e15fdbd3e5044da193ff9eeaad7ffb3f72811a8a.png)

---

<div class="post-metadata">

**Author:** ![mstaszew](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/mstaszew/32/23_2.png) [@mstaszew](https://forums.toadworld.com/u/mstaszew)\
**Post date:** [February 24, 2025, 1:20pm UTC](https://forums.toadworld.com/t/version-2025-format-code/60619/5 "2025-02-24T13:20:24Z")

</div>

Thanks for the email. I can reproduce the issue with your settings. The reason is the default list setting. You have it set to "Tabular." The default value, "Stacked on Overflow or More than..." works. You can hover over the control and read the hint for more information about each setting. With that setting set to Tabular, I can reproduce what you see and I see consistent behavior in older versions as well with this option set. This may be expected behavior. I'll reach out to the Formatter developer for clarification.

 ![image](https://global.discourse-cdn.com/quest/original/3X/6/5/659b0b4e234ff9ac5a21d3e477a0387a280605ed.png)

---

<div class="post-metadata">

**Author:** ![anhe](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@anhe](https://forums.toadworld.com/u/anhe)\
**Post date:** [February 24, 2025, 2:20pm UTC](https://forums.toadworld.com/t/version-2025-format-code/60619/6 "2025-02-24T14:20:54Z")

</div>

Arh Ok.

I have changed to Wrapped and changed the Margin to 200. That helped a bit

---

<div class="post-metadata">

**Author:** ![mstaszew](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/mstaszew/32/23_2.png) [@mstaszew](https://forums.toadworld.com/u/mstaszew)\
**Post date:** [February 24, 2025, 2:37pm UTC](https://forums.toadworld.com/t/version-2025-format-code/60619/7 "2025-02-24T14:37:00Z")

</div>

@anhe

> [@mstaszew](#):
>
> This may be expected behavior. I'll reach out to the Formatter developer for clarification.

This is not expected. A defect has been logged.

Thanks,  
Michael
