jupyterlab_sublime icon indicating copy to clipboard operation
jupyterlab_sublime copied to clipboard

Does not seem to be working

Open vianamp opened this issue 5 years ago • 8 comments

Hi. I have installed the extension on Mac OS but when I try the binding CMD+D for multiple selections, it ends up deleting the line, which is the default behavior. The installation seemed to be ok. Do you have any idea on how to debug?

See my current configuration below. Please let me know what else you need to help me with this and thanks a lot for the extension.

Matheus.

jupyter                            1.0.0
jupyter-client                     6.1.7
jupyter-console                    6.2.0
jupyter-core                       4.6.3
jupyter-server                     1.2.2
jupyterlab                         3.0.5
jupyterlab-git                     0.30.0b1
jupyterlab-pygments                0.1.2
jupyterlab-server                  2.1.2
jupyterlab-sublime                 0.4.1
lckr-jupyterlab-variableinspector  3.0.6

vianamp avatar Jan 25 '21 22:01 vianamp

Same for me, doesn't work in this environment:

jupyter core     : 4.7.1
jupyter-notebook : 6.2.0
qtconsole        : not installed
ipython          : 7.21.0
ipykernel        : 5.3.4
jupyter client   : 6.1.11
jupyter lab      : 3.1.0a3
nbconvert        : 6.0.7
ipywidgets       : 7.6.3
nbformat         : 5.1.2
traitlets        : 5.0.5

StefanBrand avatar Mar 19 '21 10:03 StefanBrand

@ryantam626 please update your extension to work with JL v3. We neeeeeeeed sublime capabilities in JL. Thank you for your contribution to community!

LukaPitamic avatar May 16 '21 11:05 LukaPitamic

wow, it works, exactly as it's explained to be installed for JupyterLab v3: pip install jupyterlab_sublime. I haven't read the manual :). @ryantam626 once again, thank you for your contribution.

LukaPitamic avatar May 27 '21 10:05 LukaPitamic

@ryantam626 I'm tying to install this your extension with my config file index.ts the way it is suggested in development section of README.md.

However in first step make conda-install-frozen I'm getting error: image

I used to build it locally and install it from there, but this was only working for JL<3.

So, do you have any other idea how to install it with tweaked config?

LukaPitamic avatar Aug 31 '21 07:08 LukaPitamic

@ryantam626 got it working, here are the steps if anyone finds it valuable in the future:

  1. clone original repo: git clone https://github.com/ryantam626/jupyterlab_sublime.git
  2. tweak keybindings in file: vim src/index.ts
  3. create wheel file: python setup.py bdist_wheel
  4. go to newly created dist directory: cd dist
  5. pip local install: pip install jupyterlab_sublime-0.4.1-py3-none-any.whl (your whl file might have different name)
  6. reload the browser

LukaPitamic avatar Aug 31 '21 17:08 LukaPitamic

^ that still works

alexlenail avatar May 30 '24 12:05 alexlenail

@alexlenail I'm still using it (but I use JLab v3, not v4) all shortcuts are set in: Advanced Settings Editor, like entry:

        {
            "args": {},
            "command": "sublime:duplicateLine",
            "keys": [
                "Accel D"
            ],
            "selector": ".jp-Notebook.jp-mod-editMode"
        },

If you need more help with it, don't hesitate to ask

LukaPitamic avatar May 30 '24 18:05 LukaPitamic