Skip to content

Remove the message about not having a formatter available#933

Open
DavisVaughan wants to merge 3 commits intoquarto-dev:mainfrom
DavisVaughan:feature/no-format-cell-note
Open

Remove the message about not having a formatter available#933
DavisVaughan wants to merge 3 commits intoquarto-dev:mainfrom
DavisVaughan:feature/no-format-cell-note

Conversation

@DavisVaughan
Copy link
Collaborator

Closes #932

We can't actually tell the difference between a cell that doesn't have a formatter and a cell with a formatter that said "there is nothing to do, it's already formatted", so I think it is better to silently do nothing at all.

In the first commit, I also improved on some return typing of the intermediate functions, because I got a little confused without this.

We can't actually tell the difference between a cell that doesn't have a formatter and a cell with a formatter that said "there is nothing to do, it's already formatted"
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.

Quarto: Format Cell should not "error" when the code is already formatted

1 participant