Xiarui Xr
- Total activity 28
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 6
- Subscriptions 11
-
-
Xiarui Xr created a post, AnsweredHow to implement auto format code on type?
I like it when I wrote java code Intellij IDEA provide some auto reformat, for example after I type colon in a swich-case statement, idea will reformat the line with correct indent: I want to impl... -
-
Xiarui Xr created a post, AnsweredHow to manually download ideaIC sdk in gradle build task?
Unfortunately, since I have a very slow network, when I build an intellij-plugin for the first time, it takes me hours to download the ideaIC sdk (e.g. in following picture, the ideaIC-212.3116-EAP... -
Xiarui Xr created a post, AnsweredHow to set the presentation of a reference?
I implemented "go to declaration" by extends PsiReferenceBase and implements PsiPolyVariantReference, according to this: https://plugins.jetbrains.com/docs/intellij/references-and-resolve.html When... -
-
Xiarui Xr created a post, Answeredauto dedent the closing bracket after press ENTER key
I'm working with my custom language plugin, and it's an **indent-based** language. I want to save time when typing indent/dedent, so I've implemented my `BraceMatcher` and `LineIndentProvider`. It'... -
-
Xiarui Xr created a post, AnsweredHow to walk PsiDirectory recursively using provided api
In my custom language(named KCL), if a PsiDirectory contains KCL files recursively, then it can be a KCL package. So I check if a PsiDirectory is a KCL package by doing this: public static boolean ... -