# How to add tab to module with JuliaFormatter

**URL:** <https://discourse.julialang.org/t/how-to-add-tab-to-module-with-juliaformatter/111121>\
**Category:** General Usage\
**Tags:** question, formatting\
**Created:** [March 4, 2024, 9:42am UTC](https://discourse.julialang.org/t/how-to-add-tab-to-module-with-juliaformatter/111121 "2024-03-04T09:42:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christopher\_Fisher](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/christopher_fisher/32/26132_2.png) [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Post date:** [March 4, 2024, 9:42am UTC](https://discourse.julialang.org/t/how-to-add-tab-to-module-with-juliaformatter/111121/1 "2024-03-04T09:42:58Z")

</div>

Hi all,

I would like to modify the default behavior of JuliaFormatter so that it produces

```julia
module MyModule
   using ... 
   ...
end

```

instead of left alignment:

```julia
module MyModule
using ... 
...
end

```

Thanks!

---

<div class="post-metadata">

**Author:** ![savq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/savq/32/22063_2.png) [@savq](https://discourse.julialang.org/u/savq)\
**Post date:** [March 5, 2024, 7:48pm UTC](https://discourse.julialang.org/t/how-to-add-tab-to-module-with-juliaformatter/111121/2 "2024-03-05T19:48:52Z")

</div>

For submodules there’s `indent_submodule = true`, but for “top” modules the [manual suggests:](https://docs.julialang.org/en/v1/manual/modules/)

> The recommended style is not to indent the body of the module, since that would typically lead to whole files being indented.

Most people typically add a comment to the module’s closing `end` to avoid confusion:

```julia
module MyModule
...
end # module

```
