Unindenting?
#8953
Replies: 2 comments 1 reply
-
Thank you for trying out Positron! 🙌 This kind of gesture is called "outdent" in VS Code and Positron. To use it, you can select a bunch of indented lines and use Shift+Tab, or you can find "outdent" in the command palette as well and run from there if you prefer. You can "indent" also from the command palette or with Tab, for whole sets of selected lines. Is that the kind of thing you are trying to do? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Oh my goodness! I would have never thought to use that term, and wouldn't
have found the solution on my own.
Thank you! That's exactly what I needed. I had a feeling it was right there
in front of me.
I appreciate it!
…On Mon, Aug 11, 2025, 15:58 Julia Silge ***@***.***> wrote:
Thank you for trying out Positron! 🙌
This kind of gesture is called "outdent" in VS Code and Positron. To use
it, you can select a bunch of indented lines and use Shift+Tab, or you
can find "outdent" in the command palette as well and run from there if you
prefer. You can "indent" also from the command palette or with Tab, for
whole sets of selected lines.
Is that the kind of thing you are trying to do?
—
Reply to this email directly, view it on GitHub
<#8953 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXAT25A6R7H3H46PQJCP22D3NDYYFAVCNFSM6AAAAACDTWHFSCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMBXGU2DOMY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was wondering if there is an "unindent" feature in the Positron IDE?
It is possible that I am staring at it without seeing it.
The functionality I am thinking of exists in Spyder (maybe in RStudio, but I don't remember ever using it in RStudio) and would be FANTASTIC to have in Positron. I'd even be happy if the "reset indent", which is an option that I found in the issues, worked for me. When I highlight a bunch of indented lines and use the hotkey or command palette option to do so, nothing happens.
Am I missing something?
It's a bit of a pain to un-indent by hand if I move a function out of a class in python, for example.
That said... Loving this IDE. It came at the perfect time, as I am working on a project that uses Python for some tasks and R for others, and has really helped reduce my frustration level.
Beta Was this translation helpful? Give feedback.
All reactions