Home
IDEs Support (IntelliJ Platform) | JetBrains
Submit a request
Community
Sign in
Zhangwel261717
Follow
New posts
New posts and comments
Total activity
28
Last activity
November 12, 2021 09:28
Member since
September 07, 2021 03:58
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
9
Activity overview
Posts (8)
Comments (11)
Sort by votes
Recent activity
Votes
Created
September 30, 2021 02:23
Yann Cebron Appreciate for your helpful answers! I will try to use ProgressManager to solve my problem.
Community
IntelliJ IDEA Open API and Plugin Development
[Intellij IDEA Plugin Development]How to force return in AnAction?
0 votes
Created
September 29, 2021 10:52
Try this: private fun KtFunction.processOnCreateDialog(psiFactory: KtPsiFactory, bindingVariableName: String, bindingClassName: String) { ... if (viewInflateProperty != null) { ... bodyExpr...
Community
IntelliJ IDEA Open API and Plugin Development
What is the correct way to modify a KtFunction body?
0 votes
Created
September 29, 2021 02:28
Yann Cebron Appreciate for your reply! Maybe I didn’t describe the problem clearly. My Plugin has to check the code in current PsiFile. Because the code checking is complex, the method calling will...
Community
IntelliJ IDEA Open API and Plugin Development
[Intellij IDEA Plugin Development]How to force return in AnAction?
0 votes
Created
September 29, 2021 02:15
Yann Cebron Thank you for your helpful answer! Maybe I have a wrong understanding on UserData. I will try to store something useful by file-level comment,
Community
IntelliJ IDEA Open API and Plugin Development
[Intellij IDEA Plugin Development] What's correct way to mark a PsiElement?
0 votes
Created
September 22, 2021 07:50
Mikhail Zarechenskiy Thanks for your helpful tip! By writing these I can shorten my code. Have a nice day :)
Community
IntelliJ IDEA Open API and Plugin Development
How can I get the full name of KtNameReferenceExpression represent reference?
0 votes
Created
September 19, 2021 16:15
Finally I find that val ktProperty = ktPsiFactory.createProperty("private val intValue: Int = 0")ktClassBody?.addBefore(ktProperty, ktClassBody.rBrace) can solve my problem ...
Community
IntelliJ IDEA Open API and Plugin Development
[Project Structure Interface] Unexpected behavior for KtClassBody.add() method
0 votes
Created
September 17, 2021 10:22
Finally, I find that in org.jetbrains.kotlin.types.typeUtil.TypeUtils.kt, there is a extensions function named KotlinType.supertypes() which meet my needs.
Community
IntelliJ IDEA Open API and Plugin Development
[Intellij IDEA Plugin Development]How can I detect a KtReference represented class is sub type of specified class?
0 votes
Created
September 16, 2021 15:00
Thank you Yann Cebron. Your answer is helpful for me. I use com.intellij.psi.JavaPsiFacade#findClass and it work for me.
Community
IntelliJ IDEA Open API and Plugin Development
How Can I find KtClass at project scope by providing class's qualified name?
0 votes
Created
September 15, 2021 14:37
Sorry for slow response and Thank you Yann. Your solution is work for me. Before your answer, I do thousand of invesigation and find that I can get a KtExpression(KtNameReferenceExpression is also ...
Community
IntelliJ IDEA Open API and Plugin Development
How can I get the full name of KtNameReferenceExpression represent reference?
0 votes
Created
September 08, 2021 02:18
Yann Cebron Thank for your helpful answers! I have installed IDEA Plugin: PsiViewer to find out about current selected file. But I have no idea to view the structure of PsiFile(in java) and KtFile(...
Community
IntelliJ IDEA Open API and Plugin Development
How Can I find KtClass at project scope by providing class's qualified name?
0 votes
1
2
›
»