Closed RedGlow closed 3 weeks ago
Hi,
Thank you for your contribution! These are great ideas. Actually, the position
could replace the initial-handle-position
property.
I have a few thoughts about your code, I'll add some comments in a moment.
A few ideas came to mind, so I've created a new feature branch instead. It seems you committed with your working email. Is that okay with you?
A few ideas came to mind, so I've created a new feature branch instead. It seems you committed with your working email. Is that okay with you?
Yes, it's no problem!
btw, I'm not particularly expert with GitHub's pull request workflow, so please tell me in case if there's any change I can perform and what's the best way to do it (e.g.: the one about renaming the event).
Me neither...
So, what I planned are
initial-handle-position
is a percentage value but position
is pixel-based? This is my dilemma.
Hello, I've had the need to handle the split layout position programmatically, and because of this I've made some modifications in a local branch. I have thought it could be useful for the component in general.
The change I'm proposing is a new property and event for the split layout:
position
property, as a 0-100 percentage representing the position of the handle, that can be both read and written;vsc-split-layout-position-changed
event that is raised whenever the position of the handle changes.If there are better ways to approach this feature, I'm available to make changes!