docs(CsLineEnd): About Rider C# getReference().resolve()

This commit is contained in:
林万程
2024-02-20 21:35:19 +08:00
parent 82081ae8ec
commit 11eae9fa4d
5 changed files with 26 additions and 13 deletions

View File

@@ -11,7 +11,14 @@ import java.util.List;
/**
* Doesn't work because I don't know how to get Reference for CSharp PsiElement
* <br>https://intellij-support.jetbrains.com/hc/en-us/requests/4228491
* <br>https://intellij-support.jetbrains.com/hc/en-us/community/posts/16807048482450-How-to-get-CSharp-References-comment
* <br>Rider uses the ReSharper SDK (i.e., not the IntelliJ SDK) to parse C# syntax.
* <br>Therefore, expect to write C#/.NET to support your feature.
* <br>I think the inspections sample project could be helpful to get started with how things are working.
* <br>Since I expect you also want to use some of your existing infrastructure, you must send data between C# and Kotlin code.
* <br>For that, I recommend looking into the protocol sample project (check the README).
* <br>https://github.com/JetBrains/resharper-rider-plugin/tree/master/samples/CodeInspections
* <br>https://github.com/JetBrains/resharper-rider-plugin/tree/master/samples/RdProtocol
*/
public class CsLineEnd extends BaseLangDoc {