JuDO-dev / AirBorne.jl

AirBorne a complete algorithmic trading framework in Julia.
http://judo.dev/AirBorne.jl/
MIT License
1 stars 1 forks source link

Modify style of JuliaFormatter for better code folding #38

Closed brunocastroibarburu94 closed 1 year ago

brunocastroibarburu94 commented 1 year ago

This is not a priority atm! When creating the issue I still haven't implemented the parking lot on the AirBorne project. Ignore until is prioritized.

The current style provided by blue is good and a great start however if code folding could be improved it could ease the development process as we would have greater visibility of the functions inside a module. This readibility can be improved by indenting all lines after the docstring. Similarly all lines after a function could be indented again for good visibility of the methods of a function with multiple-dispatch

Current Blue Style: Image

Current Blue folding structure: Image

Proposed modified style: Image

Proposed modified style folded structure: Image