Currently Livebook formats the code without respecting any plugins or formatter options. We could add Kino.formatter_options(...) with options matching .formatter.exs. The logic would be similar to the mix format task. In order to handle :import_deps, we would need to traverse the dependencies and read their .formatter.exs. There is no public API to do this for the Mix.install/1 project, but we could possibly make Mix.in_install_dir/1 public in Elixir.
For now this issue is mostly to track interest and use cases.
Also see prior discussion in #1212.
Currently Livebook formats the code without respecting any plugins or formatter options. We could add
Kino.formatter_options(...)with options matching.formatter.exs. The logic would be similar to themix formattask. In order to handle:import_deps, we would need to traverse the dependencies and read their.formatter.exs. There is no public API to do this for theMix.install/1project, but we could possibly makeMix.in_install_dir/1public in Elixir.For now this issue is mostly to track interest and use cases.
Also see prior discussion in #1212.