drcika / apc-extension

https://marketplace.visualstudio.com/items?itemName=drcika.apc-extension
MIT License
673 stars 27 forks source link

Is it possible to make sidebars not cause layout shifts on the editor area? #213

Open kaandok opened 3 months ago

kaandok commented 3 months ago

I like to use the centered layout for the editors. It works great when the sidebars are closed.

When you open either the primary or secondary it causes a layout shift in the editor area and your editor is no longer centered wrt the workspace area.

Would it be possible to use the extension to customize this behavior?

rez1coder commented 3 months ago

Move the sidebar to the right. Most vscode users took this decision and never looked back ;)

kaandok commented 3 months ago

already have it on the right. doesn’t work with centered layout.

rez1coder commented 3 months ago

Did a couple searches. Try this.

  // Controls if the centered layout should automatically resize to maximum width when more than one group is open. Once only one group is open it will resize back to the original centered width.
  "workbench.editor.centeredLayoutAutoResize": true,

  // Controls whether the centered layout tries to maintain constant width when the window is resized.
  "workbench.editor.centeredLayoutFixedWidth": false,