Skip to content
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

Code formatter #1531

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Code formatter #1531

wants to merge 1 commit into from

Conversation

fonsp
Copy link
Owner

@fonsp fonsp commented Oct 3, 2021

Integrates JuliaFormatter.jl into Pluto:

TODO:

I just want to note that code formatting is one of those things that people-with-a-github-account can care passionately about, but keep in mind that our intended audience is beginner programmers. The hope of adding a formatter is to remove 'accidental complexity' that comes from "weirdly formatted code" that you can get from copy-pasting snippets, and to make everyone's code easier to read. (Also: we think that a code editor should let you write an AST-with-comments, not arbitrary text. Whitespace is your code's presentation, just like syntax highlighting.)

@fonsp fonsp mentioned this pull request Feb 24, 2022
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.

1 participant