主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
H Raven1583
活动总数
13
最后的活动
2021年09月01日 15:01
成员加入日期
2021年07月21日 20:07
关注
0 名用户
关注者数
0 名用户
投票数
2
订阅数
2
活动概览
帖子(2)
评论(7)
按最近的活动排序
最近的活动
投票数
创建于
2021年07月26日 15:28
From debugging I've found out, that it does not match class_name token in the place where it's expected, because it has ErrorElement(Identifier) at the moment as class_name is not yet written. I ho...
社区
IntelliJ IDEA Open API and Plugin Development
Element Patter
0 票
创建于
2021年07月26日 13:02
But if anyone has better solution, please let me know.and this seems too loose as if GdInheritance would have more leaves it would check for every from second one.
社区
IntelliJ IDEA Open API and Plugin Development
Element Patter
0 票
创建于
2021年07月26日 12:17
Ok.. not sure if ideal, but found one working pattern: psiElement().afterLeaf(psiElement().withParent(GdInheritance.class)).accepts(position)
社区
IntelliJ IDEA Open API and Plugin Development
Element Patter
0 票
已编辑于
2021年07月24日 09:54
Ok maybe I don't get it in the end... as getGreenStub or getGreenStubTree seemingly randomly throws an exception of ProcessCancel or something. Is there anywhere tutorial with more detail about Stu...
社区
IntelliJ IDEA Open API and Plugin Development
StubIndex created, but not used
0 票
创建于
2021年07月23日 13:15
Seems I've finally found the last missing piece today: Before calling PsiTreeUtil.findChildOfType(file, ...) to get desired elements I've had to first call file.getStubTree() Now I'm finally gettin...
社区
IntelliJ IDEA Open API and Plugin Development
StubIndex created, but not used
0 票
创建于
2021年07月22日 17:41
I'm actually more confused by that doc. From "null if the element is currently AST-based" I understand that I won't get a stub on an element on which the method was called from IDE (like a node on ...
社区
IntelliJ IDEA Open API and Plugin Development
StubIndex created, but not used
0 票
已编辑于
2021年07月22日 15:58
Thank you, that wasn't called. I've had StubElement, but not StubBasedPsiElement so I've added extends StubBasedPsiElementBase to implementation and now StubBasedPsiElementBase#getStub() method is ...
社区
IntelliJ IDEA Open API and Plugin Development
StubIndex created, but not used
0 票