Home
IDEs Support (IntelliJ Platform) | JetBrains
Submit a request
Community
Sign in
Karol Lewandowski
Follow
New articles and posts
New articles, posts, and comments
Total activity
1168
Last activity
March 31, 2023 10:57
Member since
January 03, 2022 14:12
Following
0 users
Followed by
0 users
Votes
12
Subscriptions
428
Activity overview
Articles (0)
Posts (0)
Comments (728)
Sort by recent activity
Recent activity
Votes
Created
March 31, 2023 10:57
Please provide more context. What feature are you trying to implement? What VirtualFiles are null?
Community
IntelliJ IDEA Open API and Plugin Development
How can I refresh the whole project in Plugin Development?
0 votes
Created
March 31, 2023 10:50
Hi, In the first screenshot, you showed completions with XML icons, and I cannot reproduce this case, so I assume I cannot reproduce the issue you struggle with. My behavior is exactly the opposit...
Community
IntelliJ IDEA Open API and Plugin Development
Why is it that a Java String ending with "." cannot enter the getVariants method in Reference?
0 votes
Created
March 31, 2023 10:11
Hi, Depending on your context, you can use e.getData(ExternalSystemDataKeys.EXTERNAL_SYSTEM_ID) if the context is and action event providing this information.
Community
IntelliJ IDEA Open API and Plugin Development
How can I refresh the whole project in Plugin Development?
0 votes
Edited
March 31, 2023 09:40
Hi, What do you mean that the PSI tree "does not do much"? As I can see for Kotlin Gradle build script, the PSI tree is rich, contains references, etc. I expect the same for the Groovy variant. Wha...
Community
IntelliJ IDEA Open API and Plugin Development
Gradle Psi file
0 votes
Edited
March 31, 2023 09:05
Hi Yuna, The reason is that when the YAML plugin is enabled, the CompletionResultSet gets the CamelHumpMatcher. In the completion inside of string value, the completion prefix is, e.g., "${{ env."...
Community
IntelliJ IDEA Open API and Plugin Development
YAML Plugin overwrites my AutoCompletion Plugin
0 votes
Edited
March 30, 2023 07:59
Hi, Did you try to go through the documentation, tutorial, and code sample I mentioned? I really see no point in repeating what's there. Please invest some time in checking the resources. If you ha...
Community
IntelliJ IDEA Open API and Plugin Development
Custom Language: References in same file
0 votes
Created
March 29, 2023 13:04
How to reproduce the error? I run the sample project, and it doesn't complete anything except Java packages. Please describe step by step what to do and what is expected/actual result. Which elemen...
Community
IntelliJ IDEA Open API and Plugin Development
Why is it that a Java String ending with "." cannot enter the getVariants method in Reference?
0 votes
Edited
March 29, 2023 12:17
Why wouldn't it matter what getReference() returns? It returns a PsiReference instance that resolves the declaration. If it's a PsiElement being a PsiReference at the same time, or separate PsiRefe...
Community
IntelliJ IDEA Open API and Plugin Development
Custom Language: References in same file
1 vote
Edited
March 29, 2023 11:32
I am not quite sure what you mean by that, because I calculate the element only when 'getReference' is called. This is the problem. It is a performance issue as PsiElement.getReference() may be c...
Community
IntelliJ IDEA Open API and Plugin Development
Custom Language: References in same file
1 vote
Created
March 29, 2023 11:22
You are right, sorry. By checking positions, I meant getting the current AST node, but as you wrote blocks cover non-whitespace code, so getting an AST node for any block will be not precise enough...
Community
IntelliJ IDEA Open API and Plugin Development
getChildAttributes caret position
0 votes
1
2
3
4
5
6
›
»