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

Unresolved Libraries - Special Case ( DataDriver ) #559

Closed
pedrolcd opened this issue Jan 28, 2022 · 1 comment
Closed

Unresolved Libraries - Special Case ( DataDriver ) #559

pedrolcd opened this issue Jan 28, 2022 · 1 comment
Labels
bug Something isn't working P0 robotframework-ls

Comments

@pedrolcd
Copy link

Describe the bug

Hello,

After installing DataDriver, which is a special library according to docs / developed by @Snooz82 , I am getting a problem
with the following output: Unresolved library: DataDriverrobotframework

The language server is correctly installed and my tests are running accordingly.

Many of my test cases will require the usage of DataDriver, and I want to avoid a bloodbath in VSCode file directory.
Any suggestion in order to ignore this type error?

Thanks in advance. Cheers

Screenshots
Screenshot 2022-01-28 at 14 17 22

@pedrolcd pedrolcd added bug Something isn't working robocorp-code labels Jan 28, 2022
@fabioz
Copy link
Collaborator

fabioz commented Jan 28, 2022

I just investigated.

The issue is that the language server is considering the library invalid because it has no keywords exported (which is definitely the wrong thing to do as the library is valid, it just doesn't have any keywords in this case -- specifically: https://github.com/robocorp/robotframework-lsp/blob/master/robotframework-ls/src/robotframework_ls/impl/libspec_manager.py#L748).

I'll try to fix this for the next release.

@fabioz fabioz added the P0 label Feb 2, 2022
@fabioz fabioz closed this as completed in 3c3ec14 Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P0 robotframework-ls
Projects
None yet
Development

No branches or pull requests

2 participants