主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
简体中文
English (United States)
登录
Anna Kozlova
活动总数
1422
最后的活动
2023年06月12日 14:16
成员加入日期
2005年10月25日 10:47
关注
0 名用户
关注者数
0 名用户
投票数
0
订阅数
503
活动概览
文章(0)
帖子(0)
评论(919)
按最近的活动排序
最近的活动
投票数
创建于
2018年10月19日 16:05
So you add a field inside `maybeAddStatementToMethod`? Or you have now completely different methods?
社区
IntelliJ IDEA Open API and Plugin Development
How to add a PsiElement as a child of another PsiElement?
0 票
创建于
2018年10月19日 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
社区
IntelliJ IDEA Open API and Plugin Development
How to reset language reference and usage tests.
0 票
创建于
2018年10月18日 17:19
正式评论
Please add a trace how tests fail otherwise it's absolutely not clear what can be wrong. Thanks, Anna
社区
IntelliJ IDEA Open API and Plugin Development
How to reset language reference and usage tests.
0 票
创建于
2018年10月12日 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
社区
IntelliJ IDEA Open API and Plugin Development
How to make reference be marked as usage, if it has different text from referenced element.
0 票
创建于
2018年10月12日 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...
社区
IntelliJ IDEA Open API and Plugin Development
resolve() invoked multiple times
0 票
创建于
2018年09月25日 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
社区
IntelliJ IDEA Open API and Plugin Development
How to add a PsiElement as a child of another PsiElement?
0 票
创建于
2018年09月25日 07:53
正式评论
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 ...
社区
IntelliJ IDEA Open API and Plugin Development
How to add a PsiElement as a child of another PsiElement?
0 票
创建于
2018年09月21日 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...
社区
IntelliJ IDEA Open API and Plugin Development
How can I create a PsiClass extends a PsiClass With Generic Type
0 票
创建于
2018年09月17日 08:21
正式评论
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...
社区
IntelliJ IDEA Open API and Plugin Development
Add group as sub-menu into GenerateGroup
0 票
创建于
2018年09月11日 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...
社区
IntelliJ IDEA Open API and Plugin Development
Generete annotation and methods/code in method in already existing java file.
0 票
«
第一页
‹
上一页
下一页
›
最后
»