Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Serhii Kachan
Total activity
47
Last activity
March 13, 2023 12:54
Member since
October 17, 2022 14:28
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
10
Activity overview
Posts (10)
Comments (27)
Sort by recent activity
Recent activity
Votes
Created
March 13, 2023 12:54
Hi Karol!I was not able to debug `processElement()` so its never triggered.However I achieved my goal in `processText()`.Thank you for useful links, they were essential for me.
Community
IntelliJ IDEA Open API and Plugin Development
Custom string literal formatter
0 votes
Created
March 08, 2023 07:52
Hi Karol, no worries.When you talk about "debugging the formatting action". What in practice should I do? Can you suggest exact classes and methods to set breakpoints?About literal modification: Sh...
Community
IntelliJ IDEA Open API and Plugin Development
Custom string literal formatter
0 votes
Created
March 06, 2023 19:47
Karol Lewandowski thank you for the response!I see that there are two methods to implement.processElement() for some reason never gets triggered - what can be a problem?processText() does get trigg...
Community
IntelliJ IDEA Open API and Plugin Development
Custom string literal formatter
0 votes
Edited
November 10, 2022 14:32
Yann Cebron Hi!I use PsiAugmentProvider in my plugin to generate some light elements in a class.The provider works with built-in logic that it can return a List of generated elements of a particula...
Community
IntelliJ IDEA Open API and Plugin Development
ServiceLoader alternative for plugin SDK
0 votes
Created
October 26, 2022 21:03
Got this working for methods, exactly what I was looking for: MethodReferencesSearch.search(method, method.getResolveScope(), true).iterator().hasNext() Thank you Karol Lewandowski
Community
IntelliJ IDEA Open API and Plugin Development
How to check whether element ever referenced by custom reference
0 votes
Edited
October 26, 2022 16:06
Yes, it is called when usages are searched.Should I use this - is this the widest scope available? GlobalSearchScope.allScope(element.getProject()) EDIT:Also tried with this - neither worked for me ;(
Community
IntelliJ IDEA Open API and Plugin Development
How to check whether element ever referenced by custom reference
0 votes
Edited
October 26, 2022 14:18
Just to skip all misunderstandings here is the example:I have a literal in code (lets imagine it works only for literals with value "I am literal"): When I Hold CTRL it resolves as it has a referen...
Community
IntelliJ IDEA Open API and Plugin Development
How to check whether element ever referenced by custom reference
0 votes
Created
October 26, 2022 12:45
Yes, I tried that as well, however with .findAll();But it always returns me empty collection
Community
IntelliJ IDEA Open API and Plugin Development
How to check whether element ever referenced by custom reference
0 votes
Edited
October 26, 2022 11:56
Karol LewandowskiTried to implement this, but I don't get how to complete my validation... In my case it should return true if any reference leads to my element (please see comment in the code): pu...
Community
IntelliJ IDEA Open API and Plugin Development
How to check whether element ever referenced by custom reference
0 votes
Created
October 25, 2022 19:38
Karol LewandowskiIt worked like a charm, thank you so much for help provided. Topic can be closed ;)
Community
IntelliJ IDEA Open API and Plugin Development
Get usages in return from referenced element
0 votes
Next
›
Last
»