-
Notifications
You must be signed in to change notification settings - Fork 38
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
Function definitions stop working after sometime #22
Comments
i get the message "Cannot find declaration to go to" when i try to jump to declaration. |
Can you please provide a sample project where this does not work? Anyway jump to declaration is currently supported just for keywords defined Cheers On Wednesday, 27 January 2016, sgmace notifications@github.com wrote:
|
I kind of nailed down the issue. In my robot files i have the following code. *** Settings *** Resource ${top_level_dir}/resources/configs/MyResources.robot *** Variables *** *** Keywords *** If i remove the path portion from the code (${top_level_dir}/resources/configs) i am able to fetch the keywords in MyResources.robot. I will need to access keywords in resources from testcase directory. How can i make it work without removing the path? |
Your use case is far from being easily implemented in the plugin. The plugin would need to know the value of the DEV_ROOT env variable and resolve the value of the top_level_dir variable. This information is available only at runtime. I would suggest you to use relative paths to reference the resources if possible, like: If that is not possible I would suggest you to put resources in the module search path and then add each path as source path in pycharm. |
I am on pycharm community edition. I loaded a robot project. Initially I was able to jump to function declarations and back. It stopped working after sometime
The text was updated successfully, but these errors were encountered: