Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
English (United States)
简体中文
Sign in
Anna Kozlova
Total activity
1422
Last activity
June 12, 2023 14:16
Member since
October 25, 2005 10:47
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
503
Activity overview
Articles (0)
Posts (0)
Comments (919)
Sort by recent activity
Recent activity
Votes
Created
October 19, 2018 16:05
So you add a field inside `maybeAddStatementToMethod`? Or you have now completely different methods?
Community
IntelliJ IDEA Open API and Plugin Development
How to add a PsiElement as a child of another PsiElement?
0 votes
Created
October 19, 2018 11:22
Still I don't understand how your parser tests fail. But `ParserDefinition`s are extensions and must be stateless thus there must be no side effects in tests because of them
Community
IntelliJ IDEA Open API and Plugin Development
How to reset language reference and usage tests.
0 votes
Created
October 18, 2018 17:19
Official comment
Please add a trace how tests fail otherwise it's absolutely not clear what can be wrong. Thanks, Anna
Community
IntelliJ IDEA Open API and Plugin Development
How to reset language reference and usage tests.
0 votes
Created
October 12, 2018 08:28
Hi Alexander, you need to provide custom searcher, you may see e.g. `org.jetbrains.plugins.javaFX.fxml.refs.JavaFxControllerFieldSearcher` for sample code. Anna
Community
IntelliJ IDEA Open API and Plugin Development
How to make reference be marked as usage, if it has different text from referenced element.
0 votes
Created
October 12, 2018 08:15
Hi Hentry, normally resolve result is cached and then multiple calls to resolve method should not lead to any performance problems. From your description, it's not quite clear if these calls are ca...
Community
IntelliJ IDEA Open API and Plugin Development
resolve() invoked multiple times
0 votes
Created
September 25, 2018 09:42
Sorry, I should point to the api method, it's `com.intellij.psi.PsiJavaParserFacade#createFieldFromText`, the same factory you use to create statements
Community
IntelliJ IDEA Open API and Plugin Development
How to add a PsiElement as a child of another PsiElement?
0 votes
Created
September 25, 2018 07:53
Official comment
I strongly advise against adding whitespaces manually. It may contradict user's code style settings. I'd say that you create `PsiField` with `createStatementFromText` method, you should rather use ...
Community
IntelliJ IDEA Open API and Plugin Development
How to add a PsiElement as a child of another PsiElement?
0 votes
Created
September 21, 2018 09:45
You can create class from text or create a class by name and then add generic class reference to the extends list (to get the extends list: `com.intellij.psi.PsiClass#getExtendsList`; to create PSI...
Community
IntelliJ IDEA Open API and Plugin Development
How can I create a PsiClass extends a PsiClass With Generic Type
0 votes
Created
September 17, 2018 08:21
Official comment
Generate doesn't allow `DefaultActionGroup` to be added as popup group but your custom `ActionGroup` should work well. Not sure that 3 layer popup is a good idea (the thirdt layer comes from templa...
Community
IntelliJ IDEA Open API and Plugin Development
Add group as sub-menu into GenerateGroup
0 votes
Created
September 11, 2018 14:48
You want to add next annotation inside added annotation. Thus, you need to keep added annotation and add new element inside, like ``` PsiAnnotation anno = psiClass.add(firstAnnoFromText); anno.addA...
Community
IntelliJ IDEA Open API and Plugin Development
Generete annotation and methods/code in method in already existing java file.
0 votes
«
First
‹
Previous
Next
›
Last
»