-
Notifications
You must be signed in to change notification settings - Fork 148
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
Variable names consume the underline #371
Comments
This comment has been minimized.
This comment has been minimized.
Thanks for this @krassowski, didn't know we had a chrome issue. Will investigate! |
The binder on Chrome started working after a third trial - just a hiccup apparently. |
Hi @marimeireles, I had a quick look and I think that this might be on your side:
Edit: In earlier version of this comment, I incorrectly mentioned |
Ah yeah! It does look like something on my side. |
No worries, glad I could help! It looks that the err_range defionition, which currently is: err_range = {
'start': {'line': lineno - 1, 'character': colno},
'end': {'line': lineno - 1, 'character': len(fname)},
} should have been: err_range = {
'start': {'line': lineno - 1, 'character': colno},
'end': {'line': lineno - 1, 'character': colno + len(fname)}, # <- change here
} Hope it helps. Thanks for the mention of jupyterlab-lsp in the blog post btw! |
You're welcome @krassowski, you're doing an amazing job here :) |
awesome debugging, folks! one of the things that will hopefully come out of the language server kernel proxy #278 is that we would be able to offer that part of the stack headless with a client for testing these kinds of things... some other "language server construction kits" have some utilities like this, but it might be useful for us to have in-package... it may make sense to land that in |
Hey Jupyterlab-lsp folks!
Description
Using pyls-memestra I found a bug and I believe it's happening because of something wrong with juplab-lsb. Variable names are consuming the underline on the deprecated class/function.
Reproduce
You can see it happening here: https://mybinder.org/v2/gh/QuantStack/pyls-memestra/master?urlpath=/lab/tree/binder/default_decorator_example.ipynb
But here is a screenshot:
Any opinions on this? Have you seen this before?
Thanks a lot!
Related issue: QuantStack/pyls-memestra#25
The text was updated successfully, but these errors were encountered: