sublime-robot-framework-assistant icon indicating copy to clipboard operation
sublime-robot-framework-assistant copied to clipboard

Feature request: Discover variables inside a module/package besides resource file

Open frostming opened this issue 7 years ago • 3 comments

Robotframework does support import variables by a python module/package, however, there is no IDE or editor plugin which discovers variables imported by this method correctly.

It would be good to support this, because people usually use a large variable library instead of a file.

frostming avatar May 04 '18 09:05 frostming

There should be support for discovering variables from variable files. As long they are imported in the test data, command line import is not supported. But are you describing something else, because libraries don't resolve to variables.

aaltat avatar May 04 '18 13:05 aaltat

Does it search the PYTHONPATH to find the variable module? It seems not from my observation.

frostming avatar May 07 '18 03:05 frostming

Searching variable files from module search paths is not supported by the plugin. Only libraries are searched from the module search paths. Would you like to make a PR to improve the support.

aaltat avatar May 07 '18 05:05 aaltat