-
Notifications
You must be signed in to change notification settings - Fork 11
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
=
is sometimes wrongly formatted as <-
#282
Comments
Air didn't do that, I'm pretty sure that was styler in Positron |
Ohh sorry. The culprit turned out to be Quarto. When I formatted it in a separate R document it was fine. Do you happen to know which repo is responsible for this, I assume it's https://github.com/quarto-dev/quarto ? |
I think you are running into this then #77, and we are tracking it here in Air. It will get resolved when we remove styler from Positron itself in favor of just installing air |
I turned off my Air extension and the problem persisted. Is that good news for Air and bad for Quarto? |
It's not Air. It is Positron's styler integration being invoked on your behalf by Quarto. Air with Quarto documents does not work right now in Positron, we will try to fix it soon. It does work in VS Code though, if you want to write in that IDE for now. |
LMFAO! Sounds like a sibling fighting situation within the Posit family. Thx for the detailed explanation, though. |
We are tracking pulling out the styler-based formatter in posit-dev/positron#6462; we could do that right away but folks would need to know to install air somehow and there isn't a super easy fix to prompt people in product. We are planning to do the work required for bundling air and ruff next milestone (next month), but it's arguable the situation now is worse than having Positron ship with no formatter. |
My code was meant to be:
and it was wrongly formatted by Air to:
I guess we should especially be careful with
=
inside functions?The text was updated successfully, but these errors were encountered: