diff --git a/README_SETUP.md b/README_SETUP.md index c54effee4dfd9dfa569a4162013c77c883ec1121..3e5ecdb7b4e9fbc7855def76d910b898edd070fb 100644 --- a/README_SETUP.md +++ b/README_SETUP.md @@ -44,6 +44,26 @@ julia> ]activate "/path/to/caosdb-julialib" julia> ]test ``` +## Code styling + +We use +[JuliaFormatter.jl](https://github.com/domluna/JuliaFormatter.jl) for +automatic code formatting. Simply install JuliaFormatter by + +```julia-repl +julia> ]add JuliaFormatter +``` + +and execute + +```sh +julia -e 'using JuliaFormatter; format(".", verbose=true)' +``` + +in the root directory of caosdb-julialib. You may leave out the +`verbose=true` option if you do not wish to see which files were +formatted. + ## Documentation The documentation can be built locally using