-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Reindent & Reformat Lines stopped working in Quarto Callout Blocks #14640
Comments
@cy-james-lee Thank you for raising the issue! I can reproduce this in RStudio Desktop 2024.04.1+735 on Windows 11. Note: This is source mode only--it works in visual mode. Also, this works correctly in version 2023.12.1+402. |
I experienced the same problem in source mode on macOS. In my case, it didn't work inside and outside Quarto blocks. RStudio Edition : Desktop Indentation works with the previous RStudio Version 2023.12.1+402, but only with 2 spaces. The older version didn't respect changes (even after restarting RStudio) in the global and project configuration. (I didn't notice this before). In visual mode, everything works in the older and the latest RStudio version. |
@petzi53 Can you provide a brief example of code in which you're seeing the issue? @cy-james-lee I believe that what you're seeing is discussed in issue #14642. |
Also @d-morrison found that this happens with reformatting (cmd-shift-A or Menu Bar > Code > Reformat Code). |
Regression caused by #14558. |
This seems to occcur (in source editor) not only after callout block, but any ::: (eg. ::: column, ::: panel-tabset |
Initial example verified fixed in RStudio Desktop 2024.07.0-daily+174, but need to test a little further. |
Verified in RStudio Desktop 2024.04.2+762.pro1:
|
Verified in 2024.07.0-daily+178.pro1 on Windows 11, as well. |
Verify fixed in:
System details
Steps to reproduce the problem
Describe the problem in detail
All lines are moved to the left end, without any indentation.
Describe the behavior you expected
Normal Reindent Lines (Ctrl + I) behavior is this:
The text was updated successfully, but these errors were encountered: