Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not seem to be working #21

Open
vianamp opened this issue Jan 25, 2021 · 7 comments
Open

Does not seem to be working #21

vianamp opened this issue Jan 25, 2021 · 7 comments

Comments

@vianamp
Copy link

vianamp commented Jan 25, 2021

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
@StefanBrand
Copy link

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

@LukaPitamic
Copy link

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

@LukaPitamic
Copy link

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
Copy link

@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
Copy link

@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

@alexlenail
Copy link

^ that still works

@LukaPitamic
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants