Home
IDEs Support (IntelliJ Platform) | JetBrains
Submit a request
Community
Sign in
Simon Stratmann
Follow
New posts
New posts and comments
Total activity
117
Last activity
June 15, 2022 09:21
Member since
September 06, 2018 06:41
Following
0 users
Followed by
0 users
Votes
9
Subscriptions
33
Activity overview
Posts (29)
Comments (46)
Sort by recent activity
Recent activity
Votes
Created
May 31, 2022 07:37
Hi Karol, That's great. Java 11 is enough for me for now. I may switch at some point when 2022.2 is established. Thanks for the quick response.
Community
IntelliJ IDEA Open API and Plugin Development
Recommendations for upgrading to Java 17 for 2022.2
0 votes
Created
May 10, 2022 17:15
Thanks for the quick response. That worked great! For future reference: I had to check the type of the ElementDescriptionLocation. If it's UsageViewTypeLocation it's the type shown (in the screensh...
Community
IntelliJ IDEA Open API and Plugin Development
Name / description of element not shown in usage dialog when using custom FindUsagesHandler
0 votes
Edited
May 10, 2022 16:18
Hi Yann Cebron, that doesn't work for me. I'd have to extend UsageInfo but I don't have any PsiElement that represents the usage. The "usage" is actually an external file. The whole system around U...
Community
IntelliJ IDEA Open API and Plugin Development
Name / description of element not shown in usage dialog when using custom FindUsagesHandler
0 votes
Created
May 02, 2022 17:00
ReferenceUsage doesn't extend UsageInfo. Extending it would clash with UsageInFile. I can give it a try though.
Community
IntelliJ IDEA Open API and Plugin Development
Name / description of element not shown in usage dialog when using custom FindUsagesHandler
0 votes
Created
May 02, 2022 15:53
https://gitlab.com/-/snippets/2310413
Community
IntelliJ IDEA Open API and Plugin Development
Name / description of element not shown in usage dialog when using custom FindUsagesHandler
0 votes
Created
May 02, 2022 15:22
if (referencedElement.getLanguage() != JavaLanguage.INSTANCE) { return; } final UsageDataProvider dataProvider = ReadAction.compute(referencedElement::getProject).getServic...
Community
IntelliJ IDEA Open API and Plugin Development
Name / description of element not shown in usage dialog when using custom FindUsagesHandler
0 votes
Created
April 06, 2022 14:08
If anybody else by any chance finds this threads and wonders (like me) how to show a preview: I let my Usage implement UsageProvider and return this: @Override public @Nullable Object getDat...
Community
IntelliJ IDEA Open API and Plugin Development
Grouping results of CustomUsageSearcher
0 votes
Created
April 05, 2022 15:34
Thank you, Yann Cebron!
Community
IntelliJ IDEA Open API and Plugin Development
Restarting inlay hints provider
0 votes
Created
April 04, 2022 14:11
Yaaaay I got it working! The problem was that `de.sist.tph.intellij.breakingapi.nativeusage.ReferenceUsage#getFile` always returned a new instance of VirtualFile. I replaced that with a constant an...
Community
IntelliJ IDEA Open API and Plugin Development
Grouping results of CustomUsageSearcher
0 votes
Edited
April 04, 2022 13:50
That didn't help. Neither method is actually called. I also already tried using constants for the groups which didn't help either. I think the problem is related to `com.intellij.usages.impl.GroupN...
Community
IntelliJ IDEA Open API and Plugin Development
Grouping results of CustomUsageSearcher
0 votes
1
2
3
4
5
›
»