简体   繁体   English

IntelliJ Erlang“找不到对 go 的声明”

[英]IntelliJ Erlang "Cannot find declaration to go to"

Setup:设置:

IntelliJ IDEA 2022.2.2
Erlang plugin 0.11.1144
SDK: Erlang OTP 25, erts-13.0
Project Imported: https://github.com/FlowForwarding/enetconf

When I mouse over some variables, I get the message "Cannot find declaration to go to".当我将鼠标悬停在某些变量上时,我收到消息“无法找到对 go 的声明”。 As a result, I am unable to do a code walk-through.结果,我无法进行代码演练。 Please help me in resolving the issue.请帮我解决这个问题。

在此处输入图像描述

在此处输入图像描述

The issue got resolved after configuring Content roots as explained in https://www.jetbrains.com/help/idea/content-roots.html .按照https://www.jetbrains.com/help/idea/content-roots.html中的说明配置内容根后问题得到解决。 The ContentRoot looked as follows. ContentRoot 如下所示。

内容根

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM