Replies: 1 comment 1 reply
-
|
Thanks for trying out Positron and sharing your thoughts! 🙌
geom_text(hjust = 0, vjust = 1,
lineheight = 1.2, fontface = "bold")Instead of a lot of bespoke indentation rules like RStudio, we use basic VS-Code-style indentation matching and have built a brand-new modern formatter for R called air; it works similarly to ruff in Python. You can read more about how to use air at https://positron.posit.co/migrate-rstudio-code.html#formatting-r-code-with-air but do be aware it also does not support hanging indentation (posit-dev/air#278).
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey - I tried Positron for the first time on a livestream and ran into a few weird things that I thought I'd run by you. I'm pretty comfortable using RStudio and VS Code, so there's some context for me.
color = "#FF0000the hex code will get a red highlight, but if I docolor = "red"nothing happens. The background color is helpful for picking different shades of gray quickly without having to build the plot. You can see my efforts hereUsing ggtext::element_textbox_simple()removes spaces and line breaks causing text to write over itself.ggtext::element_markdown()works. When this would periodically happen in RStudio, it would go away after restarting RStudio. That didn't work here. You can see my efforts here?geom_textwas throwing errors and not bringing up the help. The only help was the Positron help window. You can see my efforts hereSorry, I'm not sure which of these are bugs, features, or my ignorance :) If you'd rather me post them to the issue tracker I can do that too. Let me know if you want separate issues for each.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions