# SQL formatting config

**URL:** <https://discourse.getdbt.com/t/sql-formatting-config/15415>\
**Category:** Help\
**Tags:** dbt-cloud\
**Created:** [September 12, 2024, 6:56pm UTC](https://discourse.getdbt.com/t/sql-formatting-config/15415 "2024-09-12T18:56:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![troy](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/troy/32/3820_2.png) [@troy](https://discourse.getdbt.com/u/troy)\
**Post date:** [September 12, 2024, 6:56pm UTC](https://discourse.getdbt.com/t/sql-formatting-config/15415/1 "2024-09-12T18:56:20Z")

</div>

Hi,

is there a way to make and save changes to the way the dbt cloud IDE formats SQL? I.E. when you right click and choose ‘Format File’. To start with, I’d simply like to increase the max line length.

Thanks

---

<div class="post-metadata">

**Author:** ![troy](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/troy/32/3820_2.png) [@troy](https://discourse.getdbt.com/u/troy)\
**Post date:** [November 15, 2024, 3:18pm UTC](https://discourse.getdbt.com/t/sql-formatting-config/15415/2 "2024-11-15T15:18:46Z")

</div>

Hello - does anyone know anything about the sql formatter?

---

<div class="post-metadata">

**Author:** ![Malte.Ni](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/malte.ni/32/2746_2.png) [@Malte.Ni](https://discourse.getdbt.com/u/Malte.Ni)\
**Post date:** [November 19, 2024, 11:54am UTC](https://discourse.getdbt.com/t/sql-formatting-config/15415/3 "2024-11-19T11:54:58Z")

</div>

You can switch the formatter to SQLFluff and thus define your own rules.

> **[Lint and format your code | dbt Developer Hub](https://docs.getdbt.com/docs/cloud/dbt-cloud-ide/lint-format#customize-linting)**
>
> Integrate with popular linters and formatters like SQL Fluff, sqlfmt, Black, and Prettier."
