Coder Social home page Coder Social logo

Comments (3)

LinWanCen avatar LinWanCen commented on May 24, 2024

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

from show-comment.

wannbyond avatar wannbyond commented on May 24, 2024

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

from show-comment.

LinWanCen avatar LinWanCen commented on May 24, 2024

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

官方社区答复: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

from show-comment.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.