jupyterlab icon indicating copy to clipboard operation
jupyterlab copied to clipboard

Allow to select the path in debugger source component

Open krassowski opened this issue 1 year ago • 2 comments

References

Fixes #16235

Code changes

  1. Make the source path user-selectable
  2. Do not open the read-only editor on click as it steals focus and removes selection; instead make it open on Ctrl + click

User-facing changes

Clicking on the source path now allows selection and thus copying the file

image

Ctrl + click will open the main area widget:

image

Note: user can still click on the button next to the path to open the source without holding Ctrl:

image

Backwards-incompatible changes

None

krassowski avatar Apr 26 '24 10:04 krassowski

Thanks for making a pull request to jupyterlab! To try out this branch on binder, follow this link: Binder

jupyterlab-probot[bot] avatar Apr 26 '24 10:04 jupyterlab-probot[bot]

Adding to 4.3.0 since it's tagged as https://github.com/jupyterlab/jupyterlab/labels/enhancement

jtpio avatar May 01 '24 21:05 jtpio

Looks like its passing after restart :) Let's hold of with merging here until we release 4.2.0 (today!)

krassowski avatar May 06 '24 08:05 krassowski