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

在JetBrains Rider 2023.2.1版本上,不能正常工作 #45

Open
wannbyond opened this issue Sep 13, 2023 · 3 comments
Open

在JetBrains Rider 2023.2.1版本上,不能正常工作 #45

wannbyond opened this issue Sep 13, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@wannbyond
Copy link

在JetBrains Rider 2023.2.1版本上,不能正常工作,能适配一下吗,非常感谢。

@LinWanCen
Copy link
Owner

去年 6 月在 B 站就有个四川的哥们希望支持 C#,没研究懂 Rider 注释的 API。

@LinWanCen LinWanCen added the enhancement New feature or request label Sep 13, 2023
@wannbyond
Copy link
Author

应该是在 gradle-intellij-plugin 1.8.0版本还存在,后续不知道什么原因删除了

@LinWanCen
Copy link
Owner

暂时没理解官方提供的例子,您如果能理解的话可以一起研究下。

官方社区答复:Rider 使用 ReSharper SDK(即不是IntelliJ SDK)来解析 C# 语法。
因此,期望编写 C# NET 来支持您的功能。
我认为检查样本项目可能有助于了解事情的运作方式。
由于我预计您也希望使用一些现有的基础设施,因此必须在 C# 和 Kotlin 代码之间发送数据。
为此,我建议查看协议示例项目(查看自述文件)。

https://intellij-support.jetbrains.com/hc/en-us/community/posts/16807048482450-How-to-get-CSharp-References-comment

https://github.com/JetBrains/resharper-rider-plugin/tree/master/samples/CodeInspections

https://github.com/JetBrains/resharper-rider-plugin/tree/master/samples/RdProtocol

官方 youtrack 问题请求答复:
https://youtrack.jetbrains.com/issue/RIDER-105547#focus=Comments-27-9315968.0-0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants