Skip to content

chore: impose JuliaFormatter on the codebase #49

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 7, 2025
Merged

chore: impose JuliaFormatter on the codebase #49

merged 3 commits into from
Jul 7, 2025

Conversation

mortenpi
Copy link
Member

@mortenpi mortenpi commented Jul 7, 2025

Using the standard .JuliaFormatter.toml (copied from JuliaHub.jl). Motivated by #48 (cc @thelonewolf1603).

@mortenpi mortenpi requested a review from pfitzseb July 7, 2025 12:10
@pfitzseb
Copy link
Member

pfitzseb commented Jul 7, 2025

Thoughts on using Runic instead? :)

@mortenpi
Copy link
Member Author

mortenpi commented Jul 7, 2025

We use JuliaFormatter elsewhere though, and I think it's better to be consistent, as not to make us depend on too many different tools that do the same thing.

Also, Runic is not yet integrated into the extension, right? So you still can't easily "dispatch" between the two right now?

@mortenpi
Copy link
Member Author

mortenpi commented Jul 7, 2025

One note: it does impose JuliaFormatter v1, which is also not great. But that's also consistent. But we should probably at least bump everything to v2 at some point.

@mortenpi mortenpi merged commit 087e465 into master Jul 7, 2025
15 checks passed
@mortenpi mortenpi deleted the mp/format branch July 7, 2025 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants