-
Notifications
You must be signed in to change notification settings - Fork 20
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
R code chunks in VS Code visual mode do not auto-indent #150
Comments
The autoindenter used in visual mode is different than the one used in the main editor (it is based on the code mirror R mode) so we don't in fact catch all of these cases. We do plan to eventually replace the embedded editor, and when we do that this will be resolved. |
This is now also happening in Source Mode. It is difficult to use any code with pipe in quarto right now. I am not sure if it is related to disabling styler: #190 |
This actually hasn't ever worked in source mode either. For source mode we delegate to the R extension, and it looks like they only support this behavior for .R scripts when you have |
You are right. For some reason I remembered that it did work on quarto files. |
We are using the base R syntax rules from the |
As I understand |
rnorm(100) |>
and press enter.Following the pipe operator and a new line the new line should be indented. It is not in this case.
Quarto version 1.3.313
The text was updated successfully, but these errors were encountered: