You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that the VS Code has moved to JuliaFormatter.jl, I would be great for a template plugin to generate files to support it (including your beloved style = "blue"!)
It seems the architecture is to remove all formatting in the vscode extension itself, and do all formatting configuration in a .JuliaFormatter.toml file (cc @pfitzseb). Which I fully agree with! That means it is especially helpful to generate these files for new users.
The minimum configuration of a plugin to the PkgTemplates is to generate a file with style = "blue", ="default" or ="yas". Personally that is enough for my purposes since I think that users can then modify it directly since it would be created in the correct place. But to get fancy you could add in https://github.com/domluna/JuliaFormatter.jl/#formatting-options as well.
I'm currently on a rampage of PkgTemplates PRs to help people get started with good coding practices. See #415 about my dreams for the runtests.jl file. If you have other similar ideas @jlperla, I'll take 'em!
Now that the VS Code has moved to JuliaFormatter.jl, I would be great for a template plugin to generate files to support it (including your beloved
style = "blue"
!)It seems the architecture is to remove all formatting in the vscode extension itself, and do all formatting configuration in a
.JuliaFormatter.toml
file (cc @pfitzseb). Which I fully agree with! That means it is especially helpful to generate these files for new users.The minimum configuration of a plugin to the PkgTemplates is to generate a file with
style = "blue"
,="default"
or="yas"
. Personally that is enough for my purposes since I think that users can then modify it directly since it would be created in the correct place. But to get fancy you could add in https://github.com/domluna/JuliaFormatter.jl/#formatting-options as well.BTW, my hope is to add this into the https://julia.quantecon.org/software_engineering/testing.html#project-setup docs so that introductory users get in the habit of always using code formatting/code styles.
The text was updated successfully, but these errors were encountered: