Skip to content
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

idea里面打开,mirai 框架里面有kotlin,然后报错,如何解决? #14

Open
xuzhouqqq opened this issue Feb 14, 2023 · 7 comments
Labels
help wanted Extra attention is needed

Comments

@xuzhouqqq
Copy link

image

在IDEA里面,kotlin代码一直显示红色的,但是可以运行,但是代码提示也没有,请教一下如何解决呀

@Anjuice666
Copy link

image

在IDEA里面,kotlin代码一直显示红色的,但是可以运行,但是代码提示也没有,请教一下如何解决呀

和我的显示一样,一开始我以为不能运行,结果可以,我也想清楚知道问题是啥

@wb3368316006
Copy link

image

在IDEA里面,kotlin代码一直显示红色的,但是可以运行,但是代码提示也没有,请教一下如何解决呀

你试试在插件商店里装一个插件。如下图:
image

@xuzhouqqq
Copy link
Author

image
在IDEA里面,kotlin代码一直显示红色的,但是可以运行,但是代码提示也没有,请教一下如何解决呀

你试试在插件商店里装一个插件。如下图: image
image
这个插件我已经安装过了,并且重启了idea,但是还是红色,很奇怪

@wb3368316006
Copy link

那就是idea自带的代码检测警告了,应该可以关掉的,具体方法你百度一下。

@pinerivulet
Copy link

pinerivulet commented Mar 25, 2023

博主,我也遇到了同样的问题。
image
依赖引入了,但是找不到包,Unused import statement

@ashinnotfound ashinnotfound added the help wanted Extra attention is needed label May 20, 2023
@KuhnXIE
Copy link

KuhnXIE commented Jun 7, 2023

这个报错也是可以运行,现在遇到一个新的问题,就是群聊的不能回复
image

@KuhnXIE
Copy link

KuhnXIE commented Jun 7, 2023

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants