-
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
Robotframework-lsp do not find keywords imported relatively #573
Comments
Does the discovery stuff work in the Editor? I haven't been able to get #493 to even run The |
Are you talking about the Jupyterlab text editor? I can have a try. Is there a difference in behavior between the text editor and the notebook?
I can definitely have a look. But I might need a bit more context. What does it mean to add robotframework-lsp? I suppose you are only adding it for testing? |
As an unrelated note, I see you have some comments related to Python 3.6 support... RFLS doesn't officially support it, but in practice it's still tested on the CI (https://github.com/robocorp/robotframework-lsp/blob/master/.github/workflows/tests-robotframework-lsp.yml#L32), so, it should actually still work there (so, if you fell that having that support is very important for your use case, I can consider making it official). Also, in the integration, are you missing things from the language server itself (where I can probably help more) or is it just on the Editor (client) side? |
Thanks, @fabioz, thanks for chiming in, we're not trying to make extra work for you!
as the conda-forge maintainer, I try to respect what the upstream packages declare. I'm not looking for more things to support, certainly not platforms that will sunset in the next couple months! Anyhow, as the bulk of our n-language test setup is set up with conda, there's no problem not supporting/testing 3.6 from our side.
I think on the server side, it's related to the requirement of many language servers (maybe Again, I've not looked too hard at recent |
Yeah: the
Sorry, didn't mean to make you hunt for it: #332 has the broader story. We use and love robotframework on this project, and are always trying to get closer to dogfooding as much as we can. The idea would be:
|
I think the main issue is that you're seeing the use-case where the Although even in the case where it's in a notebook, a concrete file in the It's then the job of the language server to actually know how to work with partial contents in-memory or in-disk. |
Now seeing https://github.com/krassowski/jupyterlab-lsp/issues/537, it seems that's the same request as this... |
cc. @fabioz @avaissi @orlof
I have xeus-robot and robotframework-lsp installed in my environement. I have a
keywords.robot
file containing:And a Notebook running xeus-robot next to it:
The problem is that it doesn't find the keywords defined in
keywords.robot
that is imported relatively.Although we saw that there was a
.virtual_documents
directory created, that seem to contain files that were opened from JupyterLab and that are used by jupyterlab-lsp. It seems that oncekeywords.robot
is added to this.virtual_documents
directory it works and the keywords are found properly.I cannot seem to be able to reproduce the issue in Python (having a local python module next to a Notebook), is there something special that python-language-server does?
The text was updated successfully, but these errors were encountered: