Comments (4)
i get the message "Cannot find declaration to go to" when i try to jump to declaration.
from robot-plugin.
Can you please provide a sample project where this does not work?
Anyway jump to declaration is currently supported just for keywords defined
in robot files.
Cheers
Valerio
On Wednesday, 27 January 2016, sgmace [email protected] wrote:
i get the message "Cannot find declaration to go to" when i try to jump to
declaration.—
Reply to this email directly or view it on GitHub
#22 (comment).
from robot-plugin.
I kind of nailed down the issue. In my robot files i have the following code.
*** Settings ***
Test Timeout 10 minutes
Resource ${top_level_dir}/resources/configs/MyResources.robot
*** Variables ***
${top_level_dir} %{DEV_ROOT}/tools/test/robot
*** 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?
from robot-plugin.
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:
Resource ../../resources/configs/MyResources.robot
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.
from robot-plugin.
Related Issues (20)
- How to correctly build this plugin from scratch HOT 1
- Add support for 2020.3 HOT 7
- Brackets auto-close is not working
- Keywords are showing with underline red error and cannot use cmd+mouse-click to go to the keyword declaration HOT 4
- Unable to find keywords HOT 1
- import file not found/ keyword definition not found HOT 1
- Support IDEA 2021.1 HOT 2
- Display documentation of user keywords.
- Dotted keywords are not accepted.
- Add handy Tags navigation
- Plugin not working with Intellij Idea Version 2021.2 HOT 1
- Robot Framework Plugin (v.0.25.1) is not compatible with the latest Pycharms update (v.212.4746.96) HOT 5
- No colors/theme for Keywords HOT 2
- IntelliJ IDEA and robot-plugin HOT 2
- Plugin not compatible with PyCharm 2022.1.2
- Pycharm_Output Deatils no longer visible
- Is this project still maintained? HOT 2
- Cannot find declaration to go HOT 6
- Goto symbols stops working completely when test suite is moved to sub directory
- How to install Intellibot Plugin in Pycharm through Terminal HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robot-plugin.