sapling icon indicating copy to clipboard operation
sapling copied to clipboard

Might a click on component name in the Sapling tree open its code instead of/in addition to a click on the nav button

Open mjoycemilburn opened this issue 2 years ago • 2 comments

The Sapling tree is a great way of organising your component tree in VSCode for convenient access. I've been absolutely delighted with it but have one complaint. Whenever I want to open a component I find myself automatically clicking the component name rather than the (near invisible) Nav button

Would it be possible to make a click on a component name open its code instead of/as well as a click on the Nav button?

mjoycemilburn avatar May 13 '22 18:05 mjoycemilburn

@mjoycemilburn I felt the same, it was much more intuitive to click the component name than to click a separate icon, we took a fork and have released the extension with the behaviour you have asked for. there are also other usability enhancements/ performance improvements.

marketplace link - https://marketplace.visualstudio.com/items?itemName=HabeebArul.react-component-tree fork link - https://github.com/hb1998/react-component-tree

hb1998 avatar Feb 08 '23 12:02 hb1998

Many thanks. MJ

On Wed, 8 Feb 2023 at 12:46, Habeeb @.***> wrote:

@mjoycemilburn https://github.com/mjoycemilburn I felt the same, it was much more intuitive to click the component name than to click a separate icon, we took a fork and have released the extension with the behaviour you have asked for. there are also other usability enhancements/ performance improvements.

marketplace link - https://marketplace.visualstudio.com/items?itemName=HabeebArul.react-component-tree fork link - https://github.com/hb1998/react-component-tree

— Reply to this email directly, view it on GitHub https://github.com/oslabs-beta/sapling/issues/113#issuecomment-1422540114, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADIP2IRG7GDCZQ2UTYHRRUTWWOIRXANCNFSM5V4FS77A . You are receiving this because you were mentioned.Message ID: @.***>

mjoycemilburn avatar Feb 08 '23 13:02 mjoycemilburn