Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
H Raven1583
Total activity
13
Last activity
September 01, 2021 15:01
Member since
July 21, 2021 20:07
Following
0 users
Followed by
0 users
Votes
2
Subscriptions
2
Activity overview
Posts (2)
Comments (7)
Sort by recent activity
Recent activity
Votes
Created
July 26, 2021 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...
Community
IntelliJ IDEA Open API and Plugin Development
Element Patter
0 votes
Created
July 26, 2021 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.
Community
IntelliJ IDEA Open API and Plugin Development
Element Patter
0 votes
Created
July 26, 2021 12:17
Ok.. not sure if ideal, but found one working pattern: psiElement().afterLeaf(psiElement().withParent(GdInheritance.class)).accepts(position)
Community
IntelliJ IDEA Open API and Plugin Development
Element Patter
0 votes
Edited
July 24, 2021 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...
Community
IntelliJ IDEA Open API and Plugin Development
StubIndex created, but not used
0 votes
Created
July 23, 2021 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...
Community
IntelliJ IDEA Open API and Plugin Development
StubIndex created, but not used
0 votes
Created
July 22, 2021 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 ...
Community
IntelliJ IDEA Open API and Plugin Development
StubIndex created, but not used
0 votes
Edited
July 22, 2021 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 ...
Community
IntelliJ IDEA Open API and Plugin Development
StubIndex created, but not used
0 votes