主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Anna Kozlova
活动总数
1422
最后的活动
2023年06月12日 14:16
成员加入日期
2005年10月25日 10:47
关注
0 名用户
关注者数
0 名用户
投票数
0
订阅数
503
活动概览
文章(0)
帖子(0)
评论(919)
按最近的活动排序
最近的活动
投票数
创建于
2017年06月07日 12:47
The tool is inside ultimate code base so you don't have access to it. If you need to do it for your team, why not share the configs instead? Anna
社区
IntelliJ IDEA Open API and Plugin Development
Modify Settings of Provided Inspection
0 票
创建于
2017年06月07日 08:57
If you would modify this settings in the plugin, how would you distinguish if user changed something and don't want a plugin to override his settings? I think that if you need to change defaults fo...
社区
IntelliJ IDEA Open API and Plugin Development
Modify Settings of Provided Inspection
0 票
创建于
2017年06月06日 10:51
PsiManager.isInProject(psiElement) is a correct way to detect if element belongs to a project. If you want to distinguish different libraries/jdks, please use com.intellij.openapi.roots.ProjectFil...
社区
IntelliJ IDEA Open API and Plugin Development
Local inspection PsiElement source query
0 票
创建于
2017年05月29日 04:41
what about references like ClassFQN.ourStaticField or classA.myFieldB.myFieldC. All in all the implementation looks similar to what we have normally, should be ok. Anna
社区
IntelliJ IDEA Open API and Plugin Development
PsiClass Visitor
0 票
创建于
2017年05月26日 15:57
Hi, Your assumption is correct and references to the variables are represented as PsiReferenceExpressions. BTW you can use Tools | View PSI Structure of Current File... action to check how the tex...
社区
IntelliJ IDEA Open API and Plugin Development
PsiClass Visitor
0 票
创建于
2017年05月24日 07:05
I'd rather disagree with the solution: this way you won't get find usages and refactoring functionality, which would be automatically provided when reference would correctly registered. Anna
社区
IntelliJ IDEA Open API and Plugin Development
PsiReference.resolve() correctly resolves to a PsiFile, but element is not clickable
0 票
创建于
2017年05月22日 13:04
I am not sure that resolving to the file and not to the class is a good idea actually. Probably changing that would ease the initial problem
社区
IntelliJ IDEA Open API and Plugin Development
PsiReference.resolve() correctly resolves to a PsiFile, but element is not clickable
0 票
创建于
2017年05月22日 12:39
Yes, it should return true to navigate.
社区
IntelliJ IDEA Open API and Plugin Development
PsiReference.resolve() correctly resolves to a PsiFile, but element is not clickable
0 票
创建于
2017年05月22日 12:26
Hi, is method 'isReferenceTo' called? Anna
社区
IntelliJ IDEA Open API and Plugin Development
PsiReference.resolve() correctly resolves to a PsiFile, but element is not clickable
0 票
创建于
2017年05月16日 14:14
The code you have looks much more complicated. I suggest to override com.intellij.psi.JavaElementVisitor#visitMethodCallExpression, don't forget to call super though. You can get method name and ca...
社区
IntelliJ IDEA Open API and Plugin Development
Parsing PsiField with chained methods
0 票
«
第一页
‹
上一页
下一页
›
最后
»