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

feat: format on save #184

Merged
merged 3 commits into from
Oct 10, 2023
Merged

feat: format on save #184

merged 3 commits into from
Oct 10, 2023

Conversation

mscolnick
Copy link
Contributor

@mscolnick mscolnick commented Oct 6, 2023

format on save when the user saves the code. default to False in case they dont have a formatter installed

@vercel
Copy link

vercel bot commented Oct 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marimo-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 10, 2023 0:16am
marimo-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 10, 2023 0:16am

toast({ title: "Notebook saved" });
formatAll(updateCellCode);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mscolnick Check config to make sure format_on_save is enabled?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh yea, duh, will add

@akshayka akshayka merged commit 845ca3a into main Oct 10, 2023
19 checks passed
@akshayka akshayka deleted the ms/format-on-save branch October 10, 2023 05:33
@github-actions github-actions bot locked and limited conversation to collaborators Oct 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants