I've faced with the next problem:
我遇到了下一个问题:
after installing jbehave support
plugin I can't jump to step declaration in Java.
安装了jbehave支持插件后,我不能跳转到步骤声明在Java。
I've already tried:
我已经尝试:
- to uninstall and again install this plugin;
- 卸载并再次安装此插件;
- to use
jbehave plugin
, but this functionality also didn't work; - 使用jbehave插件,但这个功能也不起作用;
- to create new project and import already existed project in it;
- 创建新项目,导入已有项目;
- to import all project modules again;
- 重新导入所有项目模块;
- to restart IntelliJ IDEA few times;
- 重新启动IntelliJ IDEA几次;
- to Invalidate Caches/restart(IntelliJ IDEA functionality);
- 使缓存/重启失效(IntelliJ IDEA功能);
- to reboot my PC.
- 重新启动我的电脑。
My OS: Windows 7 Professional 64-bit.
我的操作系统:Windows 7专业64位。
IntelliJ IDEA Community Edition 14.1
IntelliJ创意社区版14.1
If you need any additional info, please mention which one.
如果你需要任何额外的信息,请提及哪一个。
4 个解决方案
#1
2
- you should be sure, that those steps have declaration to go to, because it's possible to have steps without it.
- 您应该确定,这些步骤都有要去的声明,因为没有它也可以有步骤。
- you successfully build your project(all modules were downloaded and build successfully).
- 您成功地构建了您的项目(所有模块都已下载并成功构建)。
- your project configured correctly and you added all module dependencies.
- 您的项目配置正确,并添加了所有模块依赖项。
In my case it was 2nd option from the list. After that I can jump to step declaration.
在我的例子中,它是列表中的第二个选项。然后我可以跳转到步骤声明。
#2
1
What did it for me was:
它为我做了什么:
-
following this guide for importing the Ant build: https://www.youtube.com/watch?v=0hDxv7jjlPc
以下是导入Ant构建的指南:https://www.youtube.com/watch?v= 0hdxv7jlpc
-
specifying
src
folder as "Sources":指定src文件夹为“源”:
#3
1
"cannot find declaration to go to" in Intellij with grails
在Intellij中,“无法找到要去的声明”
if you find mentioned issue, Just go to the file --> setting --> language Framework -->grails--> .sdkman --> ................... grails 3.1.0 like --> ok
如果你发现了上述的问题,请直接去文件-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -grails 3。1,像>
#4
0
This is to do with your "Project Settings", assuming you are using Mac, try the following:
这与你的“项目设置”有关,假设你正在使用Mac,请尝试以下操作:
- "cmd + ;" or "File" => "Project Structure" to open "Project Settings"
- "cmd + "或"File" => "Project Structure"打开"Project Settings"
- Check "Project Settings" => "Project" => "Project SDK"
- 检查“项目设置”=>“项目”=>“项目SDK”
- Check "Project Settings" => "Modules" => "Dependencies" => "Module SDK"
- 检查“项目设置”=>“模块”=>“依赖”=>“模块SDK”
- Check "Platform Settings" => "SDKs"
- 检查“平台设置”=>“SDKs”
All the SDKs settings can be found in "/usr/local/Cellar/..." if you use brew on a Mac.
如果你在Mac上使用brew的话,所有SDKs设置都可以在“/usr/local/Cellar/…”中找到。
Then rebuild the project, let IntelliJ does the indexing and restart IntelliJ couple times to make sure the changes have taken effect.
然后重新构建项目,让IntelliJ进行索引并重新启动IntelliJ,以确保更改已经生效。
#1
2
- you should be sure, that those steps have declaration to go to, because it's possible to have steps without it.
- 您应该确定,这些步骤都有要去的声明,因为没有它也可以有步骤。
- you successfully build your project(all modules were downloaded and build successfully).
- 您成功地构建了您的项目(所有模块都已下载并成功构建)。
- your project configured correctly and you added all module dependencies.
- 您的项目配置正确,并添加了所有模块依赖项。
In my case it was 2nd option from the list. After that I can jump to step declaration.
在我的例子中,它是列表中的第二个选项。然后我可以跳转到步骤声明。
#2
1
What did it for me was:
它为我做了什么:
-
following this guide for importing the Ant build: https://www.youtube.com/watch?v=0hDxv7jjlPc
以下是导入Ant构建的指南:https://www.youtube.com/watch?v= 0hdxv7jlpc
-
specifying
src
folder as "Sources":指定src文件夹为“源”:
#3
1
"cannot find declaration to go to" in Intellij with grails
在Intellij中,“无法找到要去的声明”
if you find mentioned issue, Just go to the file --> setting --> language Framework -->grails--> .sdkman --> ................... grails 3.1.0 like --> ok
如果你发现了上述的问题,请直接去文件-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -grails 3。1,像>
#4
0
This is to do with your "Project Settings", assuming you are using Mac, try the following:
这与你的“项目设置”有关,假设你正在使用Mac,请尝试以下操作:
- "cmd + ;" or "File" => "Project Structure" to open "Project Settings"
- "cmd + "或"File" => "Project Structure"打开"Project Settings"
- Check "Project Settings" => "Project" => "Project SDK"
- 检查“项目设置”=>“项目”=>“项目SDK”
- Check "Project Settings" => "Modules" => "Dependencies" => "Module SDK"
- 检查“项目设置”=>“模块”=>“依赖”=>“模块SDK”
- Check "Platform Settings" => "SDKs"
- 检查“平台设置”=>“SDKs”
All the SDKs settings can be found in "/usr/local/Cellar/..." if you use brew on a Mac.
如果你在Mac上使用brew的话,所有SDKs设置都可以在“/usr/local/Cellar/…”中找到。
Then rebuild the project, let IntelliJ does the indexing and restart IntelliJ couple times to make sure the changes have taken effect.
然后重新构建项目,让IntelliJ进行索引并重新启动IntelliJ,以确保更改已经生效。