You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Directed from posit-dev/positron#4196. Original message on the Positron repo from Julia Silge:
The solution to this will need to come from the Quarto extension, since it provides formatting for .qmd files. They have a command to format a cell:
Unfortunately though, that does not yet work for Observable chunks (it does work for R and Python). Can you open an issue on the repo for the Quarto extension that you would like the "Quarto: Format Cell" command to work for Observable? https://github.com/quarto-dev/quarto/issues
Cheers,
Jack
The text was updated successfully, but these errors were encountered:
This will be a bit hard for us to do, because there's no standard formatter for the OJS syntax, afaict. OJS is not JS (see, eg, the mutable keyword), and so we'd have to wait for other developers to create appropriate tooling first.
I understand that the VSCode/Positron extension can style Py/R code, but not OJS. It'd be really helpful if it could do OJS too! e.g., turn
into
Directed from posit-dev/positron#4196. Original message on the Positron repo from Julia Silge:
Cheers,
Jack
The text was updated successfully, but these errors were encountered: