主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
简体中文
English (United States)
登录
Zhangwel261717
活动总数
28
最后的活动
2021年11月12日 09:28
成员加入日期
2021年09月07日 03:58
关注
0 名用户
关注者数
0 名用户
投票数
0
订阅数
9
活动概览
帖子(8)
评论(11)
按最近的活动排序
最近的活动
投票数
创建于
2021年09月29日 10:52
Try this: private fun KtFunction.processOnCreateDialog(psiFactory: KtPsiFactory, bindingVariableName: String, bindingClassName: String) { ... if (viewInflateProperty != null) { ... bodyExpr...
社区
IntelliJ IDEA Open API and Plugin Development
What is the correct way to modify a KtFunction body?
0 票
创建于
2021年09月29日 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...
社区
IntelliJ IDEA Open API and Plugin Development
[Intellij IDEA Plugin Development]How to force return in AnAction?
0 票
创建于
2021年09月29日 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,
社区
IntelliJ IDEA Open API and Plugin Development
[Intellij IDEA Plugin Development] What's correct way to mark a PsiElement?
0 票
创建于
2021年09月22日 07:50
@... Thanks for your helpful tip! By writing these I can shorten my code. Have a nice day :)
社区
IntelliJ IDEA Open API and Plugin Development
How can I get the full name of KtNameReferenceExpression represent reference?
0 票
创建于
2021年09月19日 16:15
Finally I find that val ktProperty = ktPsiFactory.createProperty("private val intValue: Int = 0")ktClassBody?.addBefore(ktProperty, ktClassBody.rBrace) can solve my problem ...
社区
IntelliJ IDEA Open API and Plugin Development
[Project Structure Interface] Unexpected behavior for KtClassBody.add() method
0 票
创建于
2021年09月17日 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.
社区
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 票
创建于
2021年09月16日 15:00
Thank you Yann Cebron. Your answer is helpful for me. I use com.intellij.psi.JavaPsiFacade#findClass and it work for me.
社区
IntelliJ IDEA Open API and Plugin Development
How Can I find KtClass at project scope by providing class's qualified name?
0 票
创建于
2021年09月15日 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 ...
社区
IntelliJ IDEA Open API and Plugin Development
How can I get the full name of KtNameReferenceExpression represent reference?
0 票
创建于
2021年09月08日 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(...
社区
IntelliJ IDEA Open API and Plugin Development
How Can I find KtClass at project scope by providing class's qualified name?
0 票
创建于
2021年09月07日 11:04
Sorry for not describe the problem clearly: For this data class: data class Test( val stringValue: String = "", val someClass: SomeClass = SomeClass(), val collectionValue: List<Long> =...
社区
IntelliJ IDEA Open API and Plugin Development
How Can I find KtClass at project scope by providing class's qualified name?
0 票
«
第一页
‹
上一页