Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

Question about settings importer #161

Closed
huuhtaneno opened this issue Sep 16, 2016 · 2 comments
Closed

Question about settings importer #161

huuhtaneno opened this issue Sep 16, 2016 · 2 comments

Comments

@huuhtaneno
Copy link

Hello,

Is it supposed to be possible to find custom libraries with the settings importer? As in a library located in the same folder as the test case?

Best regards,

Oliver

@aaltat
Copy link
Collaborator

aaltat commented Sep 16, 2016

You mean

| *** Settings *** |
| Library | my_lib.MyLib | 

If I recall correctly Robot Framework will put the ${EXECDIR} or ${CURDIR} folder in the module search path automatically. But that feature is not supported by the plugin. You need to add manually add all the paths to the
https://github.com/andriyko/sublime-robot-framework-assistant/blob/master/README.md#robot_framework_module_search_path setting.

But this would be a useful feature to have. But if ${EXECDIR} is put in the module search path, then #152 should be fixed first. But if ${CURDIR} is put in module search path automatically, that should be relatively easy to fix.

Are you interested on making a pull request?

@huuhtaneno
Copy link
Author

Okay, thanks for the quick reply. I could look into doing a pull request, but not sure if I have the time.
I'll just use the module search path for now.

Thanks!

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

No branches or pull requests

2 participants