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
June 07, 2017 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
Community
IntelliJ IDEA Open API and Plugin Development
Modify Settings of Provided Inspection
0 votes
Created
June 07, 2017 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...
Community
IntelliJ IDEA Open API and Plugin Development
Modify Settings of Provided Inspection
0 votes
Created
June 06, 2017 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...
Community
IntelliJ IDEA Open API and Plugin Development
Local inspection PsiElement source query
0 votes
Created
May 29, 2017 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
Community
IntelliJ IDEA Open API and Plugin Development
PsiClass Visitor
0 votes
Created
May 26, 2017 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...
Community
IntelliJ IDEA Open API and Plugin Development
PsiClass Visitor
0 votes
Created
May 24, 2017 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
Community
IntelliJ IDEA Open API and Plugin Development
PsiReference.resolve() correctly resolves to a PsiFile, but element is not clickable
0 votes
Created
May 22, 2017 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
Community
IntelliJ IDEA Open API and Plugin Development
PsiReference.resolve() correctly resolves to a PsiFile, but element is not clickable
0 votes
Created
May 22, 2017 12:39
Yes, it should return true to navigate.
Community
IntelliJ IDEA Open API and Plugin Development
PsiReference.resolve() correctly resolves to a PsiFile, but element is not clickable
0 votes
Created
May 22, 2017 12:26
Hi, is method 'isReferenceTo' called? Anna
Community
IntelliJ IDEA Open API and Plugin Development
PsiReference.resolve() correctly resolves to a PsiFile, but element is not clickable
0 votes
Created
May 16, 2017 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...
Community
IntelliJ IDEA Open API and Plugin Development
Parsing PsiField with chained methods
0 votes
«
First
‹
Previous
Next
›
Last
»