posit-dev / positron

Positron, a next-generation data science IDE
https://positron.posit.co
Other
2.82k stars 91 forks source link

Positron Pane Layout #5317

Closed cordeiroitamar closed 1 week ago

cordeiroitamar commented 1 week ago

Hello everyone,

I'm starting with Positron and would like to know if there's a way to rearrange the panels, as we do in RStudio (Tools > Global Options > Pane Layout), to set up the layout as follows:

Top left: Console Top right: Source Bottom left: Environment Bottom right: Plots

juliasilge commented 1 week ago

The layout in Positron doesn't work exactly the same as in RStudio; in fact, it is very flexible and you can drag stuff around with a lot of freedom. We have made some layout presets available from the command palette and the top right of the top bar:

Image

You may want to start with "Side-by-side" and then change the Primary Side Bar position to the left. That gets you this:

Image

LDalby commented 1 week ago

Uhh, this so close to how I been trying to set my workspace up also! But I simply can't figure out how to this pane layout, but with the file explorer, git, extensions etc. (what in @juliasilge's screenshot is the blue ribbon in the RHS) appear on the left. Can this be done?

cordeiroitamar commented 1 week ago

Great. Thank you @juliasilge

It worked. It turned out exactly the way I wanted.

Image

juliasilge commented 1 week ago

Glad this works for you @cordeiroitamar!

Unfortunately @LDalby I don't believe there is a way to switch right-to-left for the main editing area plus the secondary side bar (holding the plots, console, etc in this layout) without also moving the activity bar (blue ribbon with file explorer, etc) to the right.